beautypg.com

Displaying the bgp4+ route table – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 335

background image

Brocade Virtual ADX Switch and Router Guide

321

53-1003246-01

Displaying BGP4+ information

9

NOTE

The show commands implemented for BGP4+ correspond to the show commands implemented for
IPv4 BGP. For example, you can specify the show ipv6 bgp command for IPv6 and the show ip bgp
command for IPv4. Also, the displays for the IPv4 and IPv6 versions of the show commands are
similar except where relevant, IPv6 neighbor addresses replace IPv4 neighbor addresses, IPv6
prefixes replace IPv4 prefixes, and IPv6 next-hop addresses replace IPv4 next-hop addresses.

Displaying the BGP4+ route table

BGP4+ uses filters you define, as well as an algorithm to determine the preferred route to a
destination. BGP4+ sends only the preferred route to the Virtual ADX device’s IPv6 table. However,
if you want to view all the routes BGP4+ knows about, you can display the BGP4+ table.

To display the BGP4+ route table, enter the following command at any level of the CLI.

This display shows the following information.

TABLE 1

Summary of BGP4+ routes

This field...

Displays...

Number of BGP4+ Routes

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 Status column of the display. The status codes are
described in the command’s output.

Prefix

The route’s prefix.

Next Hop

The next-hop router for reaching the route from the Virtual ADX device.

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 the advertised 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 Virtual ADX device associates with routes from a specific
neighbor. For example, if the Virtual ADX receives routes to the same
destination from two BGP4+ neighbors, the Virtual ADX prefers the route from
the neighbor with the larger weight.

Virtual ADX# show ipv6 bgp routes

Total number of BGP Routes: 2

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

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

Prefix Next Hop Metric LocPrf Weight Status

1 2001:db8:2002::/16 :: 1 100 32768 B

AS_PATH:

2 2001:db8:2002:1234::/32 :: 1 100 32768 BL

AS_PATH: