Chapter 50
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1140 –
Command Mode
Privileged Exec
Example
Console#show ip bgp
BGP table version is 0, local router ID is 192.168.0.2
Status codes: s suppressed, d damped, h history, * valid, > best, i internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>12.0.0.0 10.1.1.121 0 32768 ?
*>100.1.1.0/24 10.1.1.200 0 32768 ?
*>100.1.2.0/24 10.1.1.200 0 32768 ?
*i192.168.0.0/24 0.0.0.0 0 32768 i
Total number of prefixes 4
Console#
Table 24: show ip bgp - display description
Field Description
BGP table version Internal version number of routing table, incremented per table change.
local router ID IP address of router.
Status codes Status of table entry includes these values:
â—†
s – Entry is suppressed.
â—†
d – Entry is dampened.
â—†
h – Entry history
â—†
* – Entry is valid
â—†
> – Best entry for that network
â—†
i – Entry learned via internal BGP (iBGP).
â—†
r – Entry is Routing Information Base (RIB) failure
â—†
S – Entry is stale.
â—†
R – Entry removed.
Origin codes Origin of table entry includes these values:
â—†
i – Entry originated from an Interior Gateway Protocol (IGP) and was
advertised using a network router configuration command.
â—†
e – Entry originated from an Exterior Gateway Protocol (EGP).
â—†
? – Origin of the path undetermined. This normally indicates a route which
has been redistributed into BGP from an IGP.
Network IP address of network entry.
Next Hop IP address of the next router used to reach destination network.
Metric Value of inter-autonomous system metric.
LocPrf Local preference value defined by the set local-preference route-map
configuration command.
Weight Weight of the route determined by autonomous system filters.
Path Autonomous system paths used to reach the destination network.
Total number of
prefixes
Total number of unique route prefixes in the table.