OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Multi-chassis Link Aggregation Commands
Multi-chassis Link Aggregation Commands
This chapter describes the Multi-Chassis Link Aggregation commands.
Multi-Chassis Link Aggregation is also called MC-LAG, MLAG, or Distributed Resilient Network Interconnect (DRNI). In this document, it is called MLAG.
mlag
mode
clear mcec statistics
Use this command to clear the statistics related to hello and information PDUs in the MCEC domain.
Command Syntax
clear mcec statistics
Parameters
None
Command Mode
Privileged exec mode
Applicability
This command was introduced before OcNOS version 4.0.
Examples
#clear mcec statistics
domain-address
Use this command to configure domain address, which helps to identify the mcec domain.
Use the no form of this command to remove the domain address.
Command Syntax
domain-address <domain-id>
no domain-address
Parameters
domain-id domain address in HHHH.HHHH.HHHH format
 
Command Mode
MCEC mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#config terminal
(config)#mcec domain configuration
(config-mcec-domain)#domain-address 1111.2222.3333
 
debug mcec
Use this command to view debugging logs for MLAG.
Use the no form of this command to remove debugging logs for MLAG.
Command Syntax
debug mcec (timer|event|hello|info|cli|mac-sync|all)
no debug mcec (timer|event|hello|info|cli|mac-sync|all)
Parameters
all
ALL
cli
CLI
event
Event
hello
Hello
info
Info
mac-sync
Mac Sync
timer
Timer
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#debug mcec all
#no debug mcec all
domain hello timeout
Use this command to specify the domain hello-timeout value.
Command Syntax
domain-hello-timeout (long|short)
no domain-hello-timeout
Parameters
long
Long Timeout
short
Short Timeout
Command Mode
MCEC mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#config terminal
(config)#mcec domain configuration
(config-mcec-domain)#domain-hello-timeout long
domain priority
Use this command to specify the priority value associated with mcec domain.
Use the no form of this command to remove the priority value associated with mcec domain.
Command Syntax
domain-priority <1-65535>
no domain-priority
Parameters
<1-65535>
Priority Value
Default
The default value is 32768.
Command Mode
MCEC mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#config terminal
(config)#mcec domain configuration
(config-mcec-domain)#domain-priority 2
domain-system-number
Use this command to configure domain system number, which uniquely identifies domain system in mcec domain.
Use the no form of this command to configure domain system number.
Command Syntax
domain-systm-number <1-2>
no domain-systm-number
Parameters
<1-2>
Domain System Number
Command Mode
MLAC mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#config terminal
(config)#mcec domain configuration
(config-mcec-domain)#domain-system-number 2
intra-domain-link
Use this command to map an interface as intra domain link that connects the domain system with its neighbor in a mcec domain.
Use the no form of this command to unmap the interface configured as intra domain link that connects the domain system with its neighbor in a mcec domain.
Command Syntax
intra-domain-link <IFNAME>
no intra-domain-link
Parameters
IFNAME
Interface name
Command Mode
MCEC mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#config terminal
(config)#mcec domain configuration
(config-mcec-domain)#intra-domain-link eth2
 
intra-domain-peer
Use this command to map an interface as intra domain peer that connects the domain system with its neighbor in a mcec domain.
Use the no form of this command to unmap the interface configured as intra domain peer that connects the domain system with its neighbor in a mcec domain.
Command Syntax
intra-domain-peer A.B.C.D source-address A.B.C.D (vrf VRF_NAME|)
no intra-domain-peer
Parameters
Peer Address
Peer/Target IPv4 address
A.B.C.D
IPv4 address.
source-address
Source IPv4 address
A.B.C.D
IPv4 address.
VRF_NAME
VRF Interface name
Command Mode
MCEC mode
Applicability
This command was introduced before OcNOS version 3.0.
Example
#config terminal
(config)#mcec domain configuration
(config-mcec-domain)#intra-domain-peer 1.1.1.1 source-address 2.2.2.2 vrf myvrf
mcec domain configuration
Use this command to enter MCEC Domain configuration mode to configure mcec domain information.
Command Syntax
mcec domain configuration
Parameters
None
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#config terminal
(config)#mcec domain configuration
(config-mcec-domain)#
 
mlag
Use this command to create mlag instance.
Note: The mlag interface must be associated to a port channel.
Note: All MLAG nodes must use the same MAC table size.
Use the no form of this command to un-map the mlag instance.
Command Syntax
mlag <1-256>
no mlag
Parameters
<1-256>
MLAG identifier
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 4.1.
Example
#config terminal
(config)#interface mlag1
mode
Use this command to set the MLAG mode.
Use the no form of this command to turn off this feature.
Command Syntax
mode (active-standby)
no mode (active-standby)
Parameters
active-standby
The interface is ready for transition to the active state if a failure occurs in the other node
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 4.0.
Examples
(config)#
(config)#interface mlag1
(config-if)#mode active-standby
show mcec statistics
Use this command to display all the statistics related to hello and info pdu’s in mcec domain.
Command Syntax
show mcec statistics
Parameters
None
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#sh mcec statistics
Unknown MCCPDU received on the system : 0
 
------------------------------------
IDP xe49
------------------------------------
Valid RX Hello PDUs : 109
Valid TX Hello PDUs : 201
Valid RX Info PDUs: 23
Valid TX Info PDUs : 28
Valid RX Mac Sync PDUs : 5
Valid TX Mac Sync PDUs : 4
 
MLAG 1
Valid RX Info PDUs : 5
Valid TX Info PDUs : 7
 
 
Table 6-17 Shows the output details.
Table 6-17: Show mcec statistics details
Entry
Description
RX Hello PDUs
Total number of received hello PDUs.
TX Hello PDUs
Total number of transmitted hello PDUs.
RX Info PDUs
Total number of received Info PDUs.
TX Info PDUs
Total number of transmitted Info PDUs.
RX Mac Sync PDUs
Total number of received Mac Sync PDUs.
TX Mac Sync PDUs
Total number of transmitted Mac Sync PDUs.
show mlag detail
Use this command to display details about MLAG configuration and status.
Command Syntax
show mlag <1-256> detail
Parameters
<1-256>
MLAG group number
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#sh mlag 1 detail
 
MLAG-1
Mapped Aggregator : po1
Admin Key : 32769
Oper Key: 16385
Physical properties Digest : dd 9c f 76 dd b6 5f 2f eb a1 d3 bb 8d 96 fc 82
 
Neigh Admin Key: 16385
Neigh Physical Digest: dd 9c f 76 dd b6 5f 2f eb a1 d3 bb 8d 96 fc 82
Info RCV State : Current
Info Periodic Time State : Standby
Mlag Sync: IN_SYNC
 
 
Table 6-18 Shows the output details.
Table 6-18: Show mlag output details
Entry
Description
Mapped Aggregator
Map the output of the aggregator in the interface which is active transformation.
Admin Key
MLAG administrative key – automatically configured value on each port configured to use MLAG.
Oper Key
MLAG operator key on Partner – automatically configured value on each port configured to use MLAG.
Physical properties Digest
Physical properties of the digest.
Neigh Admin Key
Neigh administrative key – automatically configured value on each port configured to use MLAG.
Neigh Physical Digest
Neigh physical properties of the digest.
Info RCV State
Details of the RCV.
Info Periodic Time State
A simple state space formulation of a general digital periodic time series is constructed.
Mlag Sync
MAC address synchronization enables a MLAG Partner to
forward Layer 3 packets arriving on this interfaces with either its own MAC address or its Partner’s.
 
 
show mlag domain
Use this command to display MLAG configuration and status.
Command Syntax
show mlag domain <details|summary>
Parameters
details
details
summary
summary
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show mlag domain summary
------------------------------------
Domain Configuration
------------------------------------
Domain System Number : 2
Domain Address: 1111.2222.3333
Domain Priority: 1000
Intra Domain Interface: xe49
Domain Adjacency: UP
 
------------------------------------
MLAG Configuration
------------------------------------
 
MLAG-1
Mapped Aggregator: po1
Physical properties Digest: dd 9c f 76 dd b6 5f 2f eb a1 d3 bb 8d 96 fc 82
Total Bandwidth : 40g
Mlag Sync : IN_SYNC
 
 
#sh mlag domain details
------------------------------------
Domain Configuration
------------------------------------
 
Domain System Number: 2
Domain Address: 1111.2222.3333
Domain Priority: 1000
Intra Domain Interface: xe49
 
Hello RCV State: Current
Hello Periodic Timer State: Fast Periodic
Domain Sync : IN_SYNC
Neigh Domain Sync : IN_SYNC
Domain Adjacency : UP
 
------------------------------------
MLAG Configuration
------------------------------------
 
MLAG-1
Mapped Aggregator: po1
Admin Key: 32769
Oper Key: 16385
Physical properties Digest: dd 9c f 76 dd b6 5f 2f eb a1 d3 bb 8d 96 fc 82
 
Neigh Admin Key: 16385
Neigh Physical Digest : dd 9c f 76 dd b6 5f 2f eb a1 d3 bb 8d 96 fc 82
Info RCV State : Current
Info Periodic Time State : Standby
Mlag Sync : IN_SYNC
 
 
Table 6-19 Shows the output details.
Table 6-19: Show mlag summary details
Entry
Description
Domain System Number
Number to identify the node in domain.
Domain Address
Domain address for the MLAG domain.
Domain Priority
Domain priority for the MLAG domain.
Intra Domain Interface
Intra domain interface between MLAG domains.
Domain Adjacency
Domain adjacency details and configuration.
Physical properties Digest
physical properties of the digest algorithm.
Total Bandwidth
Total bandwidth available on the interface.
Domain System Number
Number of the domain system.
Domain Address
Domain address for the MLAG domain.
Domain Priority
Domain priority for the MLAG domain.
Intra Domain Interface
Details of the intra domain in the interface.
Hello RCV State
State of the hello RCV in the interface.
Hello Periodic Timer State
State of the hello periodic timer in the interface.
Domain Sync
Detail of the domain configuration synchronization.
Mapped Aggregator
Map the output of the aggregator in the interface which is active transformation.
Admin Key
MLAG administrative key – automatically configured value on each port configured to use MLAG.
Oper Key
MLAG operator key on Partner – automatically configured value on each port configured to use MLAG.
Physical properties Digest
Physical properties of the digest.
Neigh Admin Key
Neigh administrative key – automatically configured value on each port configured to use MLAG.
Neigh Physical Digest
Neigh physical properties of the digest.
Info RCV State
Details of the RCV.
Info Periodic Time State
A simple state space formulation of a general digital periodic time series is constructed.
Mlag Sync
MAC address synchronization enables a MLAG Partner to
forward Layer 3 packets arriving on this interfaces with either its own MAC address or its Partner’s.
show mlag stp-synchronization status
Use this command to display information about MLAG STP Syncronization status
Command Syntax
show mlag stp-synchronization status
Parameters
stp-synchronization
STP synchronization related show commands
status
STP synchronization status
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show mlag stp-synchronization status
 
Home STP Domain Digest : 27 e7 22 79 76 b2 c8 4e 49 9f b4 45 4f 20 68 aa
Neighbor STP Domain Digest : 27 e7 22 79 76 b2 c8 4e 49 9f b4 45 4f 20 68 aa
STP Sync Status : IN_SYNC
 
------------------------------------------------------
 
MLAG Interface Status:
 
MLAG1:
 
Home Interface Digest : 76 88 b9 cd 43 c1 b0 9d b 86 64 e5 b7 d2 7f a7
Neighbor Interface Digest : 76 88 b9 cd 43 c1 b0 9d b 86 64 e5 b7 d2 7f a7
STP Sync Status : IN_SYNC
#
 
Entry Description
Home STP Domain Digest STP Domain properties of the digest
Neighbor STP Domain Digest Neighbor STP Domain properties of the digest
STP Sync Status Detail of configurated STP synchronization.
Home Interface Digest Interface properties of the digest.
Neighbor Interface Digest Neigh Interface properties of the digest.
 
 
 
show spanning-tree mlag operational-config
Use this command to display the operational information for MLAG.
Command Syntax
show spanning-tree mlag operational-config
Parameters
None
Command Mode
Privilege exec mode
Applicability
This command was introduced before OcNOS version 4.0.
Examples
#show spanning-tree mlag operational-config
Operational Configuration
-----------------------------------------
Bridge Priority : 32768
Pathcost method : Long
Interface : mlag1
Pathcost : 1000
Priority : 0
 
 
show spanning-tree mlag sync-detail
Use this command to display the spanning-tree properties shared with the domain peer node.
Command Syntax
show spanning-tree mlag sync-detail
Parameters
None
Command Mode
Privilege exec mode
Applicability
This command was introduced before OcNOS version 4.0.
Examples
#show spanning-tree mlag sync-detail
Domain Digest Parameters
-----------------------------------------
Max Age : 20
BPDU Filter : Disabled
BPDU Guard : Disabled
Hello time : 2
Forward Delay : 15
Force Version : 2
Err-disable status : Disabled
Err-disable timeout : 300
MSTP Enabled : Enabled
MSTP Bridge Forward : Disabled
Interface Digest parameters
-----------------------------
Port Name : mlag1
Admin Root Guard : Disabled
Admin Edge port : Disabled
Portfast configuration : Disabled
Restricted TCN : Disabled
Admin BPDU filter : Default
Admin BPDU guard : Default
 
 
 
switchover type
Use this command to set the MLAG switchover type.
Use the no form of this command to turn off switchover.
Command Syntax
switchover type revertive <1-255>
switchover type non-revertive
no switchover type (revertive | non-revertive)
Parameters
revertive
If a failure happens that triggers a switchover, after failure recovery the initially-active node
becomes active again
<1-255>
Switch back to the initially-active node this many seconds after failure recovery
non-revertive Do not switch back to the initially-active node after failure recovery
Default
Revertive time as 10 second is the default time.
Command Mode
Privilege exec mode
Applicability
This command was introduced before OcNOS version 4.0.
Examples
(config)#
(config)#interface mlag1
(config-if)#switchover type revertive 20
(config)#
(config)#interface mlag1
(config-if)#switchover type non-revertive