Viewing BGPv6 routes

Display information about BGPv6 routes.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Enter Privileged EXEC mode:

    enable

  3. Display information about BGP routes:

    show bgp ipv6 route [<WORD 1-256> [longer-prefixes]] [community <enable|disable>] [ipv6 <WORD 1-256>] [vrf <WORD 1-16>] [vrfids <0-255>]

Variable Definitions

The following table defines parameters for the show bgp ipv6 route command.

Variable

Value

[<WORD 1-256>]

Specifies the IPv6 prefix and the prefix length (must be an integer value between 0 and 128).

community <enable|disable>

Enables or disables the display of community attributes.

ipv6 <WORD 1-256>]

Specifies an IPv6 address.

longer-prefixes

Shows long prefixes. The longer-prefixes indicate the mask length from any specified prefix to 128 (for example, show from prefix X:X::X:X/len to X:X::X:X/ 128).

vrf

Specifies a VRF instance by name (the string length ranges from 1–16 characters).

vrfids

Specifies a range of VRFs by ID number (the ID ranges from 0–255).