Border Gateway Protocol IPv4 (BGPv4) | 383
show ip bgp next-hop
c e s
View all next hops (via learned routes only) with current reachability and flap status. This command 
only displays one path, even if the next hop is reachable by multiple paths.
Syntax
show ip bgp next-hop
Command Modes
EXEC
EXEC Privilege
Example
Figure 12-20.  Command Example: show ip bgp next-hop 
Command
History
show ip bgp paths
c e s
View all the BGP path attributes in the BGP database.
Syntax
show ip bgp paths [regexp regular-expression]
Table 12-10.  Command Example fields: show ip bgp next-hop
Field Description
Next-hop Displays the next-hop IP address.
Via Displays the IP address and interface used to reach the next hop.
RefCount Displays the number of BGP routes using this next hop.
Cost Displays the cost associated with using this next hop.
Flaps Displays the number of times the next hop has flapped.
Time Elapsed Displays the time elapsed since the next hop was learned. If the route is down, 
then this field displays time elapsed since the route went down.
>show ip bgp next-hop 
 Next-hop        Via                       RefCount  Cost  Flaps Time Elapsed
 63.114.8.33     63.114.8.33, Gi 12/22       240984     0      0 00:18:25    
 63.114.8.34     63.114.8.34, Gi 12/22       135152     0      0 00:18:13    
 63.114.8.35     63.114.8.35, Gi 12/22            1     0      0 00:18:07    
 63.114.8.60     63.114.8.60, Gi 12/22       135155     0      0 00:18:11    
>
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series