CLI ReferenceInterface Configuration Commands  MAC VLAN Configuration Commands 
 
MAC VLAN Configuration Commands 
mac-vlan enable 
Use this command to enable the MAC VLAN function on the port in the interface configuration mode. 
mac-vlan enable 
Interface configuration mode. 
The MAC VLAN entries configured globally won’t 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. 
Ruijie# configure terminal 
Enter configuration commands, one per line. End with CNTL/Z. 
Ruijie(config)# interface fastethernet 0/10 
Ruijie(config-if)# mac-vlan enable 
Ruijie(config-if)# no mac-vlan enable 
Ruijie(config-if)# end 
Show the MAC-VLAN enabled port list. 
mac-vlan mac-address 
Use this command to configure the static MAC VLAN entries manually in the global configuration mode.   
mac-vlan mac-address mac-address [mask mac-mask] vlan vlan-id [priority pri_val] 
Specify the MAC address mask, with the 
high bits being all 1 in binary. This field is 
full of Fs by default.