Verify VPNv4 routes
To check for BGP external paths among the installed VPNv4 routes, issue the command
show bgp vpnv4 unicast all .
In the command output, the status code x best-external indicates that a path
is a best external path, as shown in the following example.
Device#show bgp vpnv4 unicast all
BGP table version is 12211, local router ID is 44.44.44.44
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
t secondary path, L long-lived-stale,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 200:200
*>i 19.1.1.1/32 33.33.33.33 0 600 0 200 2001 i
*b x 21.1.1.2 0 200 2001 i
Device#show bgp vpnv4 unicast all 19.1.1.1/32
BGP routing table entry for 200:200:19.1.1.1/32, version 7682
Paths: (2 available, best #1, no table)
Advertise-best-external
Advertised to update-groups:
1 2
Refresh Epoch 1
200 2001
33.33.33.33 (via default) from 33.33.33.33 (33.33.33.33)
Origin IGP, metric 0, localpref 600, valid, internal, best
Extended Community: RT:100:100 , recursive-via-host
mpls labels in/out 2036/2036
rx pathid: 0, tx pathid: 0x0
Updated on Jun 22 2020 20:54:43 PST
Refresh Epoch 1
200 2001
21.1.1.2 (via default) from 21.1.1.2 (22.22.22.22)
Origin IGP, localpref 100, valid, external, backup/repair, advertise-best-external
Extended Community: RT:100:100 , recursive-via-connected
mpls labels in/out 2036/2035
rx pathid: 0, tx pathid: 0
Updated on Jun 22 2020 20:54:43 PST
Device#
Verify IPv4 LU routes
To check for BGP external paths among the installed IPv4 Labelled Unicast (LU)
routes, issue the command show bgp ipv4 unicast .
In the command output, the status code x best-external indicates that a path
is a best external path, as shown in the following example.
Device#show bgp ipv4 unicast
BGP table version is 5007, local router ID is 44.44.44.44
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
t secondary path, L long-lived-stale,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*bi 11.11.11.11/32 33.33.33.33 11 600 0 i
*> 23.1.1.1 11 32768 i
*>i 66.66.66.66/32 33.33.33.33 11 600 0 200 i
*b x 21.1.1.2 11 0 200 i
Device#show bgp ipv4 unicast 66.66.66.66/32
BGP routing table entry for 66.66.66.66/32, version 7
Paths: (2 available, best #1, table default)
Advertise-best-external
Advertised to update-groups:
1 2 3
Refresh Epoch 1
200
33.33.33.33 from 33.33.33.33 (33.33.33.33)
Origin IGP, metric 11, localpref 600, valid, internal, best
mpls labels in/out 19/19
rx pathid: 0, tx pathid: 0x0
Updated on Jun 22 2020 20:38:02 PST
Refresh Epoch 1
200
21.1.1.2 from 21.1.1.2 (22.22.22.22)
Origin IGP, metric 11, localpref 100, valid, external, backup/repair, advertise-best-external , recursive-via-connected
mpls labels in/out 19/18
rx pathid: 0, tx pathid: 0
Updated on Jun 22 2020 20:37:58 PST
Device#
Verify BGP Best External Path Advertisement
To confirm that an ASBR is advertising a best external path for a VPNv4 unicast
route, issue the command show bgp vpnv4 unicast all neighbor
neighbour-ip-address
advertise-route .
Device#show bgp vpnv4 unicast all neighbors 77.77.77.77 advertised-routes
BGP table version is 16792, local router ID is 44.44.44.44
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
t secondary path, L long-lived-stale,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 200:200
*b x 8.88.88.88/32 21.1.1.2 0 200 2001 i
*b x 88.88.88.88/32 21.1.1.2 0 200 2001 i
Total number of prefixes 2
Device#
To confirm that an ASBR is advertising a best external path for an IPv4 LU route,
issue the command show bgp ipv4 unicast all neighbor
neighbour-ip-address
advertise-route .
Verify the Presence of a Best Internal Path and a Best External Path
To confirm that both a best internal path and a best external path are available for
a node, issue the command show ip cef
dest-ip-address
internal .
Device#show ip cef 66.66.66.66 internal
66.66.66.66/32, epoch 0, flags [rlbls], RIB[B], refcnt 6, per-destination sharing
sources: RIB, RR
feature space:
IPRM: 0x00018000
LFD: 66.66.66.66/32 0 local labels
contains path extension list
dflt label switch chain 0x7FBDE68C24D0
loadinfo 7FBDE68C24D0, per-session, 2 choices, flags 0493, 5 locks
subblocks:
1 RR source [non-eos indirection, heavily shared]
non-eos chain loadinfo 7FBDE1787F60, per-session, flags 0591, 3 locks
ifnums:
Ethernet0/1(3): 11.1.1.3
Ethernet1/3(9): 23.1.1.4