CLI ReferenceInterface Configuration Commands Private VLAN Configuration Commands
Private VLAN Configuration Commands
Configuration Related Commands
private-vlan type
Use this command to configure the VLAN as the private VLAN.
private-vlan {community | isolated | primary}
no private-vlan {community | isolated | primary}
Configure it as the community VLAN.
Configure it as the isolated VLAN.
Configure it as the primary VLAN.
Delete the corresponding private VLAN
configuration.
No private VLAN is configured.
Ruijie(config)# vlan 22
Ruijie(config-vlan)# private-vlan primary
The software version must be RGOS10.1 and later.
private-vlan association
Use this command to associate the secondary VLAN with the primary command.
private-vlan association {svlist | add svlist | remove svlist}
no private-vlan association