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

PDF

show vlan

Display the current VLAN configurations on the switch.

Syntax
show vlan [brief | id vlan-id | name vlan-name]
Parameters
brief
(OPTIONAL) Enter the keyword brief to display the following information:
  • VLAN ID
  • VLAN name (left blank if none is configured)
  • Spanning Tree Group ID
  • MAC address aging time
  • IP address
id vlan-id
(OPTIONAL) Enter the keyword id then a number from 1 to 4094. Only information on the VLAN specified is displayed.
name vlan-name
(OPTIONAL) Enter the keyword name then the name configured for the VLAN. Only information on the VLAN named is displayed.
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.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.
9.1.(0.0)
Updated to support OpenFlow.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
7.8.1.0
Augmented to display PVLAN data for the C-Series and S-Series and revised the output to include the Description field to display a user-entered VLAN description.
7.6.1.0
Introduced on the S-Series and revised the output to display Native VLAN.
7.5.1.0
Introduced on the C-Series.
pre-6.2.1.1
Introduced on the E-Series.
Usage Information
The following describes the show vlan command shown in the following example.
Column Heading
Description
(Column 1 — no heading)
  • asterisk symbol (*) = Default VLAN
  • G = GVRP VLAN
  • P = primary VLAN
  • C = community VLAN
  • I = isolated VLAN
  • O = OpenFlow
NUM
Displays existing VLAN IDs.
Status
Displays the word Inactive for inactive VLANs and the word Active for active VLANs.
Q
  • Displays G for GVRP tagged
  • M for member of a VLAN-Stack VLAN
  • T for tagged interface
  • U for untagged interface
  • x (not capitalized x) for Dot1x untagged
  • X (capitalized X) for Dot1x tagged
  • o (not capitalized o) for OpenFlow untagged
  • O (capitalized O) for OpenFlow tagged
  • H for VSN tagged
  • i (not capitalized i) for Internal untagged
  • I (capitalized I) for Internal tagged
  • v (not capitalized v) for VLT untagged
  • V (capitalized V) for VLT tagged
Ports
Displays the type, slot, and port information.
  • Po = port channel
  • Te = ten-gigabit Ethernet
  • Fo = forty-gigabit Ethernet
Example
DellEMC# show vlan

Codes: * - Default VLAN, G - GVRP VLANs, P - Primary, C - Community, I - Isolated
Q: U - Untagged, T - Tagged, O - Openflow
   x - Dot1x untagged, X - Dot1x tagged
   o - OpenFlow untagged, O - OpenFlow tagged
   G - GVRP tagged, M - Vlan-stack
   i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged
    NUM  Status      Description   Q Ports
*   1    Inactive
    2    Active                    U Po1(Te 1/1)
                                   T Po20(Te 1/6), Te 1/25
                                   T Te 1/7
    3    Active T Po20(Te 1/6)
                                   T Te 1/7
                                   U Te 1/1
    4    Active U Po2(Te 1/2)
                                   T Po20(Te 1/6)
                                   T Te 1/7
    5    Active T Po20(Te 1/6)
                                   T Te 1/7
                                   U Te 1/3
    6    Active U Po3(Te 1/4)
                                   T Po20(Te 1/6)
                                   T Te 1/7
    7    Active T Po20(Te 1/6)
                                   T Te 1/7
                                   U Te 1/5
P 100    Active T Po1(Te 1/1)
                                   T Te 1/2
C 101    Inactive T Te 1/3
I 102    Inactive T Te 1/4
DellEMC#
Example (VLAN ID)
DellEMC# show vlan id 40

Codes: * - Default VLAN, G - GVRP VLANs
Q: U - Untagged, T - Tagged
   x - Dot1x untagged, X - Dot1x tagged
   G - GVRP tagged, M - Vlan-stack

     NUM  Status Description Q Ports
     40   Active             M Te 1/47

DellEMC# show vlan id 41

Codes: * - Default VLAN, G - GVRP VLANs
Q: U - Untagged, T - Tagged
   x - Dot1x untagged, X - Dot1x tagged
   G - GVRP tagged, M - Vlan-stack
     
     NUM  Status Description Q Ports
     41   Active             T Te 1/47

DellEMC# show vlan id 42

Codes: * - Default VLAN, G - GVRP VLANs
Q: U - Untagged, T - Tagged
   x - Dot1x untagged, X - Dot1x tagged
   G - GVRP tagged, M - Vlan-stack

     NUM  Status Description Q Ports
     42   Active             U Te 1/47
DellEMC#
Example (Brief)
DellEMC# show vlan br
VLAN  Name  STG  MAC Aging   IP Address
---- ------------------------------------
1           0    1800        unassigned
2           0    1800        2.2.2.2/24
3           0    1800        3.3.3.2/24
DellEMC#
Example (Name)
Dellconf)# interface vlan 222
DellEMC(conf-if-vl-222)#name test
DellEMC(conf-if-vl-222)#do show vlan name test

Codes: * - Default VLAN, G - GVRP VLANs
Q: U - Untagged, T - Tagged
   x - Dot1x untagged, X - Dot1x tagged
   G - GVRP tagged, M - Vlan-stack

     NUM  Status Description  Q Ports
     222  Inactive            U Te 1/22
DellEMC(conf-if-vl-222)#
Example (OpenFlow instance)
    NUM    Status    Description                     Q Ports
*   1      Inactive
    3      Inactive
O   6      Inactive
O   8      Inactive
O   12     Inactive                                  O Te 1/10
Related Commands

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: <>()\