Note on using pattern matching with the show interfaces custom command
If you have included a pattern matching command to search for a field in the output of the show int custom
command, and the show int custom command produces an error, the error message may not be visible and
the output is empty. For example, if you enter a command that produces an error (such as vlan is misspelled) with
the pattern matching include option, the output may be empty:
Switch(config)# show int custom 1-3 name vlun | include vlan1
It is advisable to try the show int custom command first to ensure there is output, and then enter the
command again with the pattern matching option.
Note that in the above command, you can substitute int for interface; that is: show int custom.
show interface smartrate
Syntax
show interface <PORT-LIST> smartrate
Description
The option smartrate has been added to the show interface <PORT-LIST> command. This option is used
to display port diagnostics on a Smart Rate port only. If the command is run on a non‐Smart Rate port, a
message similar to Port A1: This command is only applicable to Smart Rate ports is
displayed.
The show interface <PORT-LIST> smartrate command can be used to retrieve the physical layer link
diagnostics information for the smartrate ports. As part of 802.3bz implementation, the CLI information has been
updated with the latest BASE-T modes.
Viewing port utilization statistics (CLI)
Use the show interface port-utilization command to view a real-time rate display for all ports on the
switch. The example below shows a sample output from this command.
A show interface port-utilization command listing
switch(config)# show interfaces port-utilization
Status and Counters - Port Utilization
Rx Tx
Port Mode | -------------------------- | --------------------------
| Kbits/sec Pkts/sec Util | Kbits/sec Pkts/sec Util
----- -------- + ---------- --------- ----- + ---------- --------- -----
B1 1000FDx | 0 0 0 | 0 0 0
B2 1000FDx | 0 0 0 | 0 0 0
B3 1000FDx | 0 0 0 | 0 0 0
B4 1000FDx | 0 0 0 | 0 0 0
B5 1000FDx | 0 0 0 | 0 0 0
B6 1000FDx | 0 0 0 | 0 0 0
B7 100FDx | 624 86 00.62 | 496 0 00.49
Chapter 3 Port Status and Configuration 75