OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : VLAN and Private VLAN Commands : private-vlan community
private-vlan community
Use this command to set a VLAN type for a private (community) VLAN.
Use the no form of this command to remove the specified private VLAN.
Command Syntax
private-vlan <2-4094> community bridge <1-32>
no private-vlan <2-4094> bridge <1-32>
Parameters
<2-4094>
Specify a private VLAN identifier.
bridge
Specify the bridge identifier.
Default
By default, private vlan is disabled
Command Mode
VLAN Configuration mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#vlan database
(config-vlan)#private-vlan 4 community bridge 1
Last modified date: 07/06/2023