Multicast and Routing Guide K/KA/KB.15.15

Displays specific information on the route and the BGP path attributes of the route.
HP Switch(bgp)# show ip bgp 11.0.0.0/8
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
Network : 11.0.0.0/8 Nexthop : 10.0.102.153
Peer : 10.0.102.153 Origin : igp
Metric : 0 Local Pref :
Weight : 0 Calc. Local Pref : 100
Best : Yes Valid : Yes
Type : external Stale : No
AS-Path : 200
Communities :
Synopsis:
show ip bgp ipv4-addr/masklen regexp aspath-reg-ex
Displays detailed information on the route if the route’s aspath information matches
the supplied regular expression. This will filter both on the prefix/len and the regular
expression.
HP 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.
HP 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
BGP show routines 331