Documentation, Support, and Training
Understanding ILOM on the Switch
Administering ILOM (Web Interface)
Understanding Switch-Specific Commands
activate Command (switch-specific)
deactivate Command (switch-specific)
Displays port counters. Issued on the CMC.
getportcounters lc|fc slot switch_chip port [-c]
where:
slot is number of the line card (0–8) or fabric card (0–8).
switch_chip is the number of the chip on the line card (0–3) or fabric card (0–1).
port is the number of the port (1–36).
This switch-specific command returns the value of all port counters for a particular switch and port on that switch for a line card or fabric card. The -c option will clear all counters, instead of displaying them.
The following example shows how to display the counters for switch chip 1, port 5 on line card 8 with the getportcounters command.
# getportcounters lc 8 1 5 Port counters on switch 1 port 5 : Symbol error counter : 0x0000 Link error recovery counter : 0x00 Link down counter : 0x00 PortRcvErrors counter : 0x0000 PortRcvSwitchRelayErrors counter : 0x0000 PortXmitDiscards counter : 0x0000 PortXmitConstraintErrors counter : 0x00 PortRcvConstraintErrors counter : 0x00 LocalLinkIntegrityErrors counter : 0x00 ExcessiveBufferOverrunErrors counter : 0x00 VL15Dropped counter : 0x0000 PortXmitData counter : 0x001b0000 PortRcvData counter : 0x001b7ae8 PortXmitPkts counter : 0x00007ae8 PortRcvPkts counter : 0x000061b5 #