EVPN VXLAN: Multi Homing: Missing LACP configuration on PE when CE enabled with LACP
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
High
|
Suresh Balineni | |||
Trunk |
Fix Committed
|
High
|
Suresh Balineni |
Bug Description
When CE device is configured with LACP for EVPN VXLAN Multi-Homing all active mode, PE needs to have lacp enabled on edge interface towards the CE. Device manager is not pushing the required config today. configured the same manually. Working config is mentioned below.
Topology
--------
PE1: QFX2-xe-0/0/46 -------
PE2: QFX3-xe-
PE1
---
root@5b11-qfx3# run show configuration | display set | grep ae0
set interfaces ae0 flexible-
set interfaces ae0 encapsulation extended-
set interfaces ae0 esi 00:11:22:
set interfaces ae0 esi all-active
set interfaces ae0 unit 6 vlan-id 6
set vlans contrail_
set interfaces ae0 aggregated-
set interfaces ae0 aggregated-
set interfaces ae0 aggregated-
set interfaces ae0 aggregated-
set interfaces xe-0/0/42 gigether-options 802.3ad ae0
PE2
---
root@5b11-qfx2# run show configuration interfaces ae0 | display set
root@5b11-qfx3# run show configuration | display set | grep ae0
set interfaces ae0 flexible-
set interfaces ae0 encapsulation extended-
set interfaces ae0 esi 00:11:22:
set interfaces ae0 esi all-active
set interfaces ae0 unit 6 vlan-id 6
set vlans contrail_
set interfaces xe-0/0/42 gigether-options 802.3ad ae0
set interfaces ae0 aggregated-
set interfaces ae0 aggregated-
set interfaces ae0 aggregated-
set interfaces ae0 aggregated-
CE Bond config
---------------
auto p2p1
iface p2p1 inet manual
bond-master bond0
#eth1 ditto, thus creating a 2-link bond.
auto p2p2
iface p2p2 inet manual
bond-master bond0
# bond0 is the bonding NIC and can be used like any other normal NIC.
# bond0 is configured using static network information.
auto bond0
iface bond0 inet manual
hwaddress 90:e2:ba:c4:2e:6d
bond-miimon 100
bond_mode 4
bond_miimon 100
bond_downdelay 200
bond_updelay 200
bond_xmit_
bond_lacp_rate fast
bond-slaves p2p1 p2p2
root@5b11-qfx2# run show lacp interfaces
Aggregated interface: ae0
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
root@5b11-qfx2# run show evpn instance extensive
Instance: __default_evpn__
Route Distinguisher: 172.16.2.1:0
Number of bridge domains: 0
Number of neighbors: 1
Address MAC MAC+IP AD IM ES Leaf-label
172.16.3.1 0 0 0 0 1
Instance: default-switch
Route Distinguisher: 172.16.2.1:1
Encapsulation type: VXLAN
Control word enabled
MAC database status Local Remote
MAC advertisements: 1 6
MAC+IP advertisements: 0 3
Default gateway MAC advertisements: 0 1
Number of local interfaces: 1 (19 up)
Interface name ESI Mode Status AC-Role
ae0.6 00:11:22:
Number of IRB interfaces: 0 (0 up)
Number of bridge domains: 1
VLAN Domain ID Intfs / up IRB intf Mode MAC sync IM route label SG sync IM core nexthop
None 4 1 1 Extended Enabled 4 Disabled
Number of neighbors: 4
Address MAC MAC+IP AD IM ES Leaf-label
172.16.3.1 2 0 2 1 0
172.16.5.10 3 2 1 1 0
172.16.180.101 0 0 0 1 0
172.16.180.102 1 1 0 1 0
Number of ethernet segments: 3
ESI: 00:11:22:
Status: Resolved by IFL ae0.6
Local interface: ae0.6, Status: Up/Forwarding
Number of remote PEs connected: 1
Remote PE MAC label Aliasing label Mode
172.16.3.1 4 0 all-active
Designated forwarder: 172.16.2.1
Backup forwarder: 172.16.3.1
Last designated forwarder update: Aug 19 23:11:25
ESI: 05:00:00:
Status: Resolved
Number of remote PEs connected: 1
Remote PE MAC label Aliasing label Mode
172.16.5.10 4 0 all-active
ESI: 05:00:00:
Status: Resolved
Number of remote PEs connected: 1
Remote PE MAC label Aliasing label Mode
172.16.5.10 5 0 single-homed
Router-ID: 172.16.2.1
Fail over case
----------------
root@5b11-qfx2# run show ethernet-switching table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
Ethernet switching table : 4 entries, 4 learned
Routing instance : default-switch
Vlan MAC MAC Logical Active
name address flags interface source
contrail_
contrail_
contrail_
contrail_
{master:0}[edit]
root@5b11-qfx2# run show ethernet-switching table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
Ethernet switching table : 5 entries, 5 learned
Routing instance : default-switch
Vlan MAC MAC Logical Active
name address flags interface source
contrail_
contrail_
contrail_
contrail_
contrail_
Changed in juniperopenstack: | |
importance: | Undecided → High |
assignee: | nobody → Suresh Balineni (sbalineni) |
milestone: | none → r4.0.1.0 |
description: | updated |
information type: | Proprietary → Public |
Review in progress for https:/ /review. opencontrail. org/35052
Submitter: Suresh Balineni (<email address hidden>)