Mc-Lag: Active-Active V1.1
Mc-Lag: Active-Active V1.1
ACTIVE-ACTIVE V1.1
In its basic
North-South are in/out of the Datacenter
East-West are server to server traffic
Spine/
Distribution
MC-LAG
MC-LAG
LAG LAG
Leaf/
Access
LAG LAG
Leaf/
Access
Core Core
Link Link
Node 1 Node 2
ICL
ICC
P
MC-LAG
Access
Switch
Core Core
Link Link
Node 1 Node 2
ICL
ICC
P
MC-LAG
Access
Switch
Access
Following L2 forwarding rules apply: Switch
[…]
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|M|x|x|x| Ver | Message Type |Message Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Message Length | MSG-ID | 1.5.1.1 1.5.1.2
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ICC
| Redundancy Group Id | P
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[…]
MC-LAG
MC-LAG
[edit]
lunkan@mx_2# run show bridge mac-table DR
DL
MAC flags (S -static MAC, D -dynamic MAC, L -locally learned ICC
SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC) P
Routing instance : default-switch
Bridging domain : mclag_1, VLAN : 11 MC-LAG
MAC MAC Logical MC-LAG
address flags interface
00:07:e9:13:a6:3f DR ae1.0
00:07:e9:13:a6:3f
1.5.0.222
C- C-
Link Link
N1 ICC N2
P
ICL
MC-LAG
Access
Switch
force-icl-down; VID 11
[…]
unit 0 {
encapsulation vlan-bridge;
vlan-id 11;
multi-chassis-protection 1.5.1.2 {
interface ae0.0; 00:07:e9:13:a6:3f
1.5.0.222
force-icl-down; VID 11
[…]
unit 0 {
encapsulation vlan-bridge;
vlan-id 11;
multi-chassis-protection 1.5.1.1 {
interface ae0.0;
00:07:e9:13:a6:3f
1.5.0.222
[edit]
lunkan@mx80_1# run 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 lo0 lo0
Topology Type : bridge 1.5.1.1/32 1.5.1.2/32
Local State : up ge-1/3/9
Peer State : up
ae0
Peer Ip/MCP/State : 1.5.1.2 ae0.0 up
ge-1/3/10
[edit]
lunkan@mx_2# run show interfaces mc-ae xe-0/0/0
Member Link : ae1 xe-0/0/0
Current State Machine's State: mcae active state
Local Status : active
Local State : up MC-LAG
ae1
Peer Status : active
Peer State : up
Logical Interface : ae1.0
Topology Type : bridge
Local State : up
Peer State : up
Peer Ip/MCP/State : 1.5.1.1 ae0.0 up
00:07:e9:13:a6:3f
1.5.0.222
ge-1/3/9
ae0
lunkan@mx_1> show interfaces ae1
Physical interface: ae1 (MC-AE-1, active), Enabled, Physical link is Up ge-1/3/10
Interface index: 129, SNMP ifIndex: 608
Description: MCLAG xe-0/0/0 xe-0/0/0
Link-level type: Flexible-Ethernet, MTU: 1522, Speed: 10Gbps,
BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled,
Source filtering: Disabled, Flow control: Disabled, Minimum links needed: 1,
Minimum bandwidth needed: 0 MC-LAG
ae1
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x0
Current address: a8:d0:e5:5d:2d:c1, Hardware address: a8:d0:e5:5d:2d:c1
Last flapped : 2013-10-01 20:51:33 CEST (00:18:17 ago)
Input rate : 880 bps (1 pps)
Output rate : 0 bps (0 pps)
00:07:e9:13:a6:3f
1.5.0.222
lunkan@mx_2# run show route forwarding-table family inet extensive | find 1.2.3.254
Destination: 1.2.3.254/32
Route type: interface
Route reference: 0 Route interface-index: 0
Flags: sent to PFE
Nexthop: 1.2.3.254
Next-hop type: local Index: 1410 Reference: 2
[…]
[edit]
lunkan@mx_1# run show vrrp
Interface State Group VR state VR Mode Timer Type Address
ae0.99 up 1 backup Active D 3.013 lcl 1.2.3.1
vip 1.2.3.254
mas 1.2.3.2
[edit]
lunkan@mx_1# run show route forwarding-table family inet extensive | find 1.2.3.254
Destination: 1.2.3.254/32
Route type: destination
Route reference: 0 Route interface-index: 329
Flags: sent to PFE
Nexthop: 0:0:5e:0:1:1
Next-hop type: unicast Index: 642 Reference: 1
Next-hop interface: ae0.99
lunkan@mx_2# run show route forwarding-table family inet extensive | find 1.5.0.254
Destination: 1.5.0.254/32
Route type: interface
Route reference: 0 Route interface-index: 0
Flags: sent to PFE
Nexthop: 1.5.0.254
Next-hop type: local Index: 1350 Reference: 2
[…]
lunkan@mx_1# run show route forwarding-table family inet extensive | find 1.5.0.254
Destination: 1.5.0.254/32
Route type: interface
Route reference: 0 Route interface-index: 0
Flags: sent to PFE
Nexthop: 1.5.0.254
Next-hop type: local Index: 608 Reference: 2
[edit]
lunkan@mx_1# run show isis interface
IS-IS interface database:
Interface L CirID Level 1 DR Level 2 DR L1/L2 Metric
ae0.1 2 0x1 Disabled Point to Point 10/10
ge-1/0/0.0 2 0x1 Disabled Point to Point 10/10
irb.11 0 0x1 Passive Passive 10/10 00:07:e9:13:a6:3f
lo0.0 0 0x1 Passive Passive 0/0 1.5.0.222
ae0
oskar# iperf -s -u -p 66666
------------------------------------------- -----------------
Server listening on UDP port 1130
Receiving 1470 byte datagrams
UDP buffer size: 41.1 KByte (default) xe-0/0/0 xe-0/0/0
------------------------------------------- -----------------
[ 3] local 1.5.4.111 port 1130 connected w ith 1.5.0.222 port 55244
[ 3] 0.0-10.0 sec 29.8 MBytes 25.0 Mbit s/sec 0.022 ms 3/21277 ( 0.014%)
[ 3] 0.0-10.0 sec 1 datagrams received o ut-of-order ae1 ae1
[lunkan@#localhost ~]$ iperf -c 1.5.4.111 - u -p 66666 -b 25m
------------------------------------------- -----------------
Client connecting to 1.5.4.111, UDP port 11 30
Sending 1470 byte datagrams MC-LAG
UDP buffer size: 176 KByte (default) Src 1.5.0.222
------------------------------------------- -----------------
[ 3] local 1.5.0.222 port 55244 connected with 1.5.4.111 port 1130 Dst 1.5.4.111
[ ID] Interval Transfer Bandwidth UDP Dstport 66666
[ 3] 0.0-10.0 sec 29.8 MBytes 25.0 Mbit s/sec
[ 3] Sent 21278 datagrams
[ 3] Server Report:
[ 3] 0.0-10.0 sec 29.8 MBytes 25.0 Mbit s/sec 0.022 ms 3/21277 (0.014%)
[ 3] 0.0-10.0 sec 1 datagrams received o ut-of-order
[…]
00:07:e9:13:a6:3f
1.5.0.222
ae0
lunkan@mx_2> show interfaces ae1.0 extensive
Logical interface ae1.0 (Index 383) (SNMP ifIndex 572) (Generation 192)
Flags: SNMP-Traps 0x0 VLAN-Tag [ 0x8100.11 ] Encapsulation: VLAN-Bridge
Statistics Packets pps Bytes bps xe-0/0/0 xe-0/0/0
Bundle:
Input : 21280 0 32260480 0
ae1 ae1
Output: 812 11 80264 5664
Link:
xe-0/0/0.0
Input : 21280 0 32260480 0 MC-LAG
Output: 812 11 80264 5664
Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx
xe-0/0/0.0 0 0 0 0
Protocol bridge, MTU: 1522, Generation: 294, Route table: 3
[…]
00:07:e9:13:a6:3f
1.5.0.222
ge-1/3/9
xe-0/0/0
MAC-SYNCs gain is that it takes away Defaultgateway
1.5.0.253
xe-0/0/0
MC-LAG
ae1
volume of VRRP states
force-icl-down; VID 11
[…]
unit 0 {
encapsulation vlan-bridge;
vlan-id 11;
multi-chassis-protection 1.5.1.2 {
interface ae0.0;
force-icl-down; VID 11
[…]
unit 0 {
encapsulation vlan-bridge;
vlan-id 11;
multi-chassis-protection 1.5.1.1 {
interface ae0.0;
[edit]
lunkan@mx80_1# run 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 lo0 lo0
Topology Type : bridge 1.5.1.1/32 1.5.1.2/32
Local State : up ge-1/3/9
Peer State : up
ae0
Peer Ip/MCP/State : 1.5.1.2 ae0.0 up
ge-1/3/10
[edit]
lunkan@mx_2# run show interfaces mc-ae xe-0/0/0
Member Link : ae1 xe-0/0/0
Current State Machine's State: mcae active state
Local Status : active
Local State : up MC-LAG
ae1
Peer Status : active
Peer State : up
Logical Interface : ae1.0
Topology Type : bridge
Local State : up
Peer State : up
Peer Ip/MCP/State : 1.5.1.1 ae0.0 up
Selective
L2 Forwarding
Selective
L2 Forwarding
ae0
lunkan@mx_1> show interfaces ae1.0 extensive
Logical interface ae1.0 (Index 332) (SNMP ifIndex 617) (Generation 141)
Flags: SNMP-Traps 0x0 VLAN-Tag [ 0x8100.11 ] Encapsulation: VLAN-Bridge
Statistics Packets pps Bytes bps xe-0/0/0
Bundle: xe-0/0/0
Input : 8506 0 12895096 0
ae1 ae1
Output: 8 0 624 0
Link:
xe-0/0/0.0
Input : 8506 0 12895096 0 MC-LAG
Output: 8 0 624 0
Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx
xe-0/0/0.0 0 0 0 0
Protocol bridge, MTU: 1522, Generation: 159, Route table: 3
00:07:e9:13:a6:3f
1.5.0.222