Statistics commands 62
Link statistics
Use the following command to display the link statistics of the selected port:
show interface port <port number> link-counters
Command mode: All
Link statistics for port 1:
linkStateChange: 2
The following table describes the link statistics for a selected port:
Table 50 Link statistics for port
Statistic Description
linkStateChange The total number of link state changes.
Layer 2 statistics
The following table describes the Layer 2 statistics commands. The following sections provide more detailed
information and commands.
Table 51 Layer 2 Statistics commands
Command Usage
show mac-address-table counters
Displays the Forwarding Database statistics.
Command mode: All
show interface port <port number>
lacp counters
Displays Link Aggregation Control Protocol (LACP) statistics.
Command mode: All
show layer2 counters
Displays all Layer 2 statistics.
Command mode: All
FDB statistics
Use the following command to display statistics regarding the use of the forwarding database, including the number
of new entries, finds, and unsuccessful searches:
show mac-address-table counters
Command mode: All
FDB statistics:
current: 91 hiwat: 91
These commands enable you to display statistics regarding the use of the forwarding database, including the number
of current entries and the maximum number of entries ever recorded.
The following table describes the Forwarding Database (FDB) statistics:
Table 52 Forwarding Database statistics
Statistic Description
current Current number of entries in the Forwarding Database.
hiwat Highest number of entries recorded at any given time in the Forwarding Database.