API Guide

Table Of Contents
show hardware
Display input and output traffic statistics and other operational information about a specified hardware component.
C9000 Series
Syntax
show hardware {cp {cpu {data-plane | i2c | management| sata-interface}}
buffer-stats-snapshots {resource interface interface}
cp-switch {counters | details | drops | port-stats |register | table-dump} |
forwarding-table mode
linecard slot-id {buffer {total-buffer | unit unit-num [port port-num [queue
queue-num]]} |
pe pe-id stack-unit unit number {cpu | drops | stack-port | unit}
cpu {data-plane | i2c | management | sata-interface} statistics |
drops {unit unit-num {port {port-num | port-range}} |
user-port {user-port-num | port-range}} |
unit unit-num {counters | details | ipmc-replication | port-stats | register |
table-dump} |
bp-link-map | bp-link-state | higig unit unit-num [port port-num]}
party-bus {port port-num statistics | all}
rp {cpu {data-plane | i2c | management | sata-interface} statistics} |
sfm sfm-unit-num {buffer {total-buffer | unit unit-num {port | total-buffer}} |
counters | details| drops | port-stats | register | table-dump}}
system {bp-link-state | linkId range}
Parameters
cp Enter the keywords cp with a command option to display hardware statistics from the
Control Processor. The command options are:
cpu data-plane: Displays data-plane statistics, including the HiGig port statistics
with input/output counters to which the stacking module is connected.
cpu i2c: Displays active i2c-interface statistics.
cpu management: Displays management port counters.
cpu sata-interface: Displays sata-interface error counter-statistics.
cp-switch Enter the keyword cp-switch with a command option to display hardware statistics for
control-plane and protocol control traffic. The command options are:
counters: Displays the counters for control-plane and protocol control packets to
troubleshoot an error condition.
details: Displays more detailed information on control-plane and protocol control
packet statistics.
drops: Displays the number of internal drops of control-plane and protocol control
packets.
port-stats: Displays status about why a control-plane internal port is not brought
up to register level. You can use the detail option to display the port-statistics in
details.
register: Displays internal control-plane registers.
table-dump: Displays the tables from the bShell.
forwarding-table
mode
Enter the keyword forwarding—table mode to display the statistics related to
forwarding table.
linecard
slot-id
Enter the linecard slot-id parameters with a command option to display hardware
statistics from the specified line-card ports. The range of line-card slot IDs is from 0 to 2.
The command options are:
Debugging and Diagnostics 569