Disclaimer: The information contained in this blog is for informational purposes only and should not be considered as official documentation on any subject matter. The postings on this blog are my own and do not necessarily represent the opinions of my current and previous employers.
12/30/2020
12/29/2020
Arista EOS: how to ping link local address under VRF
Here is the subinterface configuration:
interface Ethernet34.4007
description =>v7:Sp4-ck478
mtu 9214
encapsulation dot1q vlan 4007
vrf cust
ipv6 address fe80::1/64 link-local
To ping the remote link-local address, we could use
RtrA#ping vrf cust ipv6 fe80:: interface et34.4007
PING fe80::(fe80::) from fe80::1%et34.4007 et34.4007: 72 data bytes
80 bytes from fe80::1%et31.4007: icmp_seq=1 ttl=64 time=0.076 ms
80 bytes from fe80::1%et31.4007: icmp_seq=2 ttl=64 time=0.029 ms
80 bytes from fe80::1%et31.4007: icmp_seq=3 ttl=64 time=0.027 ms
80 bytes from fe80::1%et31.4007: icmp_seq=4 ttl=64 time=0.027 ms
80 bytes from fe80::1%et31.4007: icmp_seq=5 ttl=64 time=0.032 ms
PING fe80::(fe80::) from fe80::1%et34.4007 et34.4007: 72 data bytes
80 bytes from fe80::1%et31.4007: icmp_seq=1 ttl=64 time=0.076 ms
80 bytes from fe80::1%et31.4007: icmp_seq=2 ttl=64 time=0.029 ms
80 bytes from fe80::1%et31.4007: icmp_seq=3 ttl=64 time=0.027 ms
80 bytes from fe80::1%et31.4007: icmp_seq=4 ttl=64 time=0.027 ms
80 bytes from fe80::1%et31.4007: icmp_seq=5 ttl=64 time=0.032 ms
12/02/2020
Arista EOS: % - Pending BGP convergence when "show bgp evpn"
1. Router(RR) receives 4 bgp evpn prefixes from RRC
wa465-PD.P1-JHM.SR.14:35:52(config-router-bgp-af)#show bgp evpn summary
BGP summary information for VRF default
Router identifier 100.250.250.30, local AS number 65000
Neighbor Status Codes: m - Under maintenance
Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc
100.250.250.11 4 65000 500 487 0 0 00:02:15 Estab 4 4
100.250.250.12 4 65000 504 488 0 0 00:02:15 Estab 4 4
BGP summary information for VRF default
Router identifier 100.250.250.30, local AS number 65000
Neighbor Status Codes: m - Under maintenance
Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc
100.250.250.11 4 65000 500 487 0 0 00:02:15 Estab 4 4
100.250.250.12 4 65000 504 488 0 0 00:02:15 Estab 4 4
2. But "show bgp evpn" complains about "Pending BGP convergence"
wa465-PD.P1-JHM.SR.14:36:48(config-router-bgp-af)#show bgp evpn
BGP routing table information for VRF default
Router identifier 100.250.250.30, local AS number 65000
Route status codes: s - suppressed, * - valid, > - active, E - ECMP head, e - ECMP
S - Stale, c - Contributing to ECMP, b - backup
% - Pending BGP convergence
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop
Network Next Hop Metric LocPref Weight Path
% RD: 100.250.250.12:100 auto-discovery 0 0000:0000:0000:1111:0000
100.250.250.12 - 100 0 i
% RD: 100.250.250.12:1 auto-discovery 0000:0000:0000:1111:0000
100.250.250.12 - 100 0 i
3. Check the NH, it was resolved in the tunnel rib
wa465-PD.P1-JHM.SR.14:37:33(config-router-bgp-af)#show tunnel rib brief | grep 100.250.250.12
100.250.250.12/32 IS-IS SR IPv4 3 65 115 20
4. The cause is the mis-configuration under router bgp evpn address family. The EOS needs to know to resolve the NH by using the mpls NH tunnel rib.
wa465-PD.P1-JHM.SR.14:36:53(config-router-bgp-af)#router bgp 65000
wa465-PD.P1-JHM.SR.14:36:57(config-router-bgp)#add evpn
wa465-PD.P1-JHM.SR.14:37:00(config-router-bgp-af)#neighbor default encapsulation mpls next-hop-self source-interface loopback 0
wa465-PD.P1-JHM.SR.14:37:25(config-router-bgp-af)#show bgp evpn
BGP routing table information for VRF default
Router identifier 100.250.250.30, local AS number 65000
Route status codes: s - suppressed, * - valid, > - active, E - ECMP head, e - ECMP
S - Stale, c - Contributing to ECMP, b - backup
% - Pending BGP convergence
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop
Network Next Hop Metric LocPref Weight Path
* > RD: 100.250.250.12:100 auto-discovery 0 0000:0000:0000:1111:0000
100.250.250.12 - 100 0 i
* > RD: 100.250.250.12:1 auto-discovery 0000:0000:0000:1111:0000
Subscribe to:
Posts (Atom)
