Reference Guide
Usage 
Information
The following describes the show ip bgp next-hop command shown in the following 
example.
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, this field displays time elapsed since the route went 
down.
Example
FTOS>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
FTOS>
show ip bgp paths
View all the BGP path attributes in the BGP database.
S4820T
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 (zero or more 
sequences).
• + = (plus) the sequences in a pattern (one or more 
sequences).
• ? = (question mark) sequences in a pattern (either zero or 
one sequences).
NOTE: Enter an escape sequence (CTRL+v) prior to 
entering the ? regular expression.
• [ ] = (brackets) a range of single-character patterns.
• ( ) = (parenthesis) groups a series of pattern elements to a 
single element.
• { } = (braces) minimum and the maximum match count.
• ^ = (caret) the beginning of the input string. If you use the 
caret at the beginning of a sequence or range, it matches on 
everything BUT the characters specified.
360










