6.2.16 Show VLAN information
[Syntax]
show vlan vlan-id
show vlan brief
[Keyword]
brief : Show all VLAN information
[Parameter]
vlan-id : <1-4094>
VLAN ID to show
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows information for the specified VLAN ID.
The following items are shown.
Item Description
VLAN ID VLAN ID
Name Name of the VLAN
State
VLAN status (whether frames are forwarded)
•
ACTIVE : forwarded
• SUSPEND : not forwarded
Member ports
Interfaces associated with the VLAN ID
• (u) : Access port (untagged port)
• (t) : Trunk port (tagged port)
[Example]
Show all VLAN information.
SWR2311P>show vlan brief
(u)-Untagged, (t)-Tagged
VLAN ID Name State Member ports
======= ================================ ======= =======================
1 default ACTIVE port1.1(u) port1.2(u)
port1.3(u) port1.4(u)
port1.5(u) port1.6(u)
port1.7(u) port1.8(u)
port1.9(u) port1.10(u)
6.2.17 Show private VLAN information
[Syntax]
show vlan private-vlan
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows private VLAN information.
The following items are shown.
Item Description
PRIMARY VLAN ID of primary VLAN
SECONDARY VLAN ID of secondary VLAN
170 | Command Reference |
Layer 2 functions