Displaying bgp4+ route information – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual
Page 340
326
Brocade Virtual ADX Switch and Router Guide
53-1003246-01
Displaying BGP4+ information
9
The route-map name parameter filters the display using the specified route map. The software
displays only the routes that match the match statements in the route map. The software
disregards the route map’s set statements.
The summary keyword displays summary information for the routes.
The unreachable keyword displays the routes that are unreachable because the Virtual ADX device
does not have a valid OSPFv3 or static IPv6 route to the next hop.
Displaying BGP4+ route information
You can display all BGP4+ routes known by a Virtual ADX device, 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 Virtual ADX device, 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 2001:db8:2002::/16 longer-prefixes, then all routes with the
prefix 2001:db8:2002::/16 or that have a longer prefix (such as 2001:db8:2002:e016::/32) are
displayed.
To display only those routes that match prefix 2001:db8:2002::/16, enter the following command
at any level of the CLI.
For example, to display routes that match prefix 2001:db8:2002::/16 or longer, enter the following
command at any level of the CLI.
Virtual ADX# 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
*> 2001:db8:2002::/16 :: 1 100 32768 ?
*> 2001:db8:2002:1234::/32 :: 1 100 32768 ?
Virtual ADX# show ipv6 bgp 2001:db8: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
*> 2001:db8:2002::/16 :: 1 100 32768 ?
Route is advertised to 1 peers:
2001:db8:2000:4::110(65002)