2-723
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco 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 mode
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
interface-id (Optional) 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.
15.1.0 SG Support for PVLAN modes over EtherChannel. Modes include: private-vlan host,
private-vlan promiscuous, private-vlan trunk secondary, and private-vlan trunk
promiscuous.