Command Reference Private VLAN Commands
7.3 private-vlan association
Use this command to associate the secondary VLAN with the primary VLAN on layer 2. Use the no or
default form of this command to restore the default setting.
private-vlan association { svlist | add svlist | remove svlist }
no private-vlan association
default private-vlan association
Adds the associated secondary VLAN.
Removes the associated secondary VLAN.
This function is disabled by default.
The following example associates the secondary VLAN with the primary VLAN on layer 2.
Ruijie(config)# vlan 22
Ruijie(config-vlan)# private-vlan association add 24-26
The following example removes the association between the secondary VLAN with the primary
VLAN.
Ruijie(config)# vlan 22
Ruijie(config-vlan)# private-vlan association remove 24
Use this command to associate the secondary VLAN with the primary VLAN on layer 3. Use the no or