Configuration Example
106
RackSwitch G8000: Application Guide
Follow this procedure to configure a Private VLAN.
1. Select a VLAN and define the Private VLAN type as primary.
RS G8000(config)# vlan 100
RS G8000(config-vlan)# enable
RS G8000(config-vlan)# member 2
RS G8000(config-vlan)# private-vlan type primary
RS G8000(config-vlan)# private-vlan enable
RS G8000(config-vlan)# exit
2. Configure a secondary VLAN and map it to the primary VLAN.
RS G8000(config)# vlan 110
RS G8000(config-vlan)# enable
RS G8000(config-vlan)# member 3
RS G8000(config-vlan)# member 4
RS G8000(config-vlan)# private-vlan type isolated
RS G8000(config-vlan)# private-vlan map 100
RS G8000(config-vlan)# private-vlan enable
RS G8000(config-vlan)# exit
3. Verify the configuration.
RS G8000(config)# show private-vlan
Private-VLAN
------------
---------
100
110
Type
Mapped-To
---------- ----------
primary
110
isolated
100
Status
Ports
-----------------
ena
2
ena
3-4