5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
206
5-76
clear counters
This command is used to clear the statistics for all the ports, for a specified slot/port, or for an interface on
a VLAN based on the argument. In the event that a virtual router is specified, then the statistics for the
ports included on the virtual router will be cleared. In contrast, if no router is specified, then the
information for the default router is then displayed.
clear counters {slot/port | all [vrf vrf-name] | lag [lag-intf-num] | nvgre | vlan id | vxlan}
Parameters
slot/port
Indicates a slot/port interface.
all
Select to clear all L1/L2 counters on all interfaces including IP counters.
lag
Select to clear LAG interface statistics.
nvgre
Select to clear the NVGRE tunnel counters.
vlan id
Indicates a VLAN interface.
vxlan
Select to clear all VXLAN tunnel counters.
Default
The default is None.
Command Mode
Privileged EXEC
5-77
clear ip access-list counters
This command is used to clear the counters of the specified IP ACL and the IP ACL rule.
clear ip access-list counters {acl-ID | acl-name }
Parameters
acl-ID 1-199
Indicates the ACL ID to clear counters, range: 1 – 199.
acl-name
Indicates the ACL name to clear counters, up to 31 characters in length.
Default
The default is None.
Command Mode
Global Config
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...