The reset nat statistics command deletes NAT statistics on a device.
This command is supported only on the NetEngine 8000 F1A.
reset nat statistics table history slot slot-id
reset nat statistics { discard | global | received | all [ history ] | alg | transmitted } slot slot-id
reset nat statistics { discard | global } nat-instance instance-name [ slot slot-id ]
reset nat statistics payload slot slot-id
reset nat statistics received payload [ slot slot-id ]
Parameter | Description | Value |
---|---|---|
discard |
Deletes the number of dropped NAT packets. |
- |
global |
Deletes global NAT statistics. |
- |
received |
Deletes the number of received NAT packets. |
- |
all |
Deletes all NAT statistics. |
- |
history |
Deletes statistics with the word historical prefixed in the display nat statistics command output. |
- |
alg |
Deletes ALG statistics. |
- |
transmitted |
Deletes the number of sent NAT packets. |
- |
slot slot-id |
Specifies the slot ID of a service board. |
The value is a string of 1 to 15 case-sensitive characters, spaces not supported. |
nat-instance instance-name |
Deletes statistics about a specified NAT instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
payload |
Deletes forwarding load statistics. |
- |
table history |
Deletes historical table statistics about NAT services. |
- |
Usage Scenario
Before you collect NAT statistics within a specified period of time, delete existing NAT statistics using the reset nat statistics command. Then run the display nat statistics command to view NAT statistics.
Configuration Impact
The reset nat statistics command deletes NAT statistics, without affecting NAT services. Deleted statistics cannot be restored.