Specifications
VLAN Configuration Command Set
Assigning Port VLAN IDs (PVIDs) and Ingress Filtering
6-14 SecureStack B2 Configuration Guide
6.3.3.2 set port vlan
Use this command to configure the PVID (port VLAN identifier) for one or more ports. The PVID
is used to classify untagged frames as they ingress into a given port. If the specified VLAN has not
already been created, this command will create it, add the VLAN to the port’s egress list as
untagged, and remove the default VLAN from the port’s egress list.
set port vlan port-string pvid
Syntax Description
Command Defaults
None.
Command Mode
Read-Write.
Example
This example shows how to add Fast Ethernet port 10 in unit 1 to the port VLAN list of VLAN 4
(PVID 4). Since VLAN 4 is a new VLAN, it is created. Then port fe.1.10 is added to VLAN 4’s
untagged egress list, and is cleared from the egress list of VLAN 1 (the default VLAN):
port-string Specifies the port(s) for which to configure a VLAN
identifier. For a detailed description of possible port-string
values, refer to Section 3.1.1.
pvid Specifies the VLAN ID of the VLAN to which port(s) will
be added.
B2(rw)->set port vlan fe.1.10 4
B2(rw)->set vlan 4 create
B2(rw)->set vlan egress 4 fe.1.10 untagged
B2(rw)->clear vlan egress 1 fe.1.10