Show Interfaces Switchport - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

show interfaces switchport

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
Command History
Release
12.1(8a)EW
12.1(19)EW
12.2(18)EW
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
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
2-286
show interfaces [interface-id] switchport [module mod]
(Optional) Specifies the 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.
Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
78-16201-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents