clear controller switch
To clear the statistics for the Broadcom switches for the 22-port Shelf Controller Gigabit Ethernet (22-port SCGE) card, use the clear controller switch command in administration EXEC mode.
clear controller switch instance statistics {all location node-id | location node-id | ports number location node-id}
Syntax Description
|
instance |
Switch instance identifier. The switch number is either 0 or 1. |
|
statistics |
Clears statistics for packets transmitted/received on switch ports. |
|
all |
Clears statistics for all ports. |
|
location node-id |
Specifies the specific RP/SC in the system in which the switches are present. This applies to location descriptions for the node-id argument as entered in the rack/slot/module notation. |
|
ports number |
Clears statistics for a specific switch port. |
Command Default
No default behavior or values
Command Modes
Administration EXEC
Command History
|
Release |
Modification |
|---|---|
|
Release 3.4.1 |
This command was updated to include inter-rack switches. |
Usage Guidelines
The clear controller switch command is used to specify intra-rack switches.
Task ID
|
Task ID |
Operations |
|---|---|
|
root-system |
execute |
Examples
The following example shows how to clear the statistics for the Broadcom switches:
RP/0/0/CPU0:router(admin)# clear controller switch 1 statistics all location f0/sc0/cpu0

Feedback