2-286
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
show interfaces switchport
show interfaces switchport
To display the administrative and operational status of a switching (nonrouting) port, use the show
interfaces switchport command.
show interfaces [interface-id] switchport [module mod]
Syntax Description
Defaults This command has no default settings.
Command Modes Privileged EXEC
Command History
Examples This example shows how to display switch-port information using the begin output modifier:
Switch# show interfaces switchport | include VLAN
Name: Fa5/6
Access Mode VLAN: 200 (VLAN0200)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: ALL
Switch#
This example shows how to display switch-port information for module 1:
Switch# show interfaces switchport module 1
Name:Gi1/1
Switchport:Enabled
Administrative Mode:dynamic auto
Operational Mode:down
Administrative Trunking Encapsulation:negotiate
Negotiation of Trunking:On
Access Mode VLAN:1 (default)
Trunking Native Mode VLAN:1 (default)
Administrative private-vlan host-association:none
Administrative private-vlan mapping:none
Operational private-vlan:none
Trunking VLANs Enabled:ALL
Pruning VLANs Enabled:2-1001
Name:Gi1/2
Switchport:Enabled
interface-id (Optional) Specifies the interface ID for the physical port.
module mod (Optional) Limits the display to interfaces on the specified module; valid values are
from 1 to 6.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(19)EW Support for per-interface display.
12.2(18)EW Support for displaying the status of native VLAN tagging in the command output.