show ipv6 bgp neighbors advertised-routes

Displays the routes that the device has advertised to the neighbor during the current BGP4+ session.
Syntax
show ipv6 bgp neighbors ipv6-addr advertised-routes [ detail | / mask-bits ]
Parameters
ipv6-addr
Specifies the IPv6 address of a neighbor in dotted-decimal notation.
detail
Specifies detailed information.
mask-bits
Specifies the number of mask bits in CIDR notation.
Modes

User EXEC mode

The show ipv6 bgp neighbor advertised-routes command displays the following information:

Output field Description

Number of BGP4+ Routes advertised to specified neighbor (appears only in display for all 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 advertised route’s prefix.

Next Hop

The next-hop for reaching the advertised route from the device.

MED

The value of the advertised 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 autonomous system. When the BGP4+ algorithm compares routes on the basis of local preferences, the route with the higher local preference is chosen. The preference range is 0 - 4294967295.

Weight

The value that this device associates with routes from a specific neighbor. For example, if the receives routes to the same destination from two BGP4+ neighbors, the prefers the route from the neighbor with the larger weight.

Status

The advertised route’s status, which can be one or more of the following:

  • A - AGGREGATE. The route is an aggregate route for multiple networks.
  • B - BEST. BGP4+ has determined that this is the optimal route to the destination.
  • b - NOT-INSTALLED-BEST - BGP4+ has determined that this is the optimal route to the destination but did not install it in the IPv6 route table because the device received better routes from other sources (such as OSPFv3, RIPng, or static IPv6 routes).
  • E - EBGP. The route was learned through a in another AS.
  • I - IBGP. The route was learned through a in the same AS.
  • L - LOCAL. The route originated on this device.

AS-PATH

The AS-path information for the route.

Examples

The following example displays the routes the device has advertised to a specified neighbor.

device> show ipv6 bgp neighbor 2001:db8::110 advertised-routes

There are 2 routes advertised to neighbor 2001:db8::110
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL
       Prefix           Next Hop   MED LocPrf   Weight Status
1      2001:db8::/32    ::         1            32768  BL
         AS_PATH:
2      2001:db8::/16    ::         1            32768  BL
         AS_PATH:
History