show bgp ipv6

Use this command in privileged EXEC mode to display IPv6 routes in the BGP routing table.

Format show bgp ipv6 [ipv6-prefix|prefix-length [longer-prefixes | shorter-prefixes [length]] | filter-list as-path-list]
Mode Privileged EXEC
Parameter Description
ipv6-prefix prefix-length (Optional) Limits the output to a specific prefix.
longer-prefixes (Optional) Display the specified prefix and any longer prefixes within the same range.
shorter-prefixes (Optional) Used with the ipv6-prefix|prefix-length option to show routes whose prefix length is shorter than prefix-length and, optionally, longer than a specified length. This option may not be given if the longer-prefixes option is given.
as-path-list (Optional) Filter the output to the set of routes that match a given AS Path list. This option may not be given if an ipv6-prefix|prefix-length option is given.

The command output displays the following information.

Parameter Description
BGP table version Each time phase 2 of the BGP decision process runs to select new BGP routes, this number is incremented
Status codes
  • s: The route is aggregated into an aggregate address configured with the summary-only option
  • *: LCOS SX BGP never displays invalid routes; so this code is always displayed
  • >: Indicates that BGP has selected this path as the best path to the destination
  • i: If the route is learned from an internal peer
Network IPv6 destination prefix
Next Hop The IPv6 route's BGP NEXT HOP
Metric Multi Exit Discriminator
LocPrf The local preference
Path The AS path
Origin The value of the Origin attribute

Example: The following shows example CLI display output for the command.

(R1) # show bgp ipv6

BGP table version is 5, local router ID is 20.1.1.1
Status codes: s suppressed, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network               Next Hop     Metric   LocPrf   Path
*> 2001:DB8::/48      3FFE:100::1         10      100   20 10 i
                      3FFE:200::4
*> 2001:DB8:4:5::/64  3FFE:100::1         10      100   20 10 ?

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo