CLI ReferenceInterface Configuration Commands Private VLAN Configuration Commands
Remove all the promiscuous secondary
VLANs.
No promiscuous secondary VLAN is configured.
Hybrid interface configuration mode of private VLAN
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode private-vlan
promiscuous
Ruijie(config-if)# switchport private-vlan mapping 22 add 23-25
The software version must be RGOS10.1 and later.
switchport private-vlan promiscuous trunk
Use this command to configure the ports as a promiscuous trunk port , which is associated with the L2
port and the private VLAN. Multiple pairs are allowed to associate.
[no] switchport private-vlan promiscuous trunk p_vid_s_list
Remove all the relationships between the
layer-2 ports and private VLANs.
Interface configuration mode
Ruijie(config)# interface gigabitEthernet 0/2
Ruijie(config-if)# switchport mode trunk