Reference Guide
show interfaces switchport
Display only virtual and physical interfaces in Layer 2 mode. This command displays the Layer 2 mode interfaces’ IEEE
802.1Q tag status and VLAN membership.
C-Series, E-Series, S-Series, Z-Series
Syntax
show interfaces switchport [interface [linecard slot-number] |
stack-unit unit-id ]
Parameters
interface
(OPTIONAL) Enter one of the following keywords and slot/port or
number information:
• For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by the slot/port information.
• For a Port Channel interface, enter the keywords port-
channel
followed by a number. For the C-Series and S-
Series, the range is 1 to 128. For the E-Series, the range is 1 to
255 for TeraScale and 1 to 512 for ExaScale.
• For SONET interfaces, enter the keyword sonet followed by
the slot/port information. This keyword is only available on E-
Series and C-Series.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port
information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by the slot/port information.
• Enter the keyword backup to view the backup interface for
this interface.
linecard
slot-
number
(OPTIONAL) Enter the keyword linecard followed by the slot
number. For the C-Series, the range is 0 to 7 for C300 and 0 to 3 for
C150. For the E-Series, the range is 0 to 13 on the E1200, 0 to 6 on the
E600, and 0 to 5 on the E300
stack-unit
unit-id
(OPTIONAL) Enter the keywords stack-unit followed by the stack
member number. This option is available only on S-Series. The range
is 0 to 1.
Command Modes
• EXEC
• EXEC Privilege
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.5.1.0 Added support for 4-port 40G line cards on ExaScale.
Version 8.2.1.0 Added support for 4093 VLANs on E-Series ExaScale.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.6.1.0 Support added for hybrid port/native VLAN, introduced on the S-
Series.
816










