display bgp vpnv6 routing-table peer

Function

The display bgp vpnv6 routing-table peer command displays BGP VPNv6 routes of a specified peer.

Format

display bgp vpnv6 vpn-instance vpn-instance-name routing-table peer remoteIpv4Addr received-routes ipv6-address [ masklen ]

display bgp vpnv6 all routing-table peer remoteIpv4Addr { accepted-routes | not-accepted-routes }

display bgp vpnv6 vpn-instance vpn-instance-name routing-table peer remoteIpv6Addr { accepted-routes | not-accepted-routes }

display bgp vpnv6 vpn-instance vpn-instance-name routing-table peer remoteIpv4Addr advertised-routes ipv6-address [ masklen [ longer-prefixes ] ]

display bgp vpnv6 vpn-instance vpn-instance-name routing-table peer remoteIpv6Addr advertised-routes ipv6-address [ masklen [ longer-prefixes ] ]

display bgp vpnv6 all routing-table peer remoteIpv6Addr received-routes active

display bgp vpnv6 all routing-table peer remoteIpv6Addr { accepted-routes | not-accepted-routes }

Parameters

Parameter Description Value
remoteIpv4Addr

Specifies an IPv4 peer address.

The value is in dotted decimal notation.

received-routes

Displays the routes received from the remote peer.

-

ipv6-address

Specifies an IPv6 network address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

masklen

Specifies an IP address prefix length.

The value is an integer ranging from 0 to 128.

all

Displays all information on VPNv6 and IPv6 VPN instances.

-

accepted-routes

Displays the routes that match a routing policy.

-

not-accepted-routes

Displays the routes that do not match a routing policy.

-

vpn-instance vpn-instance-name

Specifies a VPN instance name.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

remoteIpv6Addr

Specifies an IPv6 peer address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

advertised-routes

Displays the routes advertised to the remote peer.

-

longer-prefixes

Allows longer prefix match.

-

active

Displays active routes.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

The display bgp vpnv6 routing-table peer command displays BGP VPNv6 routes of a specified peer.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display received BGP VPNv6 routes.
<HUAWEI> display bgp vpnv6 all routing-table peer 10.1.1.2 accepted-routes
BGP Local router ID is 172.16.1.1
Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
 h - history, i - internal, s - suppressed, S - Stale
 Origin : i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V - valid, I - invalid, N - not-found

Total Number of Routes: 3
Route Distinguisher: 100:1

*>i Network : 2001:DB8:11::11 PrefixLen : 128 
 NextHop : ::FFFF:192.168.1.1 LocPrf : 
 MED : PrefVal : 0
 Label : 32860/32868
 Path/Ogn : 100?
*>i Network : 2001:DB8:2000::1 PrefixLen : 128 
 NextHop : ::FFFF:192.168.1.1 LocPrf : 
 MED : PrefVal : 0
 Label : 32860/32867
 Path/Ogn : 100?
 
Route Distinguisher: 100:3

*> Network : 2001:DB8:3::3 PrefixLen : 128
 NextHop : ::FFFF:192.168.1.1 LocPrf :
 MED : 0 PrefVal : 0
 Label : NULL/32860
 Path/Ogn : 100?
Table 1 Description of the display bgp vpnv6 routing-table peer command output
Item Description
BGP Local router ID

ID of the local BGP device. The ID is in the same format as an IPv4 address.

Total Number of Routes

Total number of BGP VPNv6 routes.

Route Distinguisher

The Route Distinguisher of BGP route.

Network

Destination network or host address of the route.

PrefixLen

Prefix length of the destination network or host address of the route.

NextHop

IPv6 address of the next hop.

LocPrf

Local_Pref of a BGP route. The default value is 100.

MED

MED of a route. The default value is 0.

PrefVal

PrefVal of a route.

Label

Label carried by the data packet destined for the destination network or host address of the route.

Path/Ogn

AS_Path number and the Origin attribute of the route.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >