Displaying bgp4+ route information – Brocade BigIron RX Series Configuration Guide User Manual

Page 1318

Advertising
background image

1240

BigIron RX Series Configuration Guide

53-1002484-04

Displaying BGP4+ information

46

Displaying BGP4+ route information

You can display all BGP4+ routes known by a switch, only those routes that match a specified
prefix, or routes that match a specified or longer prefix.

To display all BGP4+ routes known by the switch, enter the following command at any level of the
CLI.

Syntax: show ipv6 bgp <ipv6-prefix>/<prefix-length> [longer-prefixes]

The <ipv6-prefix>/<prefix-length> parameter allows you to display routes that match a specified
BGP prefix only. You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values
between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a
decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the
<prefix-length> parameter.

The longer-prefixes keyword allows you to display routes that match a specified or longer BGP
prefix. For example, if you specify 2002::/16 longer-prefixes, then all routes with the prefix
2002::/16 or that have a longer prefix (such as 2002:e016::/32) are displayed.

To display only those routes that match prefix 2002::/16, enter the following command at any level
of the CLI.

For example, to display routes that match prefix 2002::/16 or longer, enter the following command
at any level of the CLI.

These displays show the following information:

BigIron RX# show ipv6 bgp

Total number of BGP Routes: 2

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

*

>

2002::/16 :: 1 100 32768 ?

*

>

2002:1234::/32 :: 1 100 32768 ?

BigIron RX# show ipv6 bgp 2002::/16

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

*

>

2002::/16 :: 1 100 32768 ?

Route is advertised to 1 peers:

2000:4::110(65002)

BigIron RX# show ipv6 bgp 2002::/16 longer-prefixes

Number of BGP Routes matching display condition : 3

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

*

>

2002::/16 :: 1 100 32768 ?

*

>

2002:1234::/32 :: 1 100 32768 ?

*

>

2002:e0ff::/32 :: 1 100 32768 ?

Route is advertised to 1 peers:

2000:4::110(65002)

Advertising