104 RackSwitch G8000: Application Guide
Configuring PVLAN
Follow this procedure to configure a Protocol-based VLAN (PVLAN).
1. Configure VLAN tagging for ports.
2. Create a VLAN and define the protocol type(s) supported by the VLAN.
3. Configure the priority value for the protocol.
4. Add member ports for this PVLAN.
Note: If VLAN tagging is turned on and the port being added to the VLAN has a
different default VLAN (PVID), you will be asked to confirm changing the
PVID to the current VLAN, as shown in the example.
5. Enable the PVLAN.
6. Verify PVLAN operation.
RS G8000(config)# interface port 1, 2
RS G8000(config-if)# tagging
RS G8000(config-if)# exit
RS G8000(config)# vlan 2
RS G8000(config-vlan)# enable
Current status: disabled
New status: enabled
RS G8000(config-vlan)# protocol-vlan 1 frame-type ether2 0800
RS G8000(config-vlan)# protocol-vlan 1 priority 2
RS G8000(config-vlan)# protocol-vlan 1 member 1, 2
RS G8000(config-vlan)# protocol-vlan 1 enable
RS G8000(config-vlan)# exit
RS G8000(config)# show vlan
VLAN Name Status Ports
---- ------------------------ ------ -------------------------
1 Default VLAN ena 1-48, XGE1-XGE4
2 VLAN 2 ena 1 2
PVLAN Protocol FrameType EtherType Priority Status Ports
----- -------- ---------- --------- -------- -------
-----------
2 1 Ether2 0800 2 enabled 1 2
PVLAN PVLAN-Tagged Ports
----- ---------------------------
none none