DGS-6604
m
show ip bgp
show ip bgp [IP-ADDRESS[/MASK-LENGTH [ longer-prefixes] ] | route-map NAME ]
Syntax Description
IP-ADDRESS
/MASK-LENGTH
longer-prefixes
route-map NAME
Default
Command Mode
Usage Guideline
Examples
Switch> show ip bgp
BGP table version: 13, local router ID: 10.1.1.99
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network
*> 10.1.1.0/24
*> 172.17.1.0/24
Total Entries: 2 entries, 2 routes
Switch>
CLI Reference Guide
To display entries in the Border Gateway Protocol (BGP) routing table, use the
show ip bgp command in user EXEC or privileged EXEC mode.
(Optional) An IP address entered to filter the output to display only a particular
host or network in the BGP routing table.
(Optional) Mask length to filter or match hosts that are part of the specified
network. It can be in decimal format (i.e. 8).
(Optional) Displays the specified route and all other specific routes.
(Optional) Filters the output based on the specified route map.
None
User EXEC or any configuration mode
The show ip bgp command is used to display the contents of the BGP routing
table.
The following example output shows the BGP routing table:
Next Hop
0.0.0.0
192.168.1.1
Metric
LocPrf
0
0
Weight
Path
32768
i
0
45000 i
show ip bgp
595