show interface (switch)
show interface [interface-id | vlan number] [flow-control | pruning | status | switchport [allowed-vlan | prune-elig | native-vlan]]
ID of the module and port.
VLAN number of the management VLAN. Valid IDs are from 1 to 1000. Do not enter leading zeroes.
Displays flowcontrol information for the specified port.
(Optional) Display pruning information for the trunk port.
(Optional) Display the status of the interface.
(Optional) Display the administrative and operational status of a switching (nonrouting) port.
- allowed-vlan�Display the VLAN IDs that receive and transmit all types of traffic on the trunk port. By default, all VLAN IDs are included.
- prune-elig�Display the VLAN ID whose flood traffic can be pruned. By default, all VLANs, except VLAN 1 and 1002 through 1005, are pruning-eligible on the trunk.
- native-vlan�Display the native VLAN ID for untagged traffic when the port is in 802.1Q trunking mode.
Use the show interface privileged EXEC command to display the administrative and operational status of a switching (nonrouting) port.
The following is a sample of output from the show interface gi0/1 flow-control command.Switch#show interface gi0/1 flow-control Any,Input only
The display shows two values separated by a comma. The first value is the value you configured by using the flowcontrol command or through the Cluster Management Suite (or the default value if you did not configure it). The first value displayed can be one of the following settings:
- None�Flow control is not enabled.
- Asymmetric�Only the transmit or receive flow control is enabled.
- Symmetric�Both the transmit and receive flow control are enabled.
- Any�Any type of flow control is supported.
The second value in the display represents the flow control value that is autonegotiated with the link partner and can be one of the following settings:
- None�Flow control with the link partner does not occur.
- Output only�The interface can only transmit pause frames but not receive any.
- Input only�The interface can only receive pause frames but not transmit any.
- Output and Input�The interface can transmit and receive pause frames.
Note If you execute the show interface interface-id flow-control command on a GigaStack Gigabit Interface Converter (GBIC), the first value in the display is the setting for both GigaStack GBIC ports, and the second value is the autonegotiated setting for both ports.
The following is a sample of output from the show interface fa0/2 switchport command. Table: describes each field in the display.Switch#show interface fa0/2 switchport Name: fa0/2 Switchport: Enabled Administrative Mode: Trunk Operational Mode: Trunk Administrative Trunking Encapsulation: ISL Operational Trunking Encapsulation: ISL Negotiation of Trunking: Disabled Access Mode VLAN: 0 (inactive) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: 1-30, 50, 100-1005 Trunking VLANs Active: 1-4 Pruning VLANs Enabled: 2-1001 Priority for untagged frames: 0 Voice VLAN: none Appliance trust: none
Table: Show Interface fa0/2 Switchport Field Descriptions
Displays the port name
Displays the administrative and operational status of the port. In this display, the port is in switchport mode.
Displays the administrative and operational mode
Administrative Trunking Encapsulation
Operation Trunking Encapsulation
Negotiation of Trunking
Displays the administrative and operational encapsulation method. Also displays whether trunking negotiation is enabled.
Access Mode VLAN
Displays the VLAN ID to which the port is configured
Trunking Native Mode VLAN
Trunking VLANs Enabled
Trunking VLANs Active
Lists the VLAN ID of the trunk that is in native mode. Lists the allowed VLANs on the trunk. Lists the active VLANs on the trunk.
Pruning VLANs Enabled
Lists the VLANs that are pruning-eligible
Priority for untagged frames
Displays the port priority on incoming untagged frames
Displays the voice VLAN
Displays how the appliance (telephone) connected to the specified port handles priority traffic received on its incoming port
The following is a sample of output from the show interface fa0/9 pruning command when pruning is enabled in the VTP domain:Switch#show interface fa0/9 pruning Port Vlans pruned for lack of request by neighbor Fa0/9 3,4 Port Vlans traffic requested of neighbor Fa0/9 1-3
The following is a sample of output from the show interface status command:Switch#show interface status Port Name Status Vlan Duplex Speed Type ------- ------------------ ------------ -------- ------ ------- ---- Fa0/1 connected trunk A-Full A-100 100BASE-TX/FX Fa0/2 notconnect 1 Auto Auto 100BASE-TX/FX Fa0/3 notconnect 1 Auto Auto 100BASE-TX/FX Fa0/4 notconnect 1 Auto Auto 100BASE-TX/FX Fa0/5 notconnect 1 Auto Auto 100BASE-TX/FX Fa0/6 notconnect 1 Auto Auto 100BASE-TX/FX Fa0/7 notconnect 1 Auto Auto 100BASE-TX/FX Fa0/8 notconnect 1 Auto Auto 100BASE-TX/FX Fa0/9 notconnect 1 Auto Auto 100BASE-TX/FX <output truncated>
� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education
|Converted from CHM to HTML with chm2web Pro 2.85 (unicode)|