Administrator Guide

To clear counters for a range of ports, you can enter a hyphenated range of one or more port range
values separated with commas; for example, clear counters FortyGigE 1/0-4,7,9-11. To
clear counters for any random number of ports, you can enter a comma-separated string of port numbers,
for example clear counters FortyGigE 1/0/1,9,11
In a dual homing setup, you can use this command only from the primary VLT peer.
You can use the vlan, learning-limit, and vrrp keyword options for multiple ports.
NOTE: The port-range option is only available for 1 Gigabit Ethernet, 10-Gigabit Ethernet, 40-Gigabit
Ethernet, Port Channel, and VLAN interfaces.
Example
Dell#clear counters
Clear counters on all interfaces [confirm] yes
Clear counters for a range of ports
Dell#clear counters fortyGigE 0/0-12
Clear counters on Fo 0/0-12
Clear counters on Fo 0/0-12 [confirm] yes
Clear counters for any random port number
Dell#clear counters fortyGigE 0/0,28
Clear counters on Fo 0/0,28
Clear counters on Fo 0/0,28 [confirm] yes
Example
(learning-limit)
Clear learning-limit counters for a single port
Dell#clear counters tengigabitethernet 0/8 learning-limit
Clear "show learning-limit" counters on Te 0/8 [confirm] y
Clear learning-limit counters for a range of ports
Dell#clear counters tengigabitethernet 0/8-12 learning-limit
Clear "show learning-limit" counters on Te 0/8-12 [confirm] y
Clear learning-limit counters for any random port number
Dell#clear counters tengigabitethernet 0/8,16 learning-limit
Clear "show learning-limit" counters on Te 0/8,16 [confirm] y
Example (vrrp-
multiple-ports)
Clear vrrp counters for a single port
Dell# clear counters fortyGigE 0/8 vrrp 3
Clear "show vrrp" counters of IPv4 vrrp group (3) on Fo 0/8 [confirm] y
Clear vrrp counters for a range of ports
Dell#clear counters fortyGigE 0/8-12 vrrp 3
Clear "show vrrp" counters of IPv4 vrrp group (3) on Fo 0/8-12 [confirm]
y
Clear vrrp counters for any random port number
Dell#clear counters fortyGigE 0/8,16 vrrp 3
Clear "show vrrp" counters of IPv4 vrrp group (3) on Fo 0/8,16
[confirm] y
Example (vlan-
multiple-ports)
Dell#clear counters vlan 1,13
Clear counters on Vl 1, 13 [confirm] yes
Related
Commands
mac learning-limit allows aging of MACs even though a learning-limit is configured or disallow
station move on learned MACs.
show interfaces displays information on the interfaces.
710 Interfaces