Viewing VLANs
The VLAN information menu (/info/l2/vlan) displays all configured VLANs and all member ports that
have an active link state, for example:
>> Layer 2# vlan
VLAN
----
1
2
4095
PVID numbers
Each port in the switch has a configurable default VLAN number, known as its PVID. This places all ports
on the same VLAN initially, although each port PVID is configurable to any VLAN number between
1 and 4094.
The default configuration settings for switches have all ports set as untagged members of VLAN 1 with all
ports configured as PVID = 1. In the default configuration example shown in the following figure, all
incoming packets are assigned to VLAN 1 by the default port VLAN identifier (PVID =1).
Viewing and configuring PVIDs
You can view PVIDs from the following CLI commands:
Port information
>> /info/port
Port Tag RMON PVID
---- --- ---- ---- -------------- -------------------------------
1
2
3
4
5
6
7
:
:
Port configuration
>>
/cfg/port 22/pvid 22
Current port VLAN ID:
New pending port VLAN ID: 22
>> Port 22#
Each port on the switch can belong to one or more VLANs, and each VLAN can have any number of
switch ports in its membership. Any port that belongs to multiple VLANs, however, must have VLAN
tagging enabled. See the "VLAN tagging" section in this chapter.
Any untagged frames (those with no VLAN specified) are classified with the PVID of the sending port.
Name
-------------------------------- ------ ----------------------
Default VLAN
VLAN 2
VLAN 4095
NAME
n
d
1 Downlink1
n
e
1 Downlink2
n
d
1 Downlink3
n
d
1 Downlink4
n
d
1 Downlink5
n
d
1 Downlink6
n
d
1 Downlink7
Status Ports
ena
ena
ena
1
1
1
1
1
1
1
1
1 4-18 19-25
2 3
18
VLAN(s)
VLANs
52