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 MC-LAG.
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 in OcNOS version 1.3.6.
Examples
#clear mcec statistics
debug mcec
Use this command to view debugging logs for MC-LAG.
Use the no form of this command to remove debugging logs for MC-LAG.
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-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
domain hello timeout
Use this command to specify the domain hello-timeout value.
Command Syntax
domain-hello-timeout (long|short)
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
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-system-number <1-2>
no domain-system-number
Parameters
<1-2>
Domain System Number
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-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 in OcNOS-OTN version 4.2.
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 map a port-channel to an MC-LAG instance.
Note: The MC-LAG port-channel (interface) must be created before mapping.
Note: All MC-LAG nodes must use the same MAC table size.
Use the no form of this command to un-map the port channel from the MC-LAG instance.
Command Syntax
mlag <1-255>
no mlag
Parameters
<1-255>
MC-LAG identifier
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3 and updated for static channel groups in OcNOS version 1.3.6.
Example
#config terminal
(config)#interface mlag1
(config-if)#switchport
(config-if)#bridge-group 1
(config-if)#switchport mode trunk
(config-if)#switchport mode trunk allowed vlan all
(config-if)#exit
(config)#interface sa1
(config-if)#switchport
(config-if)#mlag 1
(config-if)#exit
#configure terminal
(config)#interface sa1
(config-if)#no mlag
mode
Use this command to set the MC-LAG mode.
Use the no form of this command to turn off this feature.
Command Syntax
mode (active-active | active-standby)
no mode (active-active | active-standby)
Parameters
active-active
The interface is the active interface that carries the traffic
active-standby
The interface is ready to transition to the active state should a failure occur in the other node
Default
active-active
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#
(config)#interface mlag1
(config-if)#mode active-active
(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
Valid RX Dhcps Sync PDUs : 2
Valid TX Dhcps Sync PDUs : 1
MLAG 1
Valid RX Info PDUs : 5
Valid TX Info PDUs : 7
Table 6-14 Shows the output details.
Table 6-13: 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. |
RX Dhcps Sync PDUs | Total number of received Dhcps Sync PDUs |
TX Dhcps Sync PDUs | Total number of transmitted Dhcps Sync PDUs |
show mlag detail
Use this command to display details about MC-LAG configuration and status.
Command Syntax
show mlag <1-255> detail
Parameters
<1-255>
MC-LAG group number
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3 and updated for static channel groups in OcNOS version 1.3.6.
Examples
#sh mlag 1 detail
MLAG-17
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
Mode : Active
Table 6-14 Shows the output details.
Table 6-14: Show mlag output details
Entry | Description |
---|
Mapped Aggregator | Map the output of the aggregator in the interface which is active transformation. |
Admin Key | Administrative key: automatically configured value on each port configured to use MC-LAG. |
Oper Key | MLAG operator key on partner: automatically configured value on each port configured to use MC-LAG. |
Physical properties Digest | Physical properties of the digest. |
Neigh Admin Key | Neigh administrative key: automatically configured value on each port configured to use MC-LAG. |
Neigh Physical Digest | Neighbor 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. |
Mlag Sync | MAC address synchronization: enables a MC-LAG 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 MC-LAG configuration and status.
Command Syntax
show mlag domain (summary|details)
Parameters
summary
Summary
details
Details
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3 and updated for static channel groups in OcNOS version 1.3.6.
Examples
#show mlag domain summary
------------------------------------
Domain Configuration
------------------------------------
Domain System Number : 1
Domain Address : 1111.2222.3333
Domain Priority : 32768
Intra Domain Interface : sa5
Domain Adjacency : UP
------------------------------------
MLAG Configuration
------------------------------------
MLAG-1
Mapped Aggregator : sa1
Physical properties Digest : d a6 26 2d fa 9a 5c 7b e6 15 79 c2 d5 9c 57 cc
Total Bandwidth : 40g
Mlag Sync : IN_SYNC
Mode : Active
MLAG-2
Mapped Aggregator : sa2
Physical properties Digest : ae 56 a1 c5 b9 dc 46 a4 5d 97 dc 79 9c 6f a5 c8
Total Bandwidth : 40g
Mlag Sync : IN_SYNC
Mode : Active
#show mlag domain details
------------------------------------
Domain Configuration
------------------------------------
Domain System Number : 1
Domain Address : 1111.2222.3333
Domain Priority : 32768
Intra Domain Interface : sa5
Hello RCV State : Current
Hello Periodic Timer State : Slow Periodic
Domain Sync : IN_SYNC
Neigh Domain Sync : IN_SYNC
Domain Adjacency : UP
------------------------------------
MLAG Configuration
------------------------------------
MLAG-1
Mapped Aggregator : sa1
Admin Key : 16385
Oper Key : 16385
Physical properties Digest : d a6 26 2d fa 9a 5c 7b e6 15 79 c2 d5 9c 57 cc
Neigh Admin Key : 32769
Neigh Physical Digest : d a6 26 2d fa 9a 5c 7b e6 15 79 c2 d5 9c 57 cc
Info RCV State : Current
Info Periodic Time State : Standby
Total Bandwidth : 40g
Mlag Sync : IN_SYNC
MLAG-2
Mapped Aggregator : sa2
Admin Key : 16386
Oper Key : 16386
Physical properties Digest : ae 56 a1 c5 b9 dc 46 a4 5d 97 dc 79 9c 6f a5 c8
Neigh Admin Key : 32770
Neigh Physical Digest : ae 56 a1 c5 b9 dc 46 a4 5d 97 dc 79 9c 6f a5 c8
Info RCV State : Current
Info Periodic Time State : Standby
Total Bandwidth : 40g
Mlag Sync : IN_SYNC
Table 6-15 Shows the output details.
Table 6-15: Show mlag summary details
Entry | Description |
---|
Domain System Number | Number to identify the node in domain. |
Domain Address | Domain address for the MC-LAG domain. |
Domain Priority | Domain priority for the MC-LAG domain. |
Intra Domain Interface | Intra domain interface between MC-LAG 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 MC-LAG domain. |
Domain Priority | Domain priority for the MC-LAG 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 | Administrative key:automatically configured value on each port configured to use MC-LAG. |
Oper Key | MLAG operator key on partner:automatically configured value on each port configured to use MC-LAG. |
Physical properties Digest | Physical properties of the digest. |
Neigh Admin Key | Neighbot administrative key: automatically configured value on each port configured to use MC-LAG. |
Neigh Physical Digest | Neighbor 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. |
Mlag Sync | MAC address synchronization: enables a MC-LAG partner to forward Layer 3 packets arriving on this interfaces with either its own MAC address or its partner’s. |
show spanning-tree mlag operational-config
Use this command to display the operational information for MC-LAG.
Command Syntax
show spanning-tree mlag operational-config
Parameters
None
Command Mode
Privilege exec mode
Applicability
This command was introduced in OcNOS version 1.3.6.
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 in OcNOS version 1.3.6.
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 MC-LAG 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
in 10 seconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#
(config)#interface mlag1
(config-if)#switchover type revertive 20
(config)#
(config)#interface mlag1
(config-if)#switchover type non-revertive