Configuration Guide Private VLAN Configuration
Topology
Configuration Steps
# Create Primary VLAN 99, Isolated VLAN 101 and associate the Primary VLAN and
Secondary VLANs on the SwitchA and the SwitchB respectively.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#vlan 101
Ruijie(config-vlan)#private-vlan isolated
Ruijie(config-vlan)#exit
Ruijie(config)#vlan 99
Ruijie(config-vlan)#private-vlan primary
Ruijie(config-vlan)#private-vlan association 101
Ruijie(config-vlan)#exit
#On the SwitchA and SwitchB, set interface gigabitEthernet 0/1 as the Trunk Port,
interface gigabitEthernet 0/2, 0/3 as the Isolated Trunk Port, interface gigabitEthernet
0/4 in the Isolated VLAN101.
Ruijie(config)#interface gigabitEthernet 0/1