Including friendly port names in per-port statistics listings (CLI)
Syntax:
show interface <port-number>
Includes the friendly port name with the port's traffic statistics listing. A friendly port name configured to a port is automatically included when you display the port's statistics output.
If you configure port A1 with the name "O'Connor_10.25.101.43," the
show interface
output for this port appears similar to the following:
A friendly port name in a per-port statistics listing
switch(config)# show interface a1 Status and Counters - Port Counters for port A1 Name : O’Connor@10.25.101.43 MAC Address : 001871-b995ff Link Status : Up Totals (Since boot or last clear) : Bytes Rx : 2,763,197 Bytes Tx : 22,972 Unicast Rx : 2044 Unicast Tx : 128 Bcast/Mcast Rx : 23,456 Bcast/Mcast Tx : 26 Errors (Since boot or last clear) : FCS Rx : 0 Drops Tx : 0 Alignment Rx : 0 Collisions Tx : 0 Runts Rx : 0 Late Colln Tx : 0 Giants Rx : 0 Excessive Colln : 0 Total Rx Errors : 0 Deferred Tx : 0 Others (Since boot or last clear) : Discard Rx : 0 Out Queue Len : 0 Unknown Protos : 0 Rates (5 minute weighted average) : Total Rx (bps) : 3,028,168 Total Tx (bps) : 1,918,384 Unicast Rx (Pkts/sec) : 5 Unicast Tx (Pkts/sec) : 0 B/Mcast Rx (Pkts/sec) : 71 B/Mcast Tx (Pkts/sec) : 0 Utilization Rx : 00.30 % Utilization Tx : 00.19 %
For a given port, if a friendly port name does not exist in the running-config file, the Name line in the above command output appears as:
Name :