Configuring BGP4

Displaying Route Details

Here is an example of the information displayed when you use the detail option. In this example, the information for one route is shown.

HP9300# show ip bgp routes detail

 

 

 

 

 

Total number of BGP Routes: 516985

 

 

 

 

 

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

 

 

H:HISTORY I:IB GP L:LOCAL M:MULTIPATH S:SUPPRESSED

 

 

 

Network

 

Next Hop

 

Metric

LocPrf

Weight

Origin

1

0.0.0.0/0

192.169.103.1

 

None

100

0

IGP

 

Atomic

AGGREGATION(ID

AS)

Originator

Cluster List

 

 

None

0.0.0.0

 

0

None

None

 

 

 

Status

Learned From

Distance

RIB_out Communities

 

 

 

B

192.169.103.1

20

10

Internet

 

 

remaining entries not shown...

These displays show the following information.

 

 

Table 10.10: BGP4 Network Information

 

 

 

 

 

 

 

This Field...

 

Displays...

 

 

 

 

 

 

 

Total number of BGP Routes

 

The number of BGP4 routes.

 

 

 

 

 

 

 

Status codes

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

output.

 

 

 

 

 

 

 

Network

 

The network address.

 

 

 

 

 

 

 

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.

 

 

 

 

 

 

 

Weight

 

The value that this router associates with routes from a specific

 

 

 

 

neighbor. For example, if the router receives routes to the same

 

 

 

 

destination from two BGP4 neighbors, the router prefers the route

 

 

 

 

from the neighbor with the larger weight.

 

 

 

 

 

 

 

Origin

 

The source of the route information. The origin can be one of the

 

 

 

 

following:

 

 

 

 

• EGP – The routes with this set of attributes came to BGP through

 

 

 

 

EGP.

 

 

 

 

• IGP – The routes with this set of attributes came to BGP through

 

 

 

 

IGP.

 

 

 

 

• INCOMPLETE – The routes came from an origin other than one

 

 

 

 

of the above. For example, they may have been redistributed

 

 

 

 

from OSPF or RIP.

 

 

 

 

When BGP4 compares multiple routes to a destination to select the

 

 

 

 

best route, IGP is preferred over EGP and both are preferred over

 

 

 

 

INCOMPLETE.

 

 

 

 

 

 

 

 

 

 

 

10 - 107