Professional Documents
Culture Documents
Release
NCE 64
Modified: 2016-08-01
Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc. in the United
States and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks of Juniper Networks, Inc. All other
trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify,
transfer, or otherwise revise this publication without notice.
Network Configuration Example Configuring Multichassis Link Aggregation on a QFX Series Switch
NCE 64
Copyright © 2016, Juniper Networks, Inc.
All rights reserved.
The information in this document is current as of the date on the title page.
Juniper Networks hardware and software products are Year 2000 compliant. Junos OS has no known time-related limitations through the
year 2038. However, the NTP application is known to have some difficulty in the year 2036.
The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with) Juniper Networks
software. Use of such software is subject to the terms and conditions of the End User License Agreement (“EULA”) posted at
http://www.juniper.net/support/eula.html. By downloading, installing or using such software, you agree to the terms and conditions of
that EULA.
An MC-LAG adds node-level redundancy to the normal link-level redundancy that a LAG
provides. An MC-LAG improves network resiliency, which reduces network down time as
well as expenses.
In data centers, it is desirable for servers to have redundant connections to the network.
You probably want active-active connections along with links from any server to at least
two separate switches.
An MC-LAG allows you to bond two or more physical links into a logical link between two
switches or between a server and a switch, which improves network efficiency. An MC-LAG
enables you to load balance traffic on multiple physical links. If a link fails, the traffic can
be forwarded through the other available link and the logical aggregated link remains in
the UP state.
Link aggregation (IEEE 802.3ad) solves some of these problems by enabling users to
use more than one link connection between switches. All physical connections are
considered one logical connection. The problem with standard link aggregation is that
the connections are point to point.
Multichassis link aggregation groups (MC-LAGs) enable a client device to form a logical
LAG interface between two MC-LAG peers (QFX3500 and QFX3600 devices). An MC-LAG
provides redundancy and load balancing between the two MC-LAG peers, multihoming
support, and a loop-free Layer 2 network without running the Spanning Tree Protocol
(STP).
On one end of an MC-LAG, there is an MC-LAG client device, such as a server, that has
one or more physical links in a link aggregation group (LAG). This client device does not
need to have an MC-LAG configured. On the other side of the MC-LAG, there are two
MC-LAG peers. Each of the MC-LAG peers has one or more physical links connected to
a single client device.
The MC-LAG peers use Interchassis Control Protocol (ICCP) to exchange control
information and coordinate with each other to ensure that data traffic is forwarded
properly.
The following sections provide an overview of the terms and features associated with
MC-LAG:
Active-Active Mode
In active-active mode, all member links are active on the MC-LAG. In this mode, MAC
addresses learned on one MC-LAG peer are propagated to the other MC-LAG peer.
Active-active mode is the only mode supported at this time.
The interchassis link-protection link (ICL-PL) provides redundancy when a link failure
(for example, an MC-LAG trunk failure) occurs on one of the active links. The ICL-PL can
be either a 10-Gigabit Ethernet interface or an aggregated Ethernet interface. You can
configure only one ICL-PL between the two peers, although you can configure multiple
MC-LAGs between them.
Failure Handling
Configuring ICCP adjacency over aggregated links mitigates the possibility of a split-brain
state. A split brain state occurs when the ICL-PL configured between the MC-LAG peers
goes down. To work around this problem, enable backup liveness detection. With backup
liveness enbabled, the MC-LAG peers can communicate through the keepalive link.
During a split-brain state, the standby peer brings down local members in the MC-LAG
links by changing the LACP system ID. When the ICCP connection is active, both of the
MC-LAG peers use the configured LACP system ID. If the LACP system ID is changed
during failures, the server that is connected over the MC-LAG removes these links from
the aggregated Ethernet bundle.
When the ICL-PL is operationally down and the ICCP connection is active, the LACP state
of the links with status control configured as standby is set to the standby state. When
the LACP state of the links is changed to standby, the server that is connected over the
MC-LAG makes these links inactive and does not use them for sending data.
Table 1 on page 8 describes the different ICCP failure scenarios. The dash means that
the item is not applicable.
Split-brain states bring down the MC-LAG link completely if the primary peer members
are also down for other reasons. Recovery from the split-brain state occurs automatically
when the ICCP adjacency comes up between the MC-LAG peers.
faster convergence, if all local members of the MC-LAG link are down, outbound traffic
on the MC-LAG is redirected to the ICL-PL interface on the data plane.
Layer 3 Routing
To provide Layer 3 routing functions to downstream clients, configure the same gateway
address on both MC-LAG network peers. To upstream routers, the MC-LAG network
peers could be viewed as either equal-cost multipath (ECMP) or two routes with different
preference values.
STP might detect local miswiring loops within the peer or across MC-LAG peers.
• Disable STP on ICL-PL links; otherwise, it might block ICL-PL ports and disable
protection.
• Do not enable bridge protocol data unit (BPDU) block on interfaces connected to
aggregation switches.
For more information about BPDU block, see Understanding BPDU Protection for STP,
RSTP, and MSTP.
NOTE: After a reboot, the MC-AE interfaces come up immediately and might
start receiving packets from the server. If routing protocols are enabled, and
the routing adjacencies have not been formed, packets might be dropped.
1. Make sure that both of the MC-LAG peers (node1 and node2) are in the active-active
state using the following command on any one of the MC-LAG peers:
When node1 is upgraded it is rebooted, and all traffic is sent across the available LAG
interfaces of node2, which is still up. The amount of traffic lost depends on how quickly
the neighbor devices detect the link loss and rehash the flows of the LAG.
3. Verify that node1 is running the software you just installed. Issue the show version
command.
4. Make sure that both nodes of the MC-LAG (node1 and node2) are in the active-active
state after the reboot of node1.
• Learned MAC addresses are propagated across MC-LAG peers for all of the VLANs
that are spawned across the peers.
• Aging of MAC addresses occurs when the MAC address is not seen on both of the
peers.
• MAC addresses learned on single-homed links are propagated across all of the
VLANs that have MC-LAG links as members.
• Flooding happens on all links across peers if both peers have virtual LAN membership.
Only one of the peers forwards traffic on a given MC-LAG link.
• Known and unknown multicast packets are forwarded across the peers by adding
the ICL-PL port as a multicast router port.
• During an MC-LAG peer reboot, known multicast traffic is flooded until the IGMP
snooping state is synced with the peer.
Configure the ICL-PL interface as a router-facing interface. For the scenario in which
traffic arrives by way of a Layer 3 interface, PIM and IGMP must be enabled on the RVI
interface configured on the MC-LAG peers.
• Routed VLAN interface (RVI) MAC address synchronization enables MC-LAG peers to
forward Layer 3 packets arriving on MC-AE interfaces with either its own RVI MAC
address or its peer’s RVI MAC address.
• DHCP Relay with option 82 enables option 82 on the MC-LAG peers. Option 82 provides
information about the network location of DHCP clients. The DHCP server uses this
information to implement IP addresses or other parameters for the client.
NOTE: You must configure VRRP on both MC-LAG peers in order for both
the active and standby members to accept and route packets. Additionally,
configure the VRRP backup router to send and receive ARP requests.
Routing protocols run on the primary IP address of the RVI, and both of the MC-LAG peers
run routing protocols independently. The routing protocols use the primary IP address
of the RVI and the RVI MAC address to communicate with the MC-LAG peers. The RVI
MAC address of each MC-LAG peer is replicated on the other MC-LAG peer and is installed
as a MAC address that has been learned on the ICL-PL.
NOTE: If you need routing capability, configure both VRRP and routing
protocols on each MC-LAG peer.
Control packets destined for a particular MC-LAG peer that arrive on an MC-AE interface
of its MC-LAG peer are not forwarded on the ICL-PL interface. Additionally, using the
gateway IP address as a source address when you issue either a ping, traceroute, telnet,
or FTP request is not supported.
To enable RVI MAC address synchronization, issue the set vlan vlan-name l3_interface
rvi-name mcae-mac-synchronize on each MC-LAG peer. Configure the same IP address
on both MC-LAG peers. This IP address is used as the default gateway for the MC-LAG
servers or hosts.
When one of the MC-LAG peers restarts, the ARP destinations on its MC-LAG peer are
synchronized. Because the ARP destinations are already resolved, its MC-LAG peer can
forward Layer 3 packets out of the MC-AE interface.
NOTE: ARP and MAC address tables normally stay synchronized in MC-LAG
configurations, but might get out of sync under certain network conditions
(such as link flapping). To ensure these tables remain in sync while those
conditions are being resolved, we recommend enabling the arp-l2-validate
statement on IRB interfaces in an MC-LAG configuration, as follows:
This option turns on validation of ARP and MAC table entries, automatically
applying updates if they become out of sync.
• Do not use the chassis MAC address as part of the remote ID string.
• If the ICL-PL interface receives DHCP request packets, the packets are dropped to
avoid duplicate packets in the network.
A counter called Due to received on ICL interface has been added to the show helper
statistics command, which tracks the packets that the ICL-PL interface drops.
The output shows that six packets received on the ICL-PL interface have been dropped.
When configuring a PVLAN, you must configure the ICL-PL interface as the PVLAN trunk
interface for the PVLAN. This is essential for traffic to be switched to the required primary
and secondary ports of the PVLAN across the MC-LAG peers.
Layer 3 Multicast
• PIM Operation With Normal Mode DR Election on page 14
• PIM Operation with Dual-DR Mode on page 15
• Configuration Guidelines and Caveats on page 15
Protocol Independent Multicast (PIM) and Internet Group Management Protocol (IGMP)
provide support for Layer 3 multicast, In addition to the standard mode of PIM operation,
there is a special mode called PIM dual DR (designated router). PIM dual DR minimizes
traffic loss in case of failures.
In normal mode DR election, the RVI interfaces on both of the MC-LAG peers are
configured with PIM enabled. In this mode, one of the MC-LAG peers becomes the DR
through the PIM DR election mechanism. The elected DR maintains the rendevous-point
tree (RPT) and shortest-path tree (SPT) so it can receive data from the source device.
The elected DR participates in periodic PIM join and prune activities toward the rendevous
point (RP) or the source.
The trigger for initiating these join and prune activities is the IGMP membership reports
that are received from interested receivers. IGMP reports received over MC-AE interfaces
(potentially hashing on either of the MC-LAG peers) and single-homed links are
synchronized to the MC-LAG peer through ICCP.
Both MC-LAG peers receive traffic on their incoming interface (IIF). The non-DR receives
traffic by way of the ICL-PL interface, which acts as a multicast router (mrouter) interface.
If the DR fails, the non-DR has to build the entire forwarding tree (RPT and SPT), which
can cause multicast traffic loss.
In this mode, both of MC-LAG peers act as DRs (active and backup) and send periodic
join and prune messages upstream towards the RP, or source, and eventually join the
RPT or SPT.
The primary MC-LAG peer forwards the multicast traffic to the receiver devices even if
the standby MC-LAG peer has a smaller preference metric.
The standby MC-LAG peer also joins the forwarding tree and receives the multicast data.
The standby MC-LAG peer drops the data because it has an empty outgoing interface
list (OIL). When the standby MC-LAG peer detects the primary MC-LAG peer failure, it
adds the receiver VLAN to the OIL, and starts to forward the multicast traffic
To enable a multicast dual DR, issue the set protocols pim interface interface-name dual-dr
command on the VLAN interfaces of each MC-LAG peer.
• Configure the IP address on the active MC-LAG peer with a high IP address or a high
DR priority. To ensure that the active MC-LAG peer retains the DR membership
designation if PIM neighborship with the peer goes down.
• Using Bidirectional Forwarding Detection (BFD) and RVI MAC synchronization together
is not supported because ARP fails.
• When using RVI MAC synchronization, make sure that you configure the primary IP
address on both MC-LAG peers. Doing this ensures that both MC-LAG peers cannot
become assert winners.
• The number of BFD sessions on RVIs with PIM enabled is restricted to 100. Also, If you
have more than 100 RVIs configured, do not configure BFD, and make sure that the
hello interval is 2 seconds.
Multichassis link aggregation groups (MC-LAGs) enable a client device to form a logical
LAG interface between two switches. An MC-LAG provides redundancy and load balancing
between the two switches, multihoming support, and a loop-free Layer 2 network without
running Spanning Tree Protocol (STP).
On one end of an MC-LAG is an MC-LAG client device, such as a server, that has one or
more physical links in a link aggregation group (LAG). This client device does not need
to detect the MC-LAG. On the other side of an MC-LAG are two MC-LAG switches. Each
of the switches has one or more physical links connected to a single client device. The
switches coordinate with each other to ensure that data traffic is forwarded properly.
• Requirements on page 16
• Overview on page 16
• Configuration on page 17
• Troubleshooting on page 30
Requirements
This example uses the following hardware and software components automatic power
reduction :
• Two switches
NOTE: This configuration example has been tested using the software release
listed and is assumed to work on all later releases.
Before you configure an MC-LAG, be sure that you understand how to:
Overview
In this example, you configure an MC-LAG across two switches, consisting of two
aggregated Ethernet interfaces, an interchassis control link-protection link (ICL-PL),
multichassis protection link for the ICL-PL, ICCP for the peers hosting the MC-LAG, and
Layer 3 connectivity between MC-LAG peers. Layer 3 connectivity is required for ICCP.
Topology
The topology used in this example consists of two switches hosting an MC-LAG. The two
switches are connected to a server. Figure 1 on page 17 shows the topology of this
example.
Table 2: Components of the Topology for Configuring a Multichassis LAG Between Two Switches
Configuration
CLI Quick To quickly configure this example, copy the following commands, paste them in a text
Configuration file, remove any line breaks, change any details necessary to match your network
configuration, and paste the commands into the CLI at the [edit] hierarchy level of Switch
A.
Switch A:
[edit]
user@switch# set multi-chassis multi-chassis-protection 3.3.3.2 interface ae0
Switch B:
[edit]
user@switch# set multi-chassis multi-chassis-protection 3.3.3.1 interface ae0
1. Configure the local IP address to be in the ICCP connection on Switch A and Switch
B.
Switch A:
[edit protocols]
user@switch# set iccp local-ip-addr 3.3.3.2
Switch B:
[edit protocols]
user@switch# set iccp local-ip-addr 3.3.3.1
2. Configure the peer IP address and minimum receive interval for a (BFD) session for
ICCP on Switch A and Switch B.
Switch A:
[edit protocols]
user@switch# set iccp peer 3.3.3.1 liveness-detection minimum-receive-interval 60
Switch B:
[edit protocols]
user@switch# set iccp peer 3.3.3.2 liveness-detection minimum-receive-interval 60
3. Configure the peer IP address and minimum transmit interval for Bidirectional
Forwarding Detection (BFD) session for ICCP on Switch A and Switch B.
Switch A:
[edit protocols]
user@switch# set iccp peer 3.3.3.1 liveness-detection transmit-interval minimum-interval
60
Switch B:
[edit protocols]
user@switch# set iccp peer 3.3.3.2 liveness-detection transmit-interval minimum-interval
60
4. (Optional) Configure the time during which an ICCP connection must succeed
between MC-LAG peers on Switch A and Switch B.
Switch A:
[edit protocols]
user@switch# set iccp peer 3.3.3.1 session-establishment-hold-time 50
Switch B:
[edit protocols]
user@switch# set iccp peer 3.3.3.2 session-establishment-hold-time 50
5. (Optional) Configure the backup IP address to be used for backup liveness detection
on both Switch A and Switch B.
Switch A:
[edit protocols]
user@switch# set iccp peer 3.3.3.1 backup-liveness-detection backup-peer-ip 10.207.64.233
Switch B:
[edit protocols]
NOTE: At least one end needs to be active. The other end can be either
active or passive.
[edit interfaces]
user@switch# set ae1 aggregated-ether-options lacp active
2. Specify the same multichassis aggregated Ethernet identification number on both
MC-LAG peers on Switch A and Switch B.
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae mc-ae-id 3
3. Specify a unique chassis ID for the MC-LAG on the MC-LAG peers on Switch A and
Switch B.
Switch A:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae chassis-id 0
Switch B:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae chassis-id 1
4. Specify the operating mode of the MC-LAG on both Switch A and Switch B.
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae mode active-active
5. Specify the status control for MC-LAG on Switch A and Switch B.
NOTE: You must configure status control on both Switch A and Switch
B hosting the MC-LAG. If one peer is in active mode, the other must be
in standby mode.
Switch A:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae status-control active
Switch B:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae status-control standby
6. Specify the number of seconds by which the bring-up of the MC-AE interface should
be deferred after you reboot Switch A and Switch B.
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae init-delay-time 240
7. Specify the same LACP system ID for the MC-LAG on Switch A and Switch B.
[edit interfaces]
user@switch# set ae1 aggregated-ether-options lacp system-ID 00:01:02:03:04:05
8. Specify the same LACP administration key on both Switch A and Switch B.
[edit interfaces]
user@switch# set ae1 aggregated-ether-options lacp admin-key 3
9. Enable a VLAN on the MC-LAG on Switch A and Switch B.
[edit interfaces]
user@switch# set ae1 unit 0 family ethernet-switching port-mode trunk
[edit]
user@switch# set vlans v100 vlan-id 100
[edit interfaces]
user@switch# set ae1 unit 0 family ethernet-switching vlan members v100
10. (Optional) Enable a private VLAN on the MC-LAG on Switch A and Switch B.
[edit]
user@switch# set vlans vlan100 pvlan isolation-vlan-id 200
extend-secondary-vlan-id
[edit]
user@switch# set vlans vlan100 interface ae0.0 pvlan-trunk
[edit]
user@switch# set protocols rstp interface ae1.0 edge
4. Enable BPDU blocking on all interfaces except for the ICL-PL interfaces on Switch
A and Switch B.
[edit]
user@switch# set protocols rstp bpdu-block-on-edge
Verification
To verify that the MC-LAG group has been created and is working properly, perform these
tasks:
Action [edit]
user@switch# show iccp
Redundancy Group Information for peer 3.3.3.1
TCP Connection : Established
Liveliness Detection : Up
Meaning This output shows that the TCP connection between the peers hosting the MC-LAG is
up, liveness detection is up, and MCSNOOPD and ESWD client applications are running.
[edit]
user@switch# show iccp
Redundancy Group Information for peer 3.3.3.2
TCP Connection : Established
Liveliness Detection : Up
Meaning This output shows that the TCP connection between the peers hosting the MC-LAG is
up, liveness detection is up, and MCSNOOPD and ESWD client applications are running.
Action [edit]
user@switch# show lacp interfaces
Aggregated interface: ae1
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
xe-0/0/46 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/46 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
xe-0/0/46 Current Fast periodic Collecting distributing
Action [edit]
user@switch# show lacp interfaces
Purpose Verify that the MC-AE and ICL-PL interfaces are up on Switch A.
Action [edit]
user@switch# show interfaces mc-ae
Member Link : ae1
Current State Machine's State: mcae active state
Local Status : active
Local State : up
Peer Status : active
Peer State : up
Logical Interface : ae1.0
Topology Type : bridge
Local State : up
Peer State : up
Peer Ip/MCP/State : 3.3.3.1 ae0.0 up
Meaning This output shows that the MC-AE interface on Switch A is up and active.
Purpose Verify that the MC-AE and ICL-PL interfaces are up on Switch B.
Action [edit]
user@switch# show interfaces mc-ae
Member Link : ae1
Current State Machine's State: mcae active state
Local Status : active
Local State : up
Peer Status : active
Peer State : up
Logical Interface : ae1.0
Topology Type : bridge
Local State : up
Peer State : up
Peer Ip/MCP/State : 3.3.3.2 ae0.0 up
Meaning This output shows that the MC-AE interface on Switch B is up and active.
Action [edit]
user@switch# show ethernet-switching table
Ethernet-switching table: 10 entries, 4 learned, 0 persistent entries
VLAN MAC address Type Age Interfaces
V100 * Flood - All-members
V100 00:10:94:00:00:05 Learn(L) 33 ae0.0 (MCAE)
Action [edit]
user@switch# show ethernet-switching table
Ethernet-switching table: 10 entries, 4 learned, 0 persistent entries
VLAN MAC address Type Age Interfaces
V100 * Flood - All-members
V100 00:10:94:00:00:05 Learn(L) 33 ae0.0 (MCAE)
Results
chassis {
aggregated-devices {
ethernet {
device-count 2;
}
}
}
interfaces {
xe-0/0/12 {
ether-options {
802.3ad ae0;
}
}
xe-0/0/13 {
ether-options {
802.3ad ae0;
}
}
xe-0/0/44 {
ether-options {
802.3ad ae1;
}
}
ae0 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members v500;
}
}
}
}
ae1 {
aggregated-ether-options {
lacp {
active;
system-id 00:01:02:03:04:05;
admin-key 3;
}
mc-ae {
mc-ae-id 3;
chassis-id 0;
mode active-active;
status-control active;
init-delay-time 240
}
}
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members v100;
}
}
}
}
vlan {
unit 500 {
family inet {
address 3.3.3.2/24;
}
}
}
}
protocols {
iccp {
local-ip-addr 3.3.3.2;
peer 3.3.3.1 {
session-establishment-hold-time 50;
backup-liveness-detection {
backup-peer-ip 10.207.64.233;
}
liveness-detection {
minimum-receive-interval 60;
transmit-interval {
minimum-interval 60;
}
}
}
}
rstp {
interface ae0.0 {
disable;
}
interface ae1.0 {
edge;
}
interface all {
mode point-to-point;
}
bpdu-block-on-edge;
}
}
multi-chassis {
multi-chassis-protection 3.3.3.1 {
interface ae0;
}
}
vlans {
v100 {
vlan-id 100;
}
v500 {
vlan-id 500;
l3-interface vlan.500;
}
}
chassis {
aggregated-devices {
ethernet {
device-count 2;
}
}
}
interfaces {
xe-0/0/12 {
ether-options {
802.3ad ae0;
}
}
xe-0/0/13 {
ether-options {
802.3ad ae0;
}
}
xe-0/0/46 {
ether-options {
802.3ad ae1;
}
}
ae0 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members v500;
}
}
}
}
ae1 {
aggregated-ether-options {
lacp {
active;
system-id 00:01:02:03:04:05;
admin-key 3;
}
mc-ae {
mc-ae-id 3;
chassis-id 1;
mode active-active;
status-control standby;
init-delay-time 240
}
}
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members v100;
}
}
}
}
vlan {
unit 500 {
family inet {
address 3.3.3.1/24;
}
}
}
}
protocols {
iccp {
local-ip-addr 3.3.3.1;
peer 3.3.3.2 {
session-establishment-hold-time 50;
backup-liveness-detection {
backup-peer-ip 10.207.64.233;
}
liveness-detection {
minimum-receive-interval 60;
transmit-interval {
minimum-interval 60;
}
}
}
}
rstp {
interface ae0.0 {
disable;
}
interface ae1.0 {
edge;
}
interface all {
mode point-to-point;
}
bpdu-block-on-edge;
}
}
multi-chassis {
multi-chassis-protection 3.3.3.2 {
interface ae0;
}
}
vlans {
v100 {
vlan-id 100;
}
v500 {
vlan-id 500;
l3-interface vlan.500;
}
}
Troubleshooting
Problem The show interfaces terse command shows that the MC-LAG is down
• Verify that the MC-LAG is part of family Ethernet switching (Layer 2 LAG).
• Verify that the MC-LAG member is connected to the correct MC-LAG member at the
other end.
Multichassis link aggregation groups (MC-LAGs) enable a client device to form a logical
LAG interface between two switches. An MC-LAG provides redundancy and load balancing
between the two switches, multihoming support, and a loop-free Layer 2 network without
running the Spanning Tree Protocol (STP). At this time, MC-LAGs support only Layer 2
features.
The MC-LAG switches use the Interchassis Control Protocol (ICCP) to exchange the
control information between two MC-LAG switches.
On one end of an MC-LAG is an MC-LAG client device, such as a server, that has one or
more physical links in a link aggregation group (LAG). This client device does not need
to detect the MC-LAG. On the other side of MC-LAG are two MC-LAG switches. Each of
the switches has one or more physical links connected to a single client device. The
switches coordinate with each other to ensure that data traffic is forwarded properly.
1. Specify the same multichassis aggregated Ethernet identification number for the
MC-LAG that the aggregated Ethernet interface belongs to on each switch.
[edit interfaces]
user@switch# set aeX aggregated-ether-options mc-ae mc-ae-id number
For example:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae mc-ae-id 3
2. Specify a unique chassis ID for the MC-LAG that the aggregated Ethernet interface
belongs to on each switch.
[edit interfaces]
user@switch# set aeX aggregated-ether-options mc-ae chassis-id number
For example:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae chassis-id 0
3. Specify the mode of the MC-LAG the aggregated Ethernet interface belongs to.
[edit interfaces]
user@switch# set aeX aggregated-ether-options mc-ae mode mode
For example:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae mode active-active
NOTE: You must configure status control on both switches hosting the
MC-LAG. If one switch is in active mode, the other must be in standby
mode.
[edit interfaces]
user@switch# set aeX aggregated-ether-options mc-ae status-control (active | standby)
For example:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options mc-ae status-control active
5. Specify the same LACP system ID on each switch.
[edit interfaces]
user@switch# set aeX aggregated-ether-options lacp system-id mac-address
For example:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options lacp system-id 00:01:02:03:04:05
6. Specify the same LACP administration key on each switch.
[edit interfaces]
user@switch# set aeX aggregated-ether-options lacp admin-key number
For example:
[edit interfaces]
user@switch# set ae1 aggregated-ether-options lacp admin-key 3
7. Configure ICCP by doing the following on each switch hosting the MC-LAG:
a. Configure the local IP address to be used by all switches hosting the MC-LAG.
[edit protocols]
user@switch# set iccp local-ip-addr local-ip-address
For example:
[edit protocols]
user@switch# set iccp local-ip-addr 3.3.3.1
b. (Optional) Configure the IP address of the switch and the time during which an
ICCP connection must succeed between the switches hosting the MC-LAG.
[edit protocols]
user@switch# set iccp peer 3.3.3.2 session-establishment-hold-time 50
c. (Optional) Configure the IP address to be used for backup liveness detection:
[edit protocols]
user@switch# set iccp peer peer-ip-address backup-liveness-detection backup-peer-ip
ip-address
For example:
[edit protocols]
user@switch# set iccp peer 3.3.3.2 backup-liveness-detection backup-peer-ip
10.207.64.232
d. Configure the minimum interval at which the switch must receive a reply from the
other switch with which it has established a Bidirectional Forwarding Detection
(BFD) session.
[edit protocols]
user@switch# set iccp peer peer-ip-address liveness-detection minimum-receive-interval
seconds
For example:
[edit protocols]
user@switch# set iccppeer 3.3.3.2 liveness-detection minimum-receive-interval 60
e. Configure the minimum transmit interval during which a switch must receive a
reply from a switch with which it has established a BFD session.
[edit protocols]
user@switch# set iccp peer peer-ip-address liveness-detection transmit-interval
minimum-interval seconds
For example:
[edit protocols]
user@switch# set iccp peer 3.3.3.2 liveness-detection transmit-interval minimum-interval
60
8. Configure a multichassis protection link between the switches.
[edit]
user@switch# set multi-chassis multi-chassis-protection peer-ip-address interface
interface-name
For example:
[edit protocols]
user@switch# set multi-chassis multi-chassis-protection 3.3.3.1 interface ae0
9. Enable RSTP globally on all interfaces.
[edit]
user@switch# set protocols rstp interface all mode point-to-point
10. Disable RSTP on the ICL-PL interfaces on both switches.
[edit]
user@switch# set protocols rstp interface interface-name disable
For example:
[edit]
user@switch# set protocols rstp interface ae0.0 disable
11. Configure the MC-LAG interfaces as edge ports on both switches.
[edit]
user@switch# set protocols rstp interface ae1.0
12. Enable BPDU block on all interfaces except for the ICL-PL interfaces on both switches.
[edit]
user@switch# set protocols rstp bpdu-block-on-edge
For example:
[edit]
user@switch# set protocols rstp bpdu-block-on-edge