OcNOS-RON : Layer 2 Guide : Layer 2 Command Reference : VLAN and Private VLAN Commands : vlan state
vlan state
This command enables or disables the state of a particular VLAN on the bridge.
Command Syntax
vlan <2-4094> bridge <1-32> (state (enable|disable)|)
Parameters
<1-32>
Specify bridge group ID
state
Indicates the operational state of the VLAN
enable
Sets VLAN into a enable state.
disable
Sets VLAN into a disable state.
name
The VLAN name
WORD
The name of the VLAN
Default
By default, vlan bridge state is disabled.
Command Mode
VLAN Configuration mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#vlan database
(config-vlan)#vlan 45 bridge 1 state enable
Last modified date: 07/13/2023