Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Command Line Reference Guide for the S4048–ON System 9.14.2.6

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.

Syntax
show interfaces switchport [interface-type | stack-unit unit-id ]
Parameters
interface-type
(OPTIONAL) Enter one of the following keywords and the interface information:
  • For a port channel interface, enter the keywords port-channel then a number.
  • For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port[/subport] information.
  • For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port information.
  • For a backup interface for this interface, enter the keyword backup.
NOTE This command also enables you to view information corresponding to a range of ports.
  • For physical interfaces, you can specify multiple ports as slot/port-range. For example, if you want to display information corresponding to all ports between 1 and 4, specify the port range as show interfaces interface-type 1/1 - 4.
  • For port–channel interfaces, you can specify multiple ports as port-range. For example, if you want to display information corresponding to all ports between 1 and 4, specify the port range as show interfaces port—channel 1 - 4.
stack-unit unit-id
(OPTIONAL) Enter the keywords stack-unit then the stack member number.
Command Modes
  • EXEC
  • EXEC Privilege
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100–ON.
9.9(0.0)
Added support to display the interface configurations corresponding to a range of ports.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
8.5.1.0
Added support for 4-port 40G line cards on the E-Series.
8.2.1.0
Added support for 4093 VLANs on E-Series.
8.1.1.0
Introduced on the E-Series.
7.6.1.0
Support added for hybrid port/native VLAN, introduced on the S-Series.
7.5.1.0
Introduced on the C-Series.
E-Series legacy command
Usage Information
The following describes the show interfaces switchport command for the following example.
Items
Description
Name
Displays the interface’s type, slot/port[/subport] number.
802.1QTagged
Displays whether if the VLAN tagged (“True”), untagged (“False”), or hybrid (“Hybrid”), which supports both untagged and tagged VLANs by the port.
Vlan membership
Lists the VLANs to which the interface is a member. Starting with Dell EMC Networking OS version 7.6.1, this field can display native VLAN membership by the port.
Example
DellEMC# show interfaces switchport
Name: TenGigabitEthernet 1/1
802.1QTagged: Hybrid
Vlan membership:
Vlan   2, Vlan 20
Native VlanId: 20

Name: TenGigabitEthernet 1/2
802.1QTagged: True
Vlan membership:
Vlan   2

Name: TenGigabitEthernet 1/3
802.1QTagged: True
Vlan membership:
Vlan   2

Name: TenGigabitEthernet 1/4
802.1QTagged: True
Vlan membership:
Vlan   2
--More--
Related Commands
  • interface — configure a physical interface on the switch.
  • show ip interface — display Layer 3 information about the interfaces.
  • show interfaces transceiver — display the physical status and operational status of an installed transceiver. The output also displays the transceiver’s serial number.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\