OcNOS-RON : Layer 2 Guide : Layer 2 Command Reference : Layer 2 Control Protocols Tunneling Commands : l2protocol encapsulation dest-mac
l2protocol encapsulation dest-mac
Use this command to change destination mac of tunneled l2 protocol packet. Allowed mac are 0100.C2CD.CDD0 or 0104.DFCD.CDD0.
Use the no parameter with this command to set default mac 0100.C2CD.CDD0.
Note: This command only applies to provider bridging. For more information, see Chapter 14, Provider Bridging Configuration.
Command Syntax
bridge <1-32> l2protocol encapsulation dest-mac XXXX.XXXX.XXXX
no bridge <1-32> l2protocol encapsulation dest-mac
Parameters
bridge
Bridge group for bridging.
<1-32>
<1-32>
l2protocol
Configure Layer2 Protocol Tunneling.
encapsulation
Encapsulation of L2PT packet.
dest-mac
Encapsulation with destination mac.
XXXX.XXXX.XXXX
Destination Mac-address of L2PT tunneling (0100.C2CD.CDD0 or 0104.DFCD.CDD0).
Command Mode
Configuration mode
Applicability
This command is introduced in OcNOS-SP version 1.0.
Examples
(config)#bridge 1 l2protocol encapsulation dest-mac ?
XXXX.XXXX.XXXX Destination Mac-address of L2PT tunneling (0100.C2CD.CDD0 or
0104.DFCD.CDD0)
(config)#bridge 1 l2protocol encapsulation dest-mac 0104.DFCD.CDD1
L2PT destination mac should be 0100.C2CD.CDD0 or 0104.DFCD.CDD0
(config)#bridge 1 l2protocol encapsulation dest-mac 0104.DFCD.CDD0
(config)#bridge 1 l2protocol encapsulation dest-mac 0100.C2CD.CDD0
(config)#bridge 1 l2protocol encapsulation dest-mac 0100.C2CD.CDD1
L2PT destination mac should be 0100.C2CD.CDD0 or 0104.DFCD.CDD0
(config)#
 
(config)#no bridge 1 l2protocol encapsulation dest-mac
(config)#show running-config | in bridge
bridge 1 protocol provider-rstp edge
vlan 2-10 type customer bridge 1 state enable
vlan 11-12 type service point-point bridge 1 state enable
cvlan registration table map1 bridge 1
bridge-group 1
bridge-group 1
(config)#
Last modified date: 07/13/2023