show ipv6 bgp neighbors rib-out-routes

Displays information about the current BGP4+ Routing Information Base (Adj-RIB-Out) for specific neighbors and specific destination networks.
Syntax
show ipv6 bgp neighbors ipv6-addr rib-out-routes [ detail ] [ipv6-addr [ / mask ] ]
Parameters
ipv6-addr
IPv6 address of a neighbor in dotted-decimal notation.
last-packet-with-error
Displays the last packet with an error.
routes-summary
Displays routes received, routes accepted, number of routes advertised by peer, and so on.
Modes

User EXEC mode

The show ipv6 bgp neighbors rib-out-routes command displays the following information:

Output field Description

Number of RIB_out routes for a specified neighbor (appears only in display for all RIB routes)

The number of RIB 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 RIB route’s prefix.

Next Hop

The next-hop router for reaching the 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 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 can have a value from 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 RIB 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.
  • E - EBGP. The route was learned through a in another autonomous system.
  • I - IBGP. The route was learned through a in the same autonomous system.
  • L - LOCAL. The route originated on this device.

AS-PATH

The AS-path information for the route.

Examples

The following example displays a summaryabout all RIB routes for neighbor 2001:db8::110.

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

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

The following example displays detailed information about all RIB routes for neighbor 2001:db8::110.

device> show ipv6 bgp neighbor 2001:db8::110 rib-out-routes detail

                     There are 2 RIB_out routes for neighbor 2001:db8::110
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL
1       Prefix: 2001:db8::/32,  Status: BL,  Age: 6d18h17m53s
         NEXT_HOP: ::,  Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 1,  ORIGIN: incomplete,  Weight: 32768
           AS_PATH:
            Adj_RIB_out count: 1,  Admin distance 190
2       Prefix: 2001:db8::/16,  Status: BL,  Age: 6d18h21m8s
         NEXT_HOP: ::,  Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 1,  ORIGIN: incomplete,  Weight: 32768
           AS_PATH:
            Adj_RIB_out count: 1,  Admin distance 190
            Adj_RIB_out count: 1,  Admin distance 190
History