Show Interfaces Switchport - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

show interfaces switchport

To display the administrative and operational status of a switching (nonrouting) port, use the show
interfaces switchport command.
Syntax Description
interface-id
module mod
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
12.1(8a)EW
12.1(19)EW
12.2(18)EW
15.1.0 SG
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
OL-27596 -01
show interfaces [interface-id] switchport [module mod]
(Optional) Interface ID for the physical port.
(Optional) Limits the display to interfaces on the specified module; valid values are
from 1 to 6.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Support for per-interface display.
Support for displaying the status of native VLAN tagging in the command output.
Support for PVLAN modes over EtherChannel. Modes include: private-vlan host,
private-vlan promiscuous, private-vlan trunk secondary, and private-vlan trunk
promiscuous.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
show interfaces switchport
2-723

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents