Configuration Guide Private VLAN Configuration
Ruijie(config)#interface gigabitEthernet 0/5
Ruijie(config-if)#switchport mode private-vlan promiscuous
Ruijie(config-if)#switchport private-vlan mapping 99 add 100-101
Ruijie(config-if)#show vlan private-vlan
VLAN Type Status Routed Ports Associated VLANs
----- ---------- -------- -------- --------------------------
99 primary active Disabled Gi0/4, Gi0/5 100-101
100 community active Disabled Gi0/1, Gi0/2, Gi0/4 99
101 isolated active Disabled Gi0/3, Gi0/4 99
Private VLAN configuration on single L3 switch
Configuration Purpose
On L3 switch supporting Private VLAN, you can set a SVI for Private VLAN.
Because all VLANs(including Primary VLAN and Secondary VLANs) in the
same Private VLAN can be in the same SVI, you just set an IP address for the
Primary VLAN and map the Secondary VLAN to the L3 interface of Primary
VLAN on the basis of the previous configuration example.
Topology