Monitoring BGP Next Hops
Purpose
Display information about all indirect next hops or a particular next hop.
The show ip bgp next-hops and show bgp ipv6 next-hops commands display similar information.
Action
To display information about all indirect next hops or a particular indirect next hop:
host1#show ip bgp next-hops Indirect next-hop 4.4.4.4 Reachable (metric 2) Direct next-hop atm2/0.34 (34.34.34.4) Reference count is 3 Indirect next-hop ::ffff:2.2.2.2 MPLS stacked label 17 Reachable (metric 3) Direct next-hop tun mpls:vpnInL17-23 Reference count is 1 Indirect next-hop 5.5.5.5 Reachable (metric 2) Direct next-hop atm2/0.35 (35.35.35.5) Reference count is 3 Indirect next-hop 6.6.6.6 Reachable (metric 3) Direct next-hop atm2/0.34 (34.34.34.4) atm2/0.35 (35.35.35.5) Reference count is 3 Indirect next-hop 13.13.13.1 Not reachable Reference count is 2
Meaning
Table 1 lists the show ip bgp next-hops command output fields.
Table 1: show ip bgp next-hops Output Fields
Field Name | Field Description |
---|---|
Indirect next-hop | BGP next-hop attribute as received in the BGP update message |
Reachable | Indicates whether or not the indirect next hop is reachable. |
Metric | Metric of the BGP indirect next hop |
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 |