Monitoring BGP Next Hops for VPN
Purpose
Display information about BGP next hops.
Action
To display the next hops for all the VRFs:
host1:pe2#show ip bgp vpnv4 all next-hops
Indirect next-hop 10.1.1.1
Resolution in IP route table of VR
IP indirect next-hop index 10
Reachable (metric 3)
Number of direct next-hops is 1
Direct next-hop ATM4/1.20 (10.20.20.1)
Resolution in IP tunnel-route table of VR
MPLS indirect next-hop index 17
Reachable (metric 3)
Number of direct next-hops is 1
Direct next-hop: MPLS next-hop 18
Reference count is 1Indirect next-hop 10.21.21.2
Resolution in IP route table of VR
IP indirect next-hop index 5
Reachable (metric 0)
Number of direct next-hops is 1
Direct next-hop ATM4/0.21 (10.21.21.2)
Resolution in IP tunnel-route table of VR
MPLS indirect next-hop index 14
Reachable (metric 0)
Number of direct next-hops is 1
Direct next-hop ATM4/0.21.mpls
Reference count is 3To display the next hops for specified VRFs:
host1:pe2#show ip bgp vpnv4 vrf pe22 next-hops
Indirect next-hop 10.61.61.2
Resolution in IP route table of VRF pe22
IP indirect next-hop index 3
Reachable (metric 0)
Number of direct next-hops is 1
Direct next-hop ATM4/0.61 (10.61.61.2)
Resolution in IP tunnel-route table of VRF pe22
Not reachable
Reference count is 2Meaning
Table 95 lists the show ip bgp next-hop command output fields.
Table 95: show ip bgp next-hop Output Fields
Field Name | Field Description |
|---|---|
Indirect next-hop | BGP next-hop attribute as received in the BGP update message |
Resolution | Describes where the indirect next hop is resolved: the IP routing table, the IP tunnel routing table, or both, and whether this is in a VR or VRF |
IP indirect next-hop index | Index number of the IP indirect next hop that this BGP indirect next hop resolves to |
MPLS indirect next-hop index | Index number of the MPLS indirect next hop that this BGP indirect next hop resolves to |
Reachable | Indicates whether or not the indirect next hop is reachable. |
Metric | Metric of the BGP indirect next hop |
Number of direct next-hops | Number of the equal-cost legs of direct next hops that this indirect next hop resolves to |
Direct next-hop | IP interface and next-hop IP address that resolve the BGP indirect next hop; the direct next hop can also be an IP indirect next hop or an MPLS indirect next hop when chains of next hops are in use |
Reference count | Number of label mappings of BGP routes that use this next hop |
Hide Navigation Pane
Show Navigation Pane
SHA1