OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Command Reference : Virtual Private LAN Service Commands : mac
mac
Use this command to add static MAC address for a VPLS instance
Use the no parameter with this command to remove static MAC address
Command Syntax
mac XXXX.XXXX.XXXX IFNAME(|vlan <1-4094>)
no mac XXXX.XXXX.XXXX IFNAME(|vlan <1-4094>)
Parameter
IFNAME
Interface name
vlan
VLAN Interface
<1-4094>
VLAN ID
Default
By default, mac is disabled
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#mpls vpls vpls1 10
(config-vpls)#mac 0001.a001.0801 xe1 vlan 10
 
 
 
 
Last modified date: 10/17/2023