show ipv6 bgp vpn vrf

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

Syntax

show ipv6 bgp vpn vrf vrf-name [labels] [peer ip-addr {received-routes | advertised-routes}] [prefix/length [longer-prefixes] [detail]]

Parameters

vrf-name Displays the named VRF.
labels (Optional) Displays incoming and outgoing BGP labels for each NLRI prefix.
peer ip-addr (Optional) Specifies the IPv6 peer for route information to display.
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.

Example

The following example displays all IPv6 BGP VPN routes for VRF vpnA.

System(rw)->show ipv6 bgp vpn vrf vpnA
Route status codes: > - active
Route Distinguisher: 1:52  (default for vrf vpnA)
Network: > ::/0
Nexthop:        ::ffff:1.0.0.1
Rib MED Local-Pref Origin AS Path
U   0      100    IGP
Network: > 53:2:1::/64
Nexthop:        ::ffff:1.0.0.1
Rib MED Local-Pref Origin AS Path
U   0      100    IGP
...
System(rw)->

The following example displays BGP VPN IPv6 route labels for VRF vpnA:

System(rw)->show ipv6 bgp vpn vrf vpnA labels
Route status codes: > - active
Route Distinguisher: 1:52  (default for vrf vpnA)
Network: > ::/0
Nexthop:        ::ffff:1.0.0.1
In Label/Out Label:      16/No Label
System(rw)->

The following example displays a detailed level of information for BGP VPN IPv6 VRF vpnA route 192:166:1::/64:

System(rw)->show ipv6 bgp vpn vrf vpnA 192:166:1::/64 detail
Route status codes: > - active
Route Distinguisher: 1:52  (default for vrf vpnA)
Network: > 192: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 ipv6 bgp vpn vrf 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.
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.
Route Distinguisher Specifies the route distinguisher associated with the next series of routes.
In Label/Out Label Incoming and outgoing BGP labels for the specified network and next hop.
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.