
356
Syntax
display bgp vpnv6 vpn-instance
vpn-instance-name
routing-table
[
network-address prefix-length
[
longer-
prefixes
] |
peer
ipv6-address
{
advertised-routes
|
received-routes
} ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance-name
: Specifies the VPN instance name, which is a case-sensitive string of 1 to 31
characters.
network-address
: Specifies the IPv6 address of the destination network segment.
prefix-length
: Specifies the length of the prefix, ranging from 0 to 128.
longer-prefixes
: Displays each routing entry that meets the following conditions:
•
Its destination IPv6 address ANDed with the specified prefix equals the specified destination IPv6
address ANDed with the specified prefix.
•
Its prefix length is shorter than or equal to the specified prefix length.
•
Its prefix length is the longest among the entries meeting the above two conditions.
peer
ipv6-address
: Displays the routing information sent to or received from the specified BGP VPNv6
peer.
ipv6-address
is the IPv6 address of the peer.
advertised-routes
: Displays the routing information sent to the specified peer.
received-routes
: Displays the routing information received from the specified peer.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.
Examples
# Display the BGP VPNv6 routing information of VPN instance
vpn1
.
<Sysname> display bgp vpnv6 vpn-instance vpn1 routing-table
BGP Local router ID is 1.1.1.1
Status codes: * - valid, ^ - VPN best, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total routes of vpn-instance vpn1: 1
*^> Network : 324:: PrefixLen : 64
NextHop : 100::2 LocPrf : 100
PrefVal : 0 Label : NULL