Configuring BGP4

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 Information for a Specific Route

To display information for a specific BGP4 routes, use either of the following methods.

USING THE CLI

To display BGP4 network information by specifying an IP address within the network, enter a command such as the following at any level of the CLI:

HP9300(config-bgp-router)# show ip bgp 7.7.7.1

 

 

 

 

 

Number of BGP Routes matching display

condition : 1

 

 

Status codes: s suppressed, d damped, h history, * valid, >

best, i internal

Origin codes: i - IGP, e - EGP, ? - incomplete

 

 

 

 

 

Network

Next Hop

Metric

LocPrf

Weight

Path

 

*>

7.7.7.0/24

192.168.4.211

0

101

0

65001

i

Syntax: show ip bgp [route] <ip-addr>/<prefix> [longer-prefixes] <ip-addr>

If you use the route option, the display for the information is different, as shown in the following example:

HP9300(config-bgp-router)# show ip bgp route 7.7.7.1

 

 

 

 

Number of BGP Routes matching display condition : 1

 

 

Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED

 

 

H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED

 

 

 

Network

ML Next Hop

Metric

LocPrf

Weight Status

1

7.7.7.0

24

192.168.4.211

0

101

0

b

These displays show the following information.

 

 

 

 

 

 

Table 10.9: BGP4 Network Information

 

 

 

 

 

 

 

 

 

 

This Field...

 

 

Displays...

 

 

 

 

 

 

 

Number of BGP Routes matching

 

The number of routes that matched the display parameters you

display condition

 

 

entered. This is the number of routes displayed by the command.

 

 

 

 

Status codes

 

 

A list of the characters the display uses to indicate the route’s status.

 

 

 

 

The status code appears in the left column of the display, to the left of

 

 

 

 

each route. The status codes are described in the command’s output.

 

 

 

 

Note: This field appears only if you do not enter the route option.

 

 

 

 

 

 

 

 

Network

 

 

 

The network address.

 

 

 

 

 

 

 

 

ML

 

 

 

The length of the CIDR network mask for the route. The number

 

 

 

 

displayed in this column is the number of bits in the mask.

 

 

 

 

Note: This field appears only if you enter the route option.

 

 

 

 

 

Next Hop

 

 

 

The next-hop router for reaching the network from the routing switch.

 

 

 

 

 

Metric

 

 

 

The value of the route’s MED attribute. If the route does not have a

 

 

 

 

metric, this field is blank.

 

 

 

 

 

 

 

 

LocPrf

 

 

 

The degree of preference for this route relative to other routes in the

 

 

 

 

local AS. When the BGP4 algorithm compares routes on the basis of

 

 

 

 

local preferences, the route with the higher local preference is chosen.

 

 

 

 

The preference can have a value from 0 – 4294967295.

 

 

 

 

 

 

 

 

 

 

10 - 105