Command:

show interface (switch)

Mode:

Switch#


Syntax:

show interface [interface-id | vlan number] [flow-control | pruning | status | switchport [allowed-vlan | prune-elig | native-vlan]]


Syntax Description:

interface-id

ID of the module and port.

vlan number

VLAN number of the management VLAN. Valid IDs are from 1 to 1000. Do not enter leading zeroes.

flow-control

Displays flowcontrol information for the specified port.

pruning

(Optional) Display pruning information for the trunk port.

status

(Optional) Display the status of the interface.

switchport

(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.

     


Command Description:

Use the show interface privileged EXEC command to display the administrative and operational status of a switching (nonrouting) port.


Examples:

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:

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:

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

Field Description

Name

Displays the port name

Switchport

Displays the administrative and operational status of the port. In this display, the port is in switchport mode.

Administrative Mode

Operational 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

Voice VLAN

Displays the voice VLAN

Appliance trust

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>
 


Misconceptions:

None

Related commands:
switchport mode

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)