CLI ReferenceInterface Configuration Commands Private VLAN Configuration Commands
The software version must be RGOS10.1 and later.
switchport private-vlan association trunk
Use this command to associate the trunk port in the private VLAN mode, which is associated with the
primary VLAN and the secondary VLAN.
switchport private-vlan association trunk p_vid s_vid
no switchport private-vlan association trunk
Delete the host port from the private
VLAN.
Interface configuration mode.
Ruijie(config)# interface gigabitEthernet 0/2
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# switchport private-vlan association trunk 202
203
The software version must be RGOS10.4 (3) and later.
switchport private-vlan mapping
Use this command to configure the promiscuous secondary VLANs that the promiscuous mode of the
private VLAN maps.
switchport private-vlan mapping p_vid {svlist|add svist |remove svlist}
no switchport private-vlan mapping