Ato, weird. We switched back to User Configured and created a new network and now it sends correct values towards to Cisco.
We still working on Cisco side to change setup type for ASR. I let you know. Thanks a lot for your help! Odesláno z iPadu 2. 8. 2016 v 19:00, Antonio Sanchez-Monge <[email protected]>: > Hi Jakub, > > It is working fine here: > > bgp.evpn.0: 12 destinations, 12 routes (12 active, 0 holddown, 0 hidden) > * 2:10.0.0.85:1::222::02:54:47:4b:ab:cd/304 (1 entry, 1 announced) > Accepted > Route Distinguisher: 10.0.0.85:1 > Route Label: 13 > ESI: 00:00:00:00:00:00:00:00:00:00 > Nexthop: 10.0.0.85 > MED: 200 > Localpref: 100 > AS path: ? (Originator) > Originator ID: 10.0.0.85 > Communities: target:65001:8000002 unknown iana 30c unknown type 8004 > value fde9:7a1201 unknown type 8071 value fde9:5 > > * 2:10.0.0.85:2::64512::02:e2:cb:0b:e1:d4/304 (1 entry, 1 announced) > Accepted > Route Distinguisher: 10.0.0.85:2 > Route Label: 4032 > ESI: 00:00:00:00:00:00:00:00:00:00 > Nexthop: 10.0.0.85 > MED: 200 > Localpref: 100 > AS path: ? (Originator) > Originator ID: 10.0.0.85 > Communities: target:64512:10001 target:65001:8000001 unknown iana 30c > unknown type 8004 value fde9:7a1201 unknown type 8071 value fde9:4 > > <------------------ > > There is a cosmetic bug in Junos that makes Route Label be offset 4 bits to > the left. So displayed label = int (vni / 16). > > I am running 3.0.2.1-4 but I was discussing yesterday with the expert and he > didn’t mention any recent fix... > > Cheers, > > Ato > > From: Jakub Pavlik <[email protected]> > Date: Tuesday, 2 August 2016 at 18:54 > To: Antonio Sanchez-Monge <[email protected]> > Cc: "[email protected]" <[email protected]>, Marek Čeloud > <[email protected]>, Lichner Ivan <[email protected]> > Subject: Re: [opencontrail-dev] Contrail EVPN VXLAN on Cisco ASR9006 > > Hi Ato, > > yes, when I convert from hex it is VNI number. However it works only in Auto > Configured Vxlan mode. Can you please try User Configured on your side, if > you have zero as well? > > thanks > jakub > > Odesláno z iPadu > > 2. 8. 2016 v 18:46, Antonio Sanchez-Monge <[email protected]>: > > Hi Jakub, > > Please look at the real hex value of the MPLS label. Is it zero? The decoder > considers last 4 bits as ToS, BoS, and that’s not valid for VxLAN. > > Cheers, > > Ato > > From: Jakub Pavlik <[email protected]> > Date: Tuesday, 2 August 2016 at 18:44 > To: Antonio Sanchez-Monge <[email protected]> > Cc: "[email protected]" <[email protected]>, Marek Čeloud > <[email protected]>, Lichner Ivan <[email protected]> > Subject: Re: [opencontrail-dev] Contrail EVPN VXLAN on Cisco ASR9006 > > Hi Ato, > > I downloaded official 3.0.2 and it behaves same with VXLAN User Configured. > When I switched to Automatic, it starts to send appropriate VNI as Ethernet > tag id, but MPLS label is still 0. Should we see VNI tag under MPLS label in > Wireshark? > > Can you send us your capture? > > Thanks > > Jakub > > Odesláno z iPadu > > 2. 8. 2016 v 0:49, Antonio Sanchez-Monge <[email protected]>: > > Hi Jakub, > > First let me clarify one thing. > > I had written: “In that case I think MPLS label 0 is normal but Ethernet Tag > should be different from zero, and it is zero.” > > This is wrong. MPLS label 0 is not normal. I checked with our expert and also > did some tests. In all my tests with 3.0.2, both Ethernet tag and MPLS label > are set to the same non-zero value. This is true both for floating IP and for > non-floating. So what you are seeing in the tcpdump (MPLS label 0, Ethernet > tag 0...) doesn’t look normal. There may be something specific to your setup. > > Would you try to create it from scratch? Please check the route in the > control node introspect (TCP port 8083) and see in the bgp.evpn.0 table what > label value the route has. > > Cheers, > Ato > > From: Antonio Sanchez-Monge <[email protected]> > Date: Monday, 1 August 2016 at 23:38 > To: Jakub Pavlik <[email protected]>, "[email protected]" > <[email protected]> > Cc: Marek Čeloud <[email protected]>, Lichner Ivan > <[email protected]> > Subject: Re: [opencontrail-dev] Contrail EVPN VXLAN on Cisco ASR9006 > > Might be specific of floating IP pool, will have a look tomorrow. > > From: Jakub Pavlik <[email protected]> > Date: Monday, 1 August 2016 at 23:28 > To: Antonio Sanchez-Monge <[email protected]>, "[email protected]" > <[email protected]> > Cc: Marek Čeloud <[email protected]>, Lichner Ivan > <[email protected]> > Subject: Re: [opencontrail-dev] Contrail EVPN VXLAN on Cisco ASR9006 > > Antonio, > > yes, we have VXLAN encapsulation priority and Indetifier Mode is User > Configured. > > It is floating ip pool with VNI 64512 and Route Target 64512:64512 > > Jakub > > On 1.8.2016 23:25, Antonio Sanchez-Monge wrote: > Hi Jakub, > > I guess under “Configure > Infrastructure > Global Config > Forwarding > Options > Encapsulation Priority Order” you have VXLAN on top, right? In that > case I think MPLS label 0 is normal but Ethernet Tag should be different from > zero, and it is zero. > > What is VxLAN Identifier Mode set to? > > How is the VN configured? What VNI does it have? > > Cheers, > Ato > > From: Jakub Pavlik <[email protected]> > Date: Monday, 1 August 2016 at 23:09 > To: Antonio Sanchez-Monge <[email protected]>, "[email protected]" > <[email protected]> > Cc: Marek Čeloud <[email protected]>, Lichner Ivan > <[email protected]> > Subject: Re: [opencontrail-dev] Contrail EVPN VXLAN on Cisco ASR9006 > > Hi Antonio, > > thanks for quick reply! I will try to do change type. > > It is Contrail 3.0.2 (3 weeks old build). > > Thanks a lot! > > Jakub > > > On 1.8.2016 23:06, Antonio Sanchez-Monge wrote: > Hi Jakub, > > Cisco is sending Type 5 (IP Prefix) EVPN routes that we don’t support. Do you > know if there is any way to configure IOS XR so it does generate IP/MAC (Type > 2) EVPN routes instead? > > As for the MPLS Label Stack set to 0 by Contrail, what version are you > running? > > Cheers, > > Ato > > > From: Dev <[email protected]> on behalf of Jakub Pavlik > <[email protected]> > Date: Monday, 1 August 2016 at 22:44 > To: "[email protected]" <[email protected]> > Cc: Marek Čeloud <[email protected]>, Lichner Ivan > <[email protected]> > Subject: Re: [opencontrail-dev] Contrail EVPN VXLAN on Cisco ASR9006 > > There is also log from Cisco box: > > RP/0/RSP0/CPU0:Aug 2 20:36:49.681 : bgp[1058]: [default-rtr]: UPDATE from > 10.171.20.72 contains nh 10.171.20.30/32, gw_afi 0, flags 0x0, nlri_afi 14 > RP/0/RSP0/CPU0:Aug 2 20:36:49.681 : bgp[1058]: [default-rtr]: > NH-Validate-Create: addr=10.171.20.30/32, len=4, nlriafi=14, > nbr=10.171.20.72, gwafi=0, > gwlen=4, gwaddrlen=32::: nhout=0x10a52970, validity=1, > attrwdrflags=0x00000000 > RP/0/RSP0/CPU0:Aug 2 20:36:49.681 : bgp[1058]: [default-rtr]: > --bgp4_rcv_attributes--: END: nbr=10.171.20.72:: msg=0x10043cc0/138, > updlen=119, attrbl > =0x10043cd7/115, ipv4reachlen=0, msginpath=0x3df0ba0, asloopcheck=1, > attrwdrfl=0x00000000:: samecluster=0, local_as_prepended=0, attr_wdr_flags > 0x0000 > 0000, myascount=0:: rcvdata=0x10043d4a/0, errptr=0x10043d16/52 > RP/0/RSP0/CPU0:Aug 2 20:36:49.681 : bgp[1058]: [default-rtr] (l2evpn): > Received UPDATE from 10.171.20.72 with attributes: > RP/0/RSP0/CPU0:Aug 2 20:36:49.681 : bgp[1058]: [default-rtr] (l2evpn): > nexthop 10.171.20.30/32, origin ?, localpref 200, metric 100, originator 10.17 > 1.20.30, extended community Encapsulation Type:8 > 0x8071:0xfc:0x00:0x00:0x00:0x00:0x04 RT:64512:64512 RT:64512:8000004 > RP/0/RSP0/CPU0:Aug 2 20:36:49.681 : bgp[1058]: [default-rtr] (l2evpn): > Received prefix v4Addr:10.171.20.30:2:[2][0][48][02b2.de4a.7e30][32][10.167.0. > 4]/136 (path ID: none) with MPLS label 0 from neighbor 10.171.20.72 > RP/0/RSP0/CPU0:Aug 2 20:36:49.681 : bgp[1058]: [default-rtr] (l2evpn): > Prefix v4Addr:10.171.20.30:2:[2][0][48][02b2.de4a.7e30][32][10.167.0.4]/136 (p > ath ID: none) received from 10.171.20.72 DENIED RT extended community is not > imported locally > > On 1.8.2016 22:39, Jakub Pavlik wrote: > Hello all, > > does anybody tested Contrail 3.X with Cisco ASR9006 IOS XR Software, Version > 5.3.3 with EVPN VxLAN? > > We are trying to run EVPN. BGP peering is established, but there is mismatch > in BGP update messages. We are getting this from contrail controller: > > > > > > > > 2016-08-01 Mon 16:45:35:074.937 CEST ntw01 [Thread 140320977651456, Pid > 8325]: BGP [SYS_WARN]: BgpPeerMessageLog: BGP Peer default-domain:default-pro > ject:ip-fabric:__default__:ntw01:default-domain:default-project:ip-fabric:__default__:ASR9006-1 > RECV MP NLRI parse error for e-vpn route controller/sr > c/bgp/bgp_peer.cc 1178 > > > I attached also captured tcpdump files with update messages from contrail to > cisco (contrail) and from cisco to contrail (cisco). > > Thanks, > > Jakub > > > > > > > > > _______________________________________________ > Dev mailing list > [email protected] > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org > > > > > > > > -- > Jakub Pavlik > CTO > > [tcp ◕ cloud] > > +420 602 177 027 > [email protected] > > tcp cloud a.s. > Thamova 16 > 186 00 Praha 8 - Karlin > Czech republic > http://tcpcloud.eu > http://opentcpcloud.org > > > > > > > -- > Jakub Pavlik > CTO > > [tcp ◕ cloud] > > +420 602 177 027 > [email protected] > > tcp cloud a.s. > Thamova 16 > 186 00 Praha 8 - Karlin > Czech republic > http://tcpcloud.eu > http://opentcpcloud.org > > > > > > -- > Jakub Pavlik > CTO > > [tcp ◕ cloud] > > +420 602 177 027 > [email protected] > > tcp cloud a.s. > Thamova 16 > 186 00 Praha 8 - Karlin > Czech republic > http://tcpcloud.eu > http://opentcpcloud.org > _______________________________________________ > Dev mailing list > [email protected] > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org > _______________________________________________ > Dev mailing list > [email protected] > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org > _______________________________________________ > Dev mailing list > [email protected] > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
_______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
