show ipv6 bgp vpn

This command displays information about IPv6 VPN BGP routes installed in the BGP routing information base (RIB).

Syntax

show ipv6 bgp vpn {all | rd {asn:num | ipv4Addr:num}} [labels] [peer ip-addr {received-routes | advertised-routes}] [prefix/length [longer-prefixes] [detail]]

Parameters

all Display all IPv6 BGP VPN BGP routing table information.
rd asn:num | ipv4Addr:num Display IPv6 BGP VPN BGP routing table information for the specified route distinguisher.
labels (Optional) Displays incoming and outgoing BGP labels for each NLRI prefix.
peer ip-addr (Optional) Specifies the IPv6 peer to display route information for.
received-routes Displays received routes from the peer after import policies are applied matching prefix and mask (local-rib).
advertised-routes Displays all routes advertised to the peer after export policies have been applied that match a prefix and mask (rib-out).
prefix/length Displays specified BGP route destination.
longer-prefixes (Optional) Specifies that only routes exactly matching the specified IP address will display.
detail (Optional) Displays a detailed level of information including:
  • Route community attributes
  • Route Extended Community attributes
  • Route Target
  • Route Flap Dampening table name

Defaults

  • If the label option is not specified, incoming and outgoing BGP labels are not displayed.
  • If a peer IP address, route, or the longer prefix option is not specified, information is displayed for all peers and routes.
  • If detail is not specified, a standard level of route information displays.

Mode

All command modes.

Usage

To display BGP routing table information for a specific VRF see show ipv6 bgp vpn vrf.

Example

The following example displays BGP VPN information for all IPv6 BGP VPN routes installed in the BGP RIB for route distinguisher 1:3.

System(rw)->show ipv6 bgp vpn rd 1:3
Route status codes: > - active
Route Distinguisher: 1:3  (default for vrf vpnC)
Network: > 172:16:1::/64
Nexthop:        2000::33
Rib MED Local-Pref Origin AS Path
U   0      100    IGP     2
Network: > 525::/64
Nexthop:        ::ffff:1.0.0.1
Rib MED Local-Pref Origin AS Path
U   0      100    IGP
Network: > 1725:1::/64
Nexthop:        ::ffff:1.0.0.1
Rib MED Local-Pref Origin AS Path
U   0      100    IGP     2
...

The following example displays a detailed level of IPv6 BGP VPN information for VRF vpnA prefix 172:16:1::/64.

System(rw)->show ipv6 bgp vpn vrf vpnA 193:166:1::/64 detail
Route status codes: > - active
Route Distinguisher: 1:52  (default for vrf vpnA)
Network: > 193:166:1::/64
Nexthop:        ::ffff:1.0.0.1
Rib MED Local-Pref Origin AS Path
U   0      100    IGP
Community attributes in route:
Extended Community attributes in route:
Route Target: 1:52 (0x0002000100000034)
Route Target: 2:52 (0x0002000200000034)
Route Flap Dampening configuration file name: None

show ip bgp vpn Output Details table describes the fields that appear in the show ipv6 bgp vpn vrf query.

Click to expand in new window

show ipv6 bgp vpn vrf Output Details

Output... What it displays...
Route status codes A greater than symbol “>” specifies the active or used route. If no symbol displays, the route is not being used for the displayed context.
Route Distinguisher Specifies the route distinguisher for the specified VRF.
Network Specifies the network this route is on.
Next Hop Specifies the IP address of the nearest gateway used to reach the EBGP peer.
Rib Specifies whether the route is installed in the unicast or multicast RIB.
MED Specifies the MED value for the route.
Local-Pref Specifies the Local Preference value for the route.
Origin Specifies whether the origin of the route is an internal or external protocol.
AS Path Specifies the route‘s AS Path.
Community attributes in route Specifies any community attributes for this route.
Extended Community attributes in route Specifies any extended community attributes for this route.
Route Flap Dampening configuration file name Specifies the name of the route flap dampening configuration file or “None” if no file exists.