switch(bgp)# show ip bgp 11.0.0.0/8 regexp 20
Local AS : 100 Local Router-id :
Network : 11.0.0.0/8 Nexthop : 10.0.102.40
Peer : 10.0.102.40 Origin : incomplete
Metric : 0 Local Pref :
Weight : 0 Calc. Local Pref: 100
Best : No Valid : Yes
Type : external Stale :
No AS-Path : 200
Communities : 200:20 100:50
Synopsis:
show ip bgp [
ipv4-addr
]
Displays all the routes in the IP routing table, including BGP routes.
ipv4-addr
IP address entered to filter the output to display only a particular host or network in the IP routing table.
switch(bgp)# show ip route
IP Route Entries
Destination Gateway VLAN Type Sub-Type Metric Dist.
-------------------------------------------------------------------
0.0.0.0/0 10.0.0.1 1 static 1 1
10.0.0.0/16 DEFAULT_VLAN 1 connected 1 0
11.0.0.0/8 10.0.102.153 1 bgp 0 20
22.0.0.0/8 10.0.102.40 1 bgp 0 20
33.0.0.0/8 10.0.102.40 1 bgp 0 20
99.0.0.0/8 DEFAULT_VLAN 1 static 1 1
127.0.0.0/8 reject static 0 0
127.0.0.1/32 lo0 connected 1 0
Synopsis:
show ip route bgp [
ipv4-addr
]
Displays only the BGP routes in the IP routing table.
ipv4-addr
IP address entered to filter the output to display only a particular host or network in the BGP routing table.
switch(bgp)# show ip route bgp
IP Route Entries
Destination Gateway VLAN Type Sub-Type Metric Dist.
----------------------------------------------------------------
11.0.0.0/8 10.0.102.153 1 bgp 0 20
22.0.0.0/8 10.0.102.40 1 bgp 0 20
33.0.0.0/8 10.0.102.40 1 bgp 0 20
Synopsis:
show bgp community
comm-nums
Chapter 17 Border Gateway Protocol (BGP)
403