show vlan
Displays the VLAN information.
Syntax
show vlan
[
vlan-id
[
num
]
]
[
brief
]
[
ethernet
stackid/slot/port
]
Parameters
Modes
User EXEC mode
Privileged EXEC mode
Global configuration mode
VLAN configuration mode
Command Output
The show vlan brief command displays the following information:
Output field | Description |
---|---|
System-max vlan Params | The system maximum VLAN values (maximum, default, and current). |
Default vlan Id | The default VLAN ID number. |
Total Number of Vlan Configured | The total number of VLANs configured on the device. |
VLANs Configured | The VLAN ID numbers of the VLANs configured on the device. |
Examples
The following example shows the output of the show vlan command..
device# show vlan Total PORT-VLAN entries: 4 Maximum PORT-VLAN entries: 4060 Legend: [Stk=Stack-Unit, S=Slot] PORT-VLAN 1, Name DEFAULT-VLAN, Priority level0, Spanning tree On Untagged Ports: (Stk0/S1) 3 4 5 6 7 8 9 10 11 12 13 14 Untagged Ports: (Stk0/S1) 15 16 17 18 19 20 21 22 23 24 25 26 Untagged Ports: (Stk0/S1) 27 28 29 30 31 32 33 34 35 36 37 38 Untagged Ports: (Stk0/S1) 39 40 41 42 43 44 45 46 47 48 Untagged Ports: (Stk0/S2) 1 2 Tagged Ports: None Uplink Ports: None DualMode Ports: None Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 10, Name [None], Priority level0, Spanning tree On Untagged Ports: (Stk0/S1) 1 Tagged Ports: None Uplink Ports: None DualMode Ports: None Mac-Vlan Ports: None Monitoring: Enabled PORT-VLAN 20, Name [None], Priority level0, Spanning tree On Untagged Ports: (Stk0/S1) 2 Tagged Ports: None Uplink Ports: None DualMode Ports: None Mac-Vlan Ports: None Monitoring: Disabled
The following example shows the output of the show vlan brief command.
device# show vlan brief System-max vlan Params: Max(4095) Default(64) Current(3210) Default vlan Id :1 Total Number of Vlan Configured :5 VLANs Configured :1 to 4 10
The following example shows the output of the port-based show vlan brief ethernet command. The output indicates the membership type of the VLAN.
device# show vlan brief ethernet 1/1/5 Port 1/1/5 is a member of 3 VLANs VLANs 5 101 4094 Untagged VLAN : 1 Tagged VLANs : 5 101 4094
History
Release version | Command history |
---|---|
08.0.50 | This command was modified to display the VLAN membership type in the show vlan brief ethernet command output. |