show ip bgp next-hop
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.
C-Series, E-Series
Syntax
show ip bgp next-hop [local-routes]
Parameters
local-routes (OPTIONAL) Show next-hop information for local routes.
Command Modes
• EXEC
• EXEC Privilege
Command History
Version 8.2.1.0 Introduced on the E-Series ExaScale.
Version 7.4.1.0 Introduced
Example
FTOS#show ip bgp next-hop
Next-hop Via RefCount Cost Flaps Time
Elapsed
9000::5:2 9000::5:2, Gi 8/38 2 0 0 00:23:22
9000::6:2 9000::6:2, Gi 8/38 2 0 0 00:23:22
9000::7:2 9000::7:2, Gi 8/38 2 0 0 00:23:22
9000::8:2 9000::8:2, Gi 8/38 2 0 0 00:23:22
9000::9:2 9000::9:2, Gi 8/38 6000 0 0 00:23:16
9000::a:2 9000::a:2, Gi 8/38 2 0 0 00:23:22
FTOS#
show ip bgp paths
View all the BGP path attributes in the BGP database.
C-Series, E-Series
Syntax
show ip bgp paths [regexp regular-expression]
Parameters
regexp
regular-
expression
Enter a regular expression then use one or a combination of the
following characters to match:
• . = (period) any single character (including a white space).
• * = (asterisk) the sequences in a pattern (0 or more
sequences).
• + = (plus) the sequences in a pattern (1 or more sequences).
• ? = (question mark) sequences in a pattern (either 0 or 1
sequences). You must enter an escape sequence (CTRL+v)
prior to entering the ? regular expression.
• [ ] = (brackets) a range of single-character patterns.
509