show vlan
show vlan
[
vlan-id
[
num
]
|
brief
{
ethernet
unit/slot/port
|
lag
lag-id
}
|
ethernet
unit/slot/port
|
lag
lag-id
]
User EXEC mode
Privileged EXEC mode
Global configuration mode
VLAN configuration mode
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. |
| Untagged VLAN | The number of untagged VLANs. |
The following example shows the VLAN information for a specific VLAN.
device> show vlan 101
Total PORT-VLAN entries: 3
Maximum PORT-VLAN entries: 4095
Legend: [Stk=Stack-Id, S=Slot]
PORT-VLAN 101, Name mvrp_vlan101, Type dynamic, Priority level0, in single spanning tree domain
Untagged Ports: None
Tagged Ports: None
Mac-Vlan Ports: None
Dynamic Ports: (U1/M1) 13 33
Dynamic Ports: (U2/M1) 13 31
Dynamic Ports: (U3/M1) 11 21
Dynamic Ports: (LAG) 1
Monitoring: Disabled
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 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 10, Name [None], Priority level0, Spanning tree On Untagged Ports: (Stk0/S1) 1 Tagged 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 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(1024) Current(1024) Default vlan Id :4000 Total Number of VLANs :3 Total Number of Vlan Configured :2 VLANs Configured :4000 4094 Total Number of Dynamic VLANs :1 Dynamic VLANs :101
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(config-if-e1000-1/1/5)# show vlan brief ethernet 1/1/5 Port 1/1/5 is a member of 11 VLANs VLANs 100 to 110 Untagged VLAN : <empty> Tagged VLANs : 100 to 110