9-17
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 9 Configuri ng th e Switch Interfaces Monitoring and Maintaining the Interfaces
This exam ple sh ows how to displ ay the status of all inter faces :
Switch# show interfaces status
Port Name Status Vlan Duplex Speed Type
Fa0/1 connected 1 a-full a-100 10/100BaseTX
Fa0/2 notconnect 1 auto auto 10/100BaseTX
Fa0/3 notconnect 1 auto auto 10/100BaseTX
<output truncated>
Fa0/23 notconnect 1 auto auto 10/100BaseTX
Fa0/24 notconnect 1 auto auto 10/100BaseTX
Gi0/1 notconnect 1 auto auto unknown
Gi0/2 notconnect 1 auto auto unknown
This exam ple sh ows how to displa y the status of sw it ching p orts:
Switch# show interfaces switchport
Name: Fa0/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Voice VLAN: dot1p (Inactive)
Appliance trust: 5
Name: Fa0/2
Switchport: Enabled
Administrative Mode: static access
Table 9-2 Show Commands for Interfaces
Command Purpose
show interfaces [interface-id] Displa y the st atus a nd configur ati on of a ll int erfac e s or a sp ec ific
interface.
show interfaces interface-id status [err-disabled] Display inte rface status or a list of interfaces in error-disabled state.
show interfaces [media | <interface-id> media] Displa y the outp ut of the me dia-type that is configur ed.
show interfaces [interface-id] switchport Display adm inistra tive and ope rationa l status of switch ing
(nonrou ting) por ts.
show interfaces [interface-id] description Display the description conf igured on a n interfac e or all inte rfaces an d
the interface status.
show ip interface [interface-id] Display the usability status of all interfaces configured for IP or the
specified interface.
show running-config interface [interface-id] Display the running configuration in RAM for the interface.
show ver sion Displa y the hardware configurat ion, softwa re version, the na mes and
source s of configurat ion files, and the boo t image s.