Configuring BGP4

Displaying the Best Received Routes

To display the routes received from a specific neighbor that are the “best” routes to their destinations, enter a command such as the following at any level of the CLI:

HP9300(config-bgp-router)# show ip bgp neighbor 192.168.4.211 received-routes best

Syntax: show ip bgp neighbor <ip-addr> received-routes best

For information about the fields in this display, see Table 10.9 on page 10-105.The fields in this display also appear in the show ip bgp display.

Displaying the Best Received Routes that Were Nonetheless Not Installed in the IP Route Table

To display the BGP4 routes received from a specific neighbor that are the “best” routes to their destinations but are not installed in the routing switch’s IP route table, enter a command such as the following at any level of the CLI:

HP9300(config-bgp-router)# show ip bgp neighbor 192.168.4.211 received-routes not­ installed-best

Each of the displayed routes is a valid path to its destination, but the routing switch received another path from a different source (such as OSPF, RIP, or a static route) that has a lower administrative distance. The routing switch always selects the path with the lowest administrative distance to install in the IP route table.

Syntax: show ip bgp neighbor <ip-addr> received-routes not-installed-best

For information about the fields in this display, see Table 10.9 on page 10-105.The fields in this display also appear in the show ip bgp display.

Displaying the Received Routes Whose Destinations Are Unreachable

To display BGP4 routes whose destinations are unreachable using any of the BGP4 paths in the BGP4 route table, enter a command such as the following at any level of the CLI:

HP9300(config-bgp-router)# show ip bgp neighbor 192.168.4.211 received-routes unreachable

Syntax: show ip bgp neighbor <ip-addr> received-routes unreachable

For information about the fields in this display, see Table 10.9 on page 10-105.The fields in this display also appear in the show ip bgp display.

Displaying the Adj-RIB-Out for a Neighbor

To display the routing switch’s current BGP4 Routing Information Base (Adj-RIB-Out) for a specific neighbor and a specific destination network, enter a command such as the following at any level of the CLI:

HP9300(config-bgp-router)# show ip bgp neighbor 192.168.4.211 rib-out-routes 192.168.1.0/24

Status

A:AGGREGATE B:BEST

b:NOT-INSTALLED-BEST I:IBGP L:LOCAL

 

 

 

Network

ML Next Hop

Metric

LocPrf

Weight Status

1

200.1.1.0

24

0.0.0.0

0

101

32768

BL

The Adj-RIB-Out contains the routes that the routing switch either has most recently sent to the neighbor or is about to send to the neighbor.

Syntax: show ip bgp neighbor <ip-addr> rib-out-routes [<ip-addr>/<prefix>]

For information about the fields in this display, see Table 10.9 on page 10-105.The fields in this display also appear in the show ip bgp display.

USING THE WEB MANAGEMENT INTERFACE

1.Log on to the device using a valid user name and password for read-only or read-write access. The System configuration panel is displayed.

2.Click on the plus sign next to Monitor in the tree view to expand the list of monitoring options.

3.Click on the plus sign next to BGP in the tree view to expand the list of BGP option links.

4.Click on the Neighbor link to display the BGP Neighbor Statistics panel.

10 - 101