Command Reference MAC VLAN Commands
5 MAC VLAN Commands
5.1 mac-vlan enable
Use this command to enable the MAC VLAN function on the port.
Use the no form or default form of this command to restore the default setting.
By default, MAC VLAN is disabled.
Interface configuration mode
The MAC VLAN entries configured globally will not take effect on the port unless the MAC VLAN
function is enabled on this port.
The MAC VLAN function can be enabled on the hybrid port only.
The following example enables MAC VLAN.
Ruijie(config-if-interface-id)# mac-vlan enable
Use this command to configure the static MAC VLAN entries.
Use the no form or default form of this command to restore the default setting.
mac-vlan mac-address mac-address [ mask mac-mask ] vlan vlan-id [ priority pri_val ]
no mac-vlan mac-address mac-address [mask mac-mask] vlan vlan-id [ priority pri_val ]
default mac-vlan mac-address mac-address [mask mac-mask] vlan vlan-id [ priority pri_val ]