Cisco Command Christmas Calendar #12: show interfaces status

Continuing with the show interface theme from yesterday, let's look at the show interfaces status command. I love this command. It's a quick way to view a summary of interface information on switch ports. Example:

SW1#show interfaces status

Port      Name               Status       Vlan       Duplex  Speed Type
Gi0/0                        connected    1            auto   auto unknown
Gi0/1                        connected    1            auto   auto unknown
Gi0/2                        connected    20           auto   auto unknown
Gi0/3                        connected    30           auto   auto unknown
Gi1/0                        connected    1            auto   auto unknown
Gi1/1     Link to SW2        connected    trunk        auto   auto unknown
Gi1/2                        connected    1            auto   auto unknown
Gi1/3     Link to R10        connected    routed       auto   auto unknown

The output lists the interface name, the interface description (under Name), the status of the interface, the VLAN ID the interface is assigned to (if in access mode) or trunk port, the duplex, speed, and interface type settings. I ran the command on VIRL, so the duplex, speed, and interface type shows auto, auto, and unknown, respectively. Here's an example from a hardware switch:

3560#sh interfaces status
Port      Name               Status       Vlan       Duplex  Speed Type
Fa0/1                        connected    trunk      a-full  a-100 10/100BaseTX
Fa0/2                        connected    trunk      a-full  a-100 10/100BaseTX
Fa0/3                        connected    trunk      a-full  a-100 10/100BaseTX
Fa0/4                        notconnect   1            auto   auto 10/100BaseTX

The show interfaces status command also accepts err-disabled and vlan parameters. The show interfaces status err-disabled command displays the ports in the error-disabled state. The show interfaces status vlan command limits the output of switch port information to the specified VLAN.


Cisco documentation: show interface status

Comments