beautypg.com

Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 548

background image

Status codes: s suppressed, d damped, h history, * valid, > best, i internal, S

stale

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop MED LocPrf Weight Path

*> 2001:db8:10:10::/64 :: 1 100 32768 ?

*> 2001:db8:113:113::/64 ::

1 100 32768 i

*> 2001:db8:400:400::/64 ::1

0 100 32768 i

*i 2001:db8:400:400::/64 2001:db8:400:400::2

0 400 0 65005 65010 ?

*>i 2001:db8:824:824::/64 2001:db8:400:400::2

0 400 0 65005 65010 i

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

The ipv6-prefix and prefix-length parameters allow 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 2001:db8:/16 longer-prefixes , then all routes with the prefix
2001:db8::/16 or that have a longer prefix (such as 2001:db8::/32) are displayed.

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

device# show ipv6 bgp 2001:db8:400:400::/64

Number of BGP Routes matching display condition : 2

Status codes: s suppressed, d damped, h history, * valid, > best, i internal

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop MED LocPrf Weight Path

*> 2001:db8:400:400::/64 ::

0 100 32768 i

*i 2001:db8:400:400::/64 2001:db8:400:400::2

0 400 0 65005 65010 ?

Route is advertised to 1 peers:

2001:db8:400:400::2(65020)

Route is to be sent to 2 peers:

2001:db8:400::2(65020) 2001:db8:113:113::2(65001)

0 400 0 65005 65010 i

For example, to display routes that match prefix 2001:db8:400:400::/64 or longer, enter the following
command at any level of the CLI.

device# show ipv6 bgp 2001:db8:400:400::/64 longer-prefixes

Number of BGP Routes matching display condition : 2

Status codes: s suppressed, d damped, h history, * valid, > best, i internal

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop MED LocPrf Weight Path

*> 2001:db8:400:400::/64 ::

0 100 32768 i

*i 2001:db8:400:400::/64 2001:db8:400:400::2

0 400 0 65005 65010 ?

show ipv6 bgp output descriptions

TABLE 106

This field...

Displays...

Total number of BGP
Routes (appears in display
of all BGP routes only)

The number of routes known by the device.

Configuring BGP4+

548

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04