5
|
: 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 VPNv4 AS path information of VPN instance vpn1.
<Sysname> display bgp vpnv4 vpn-instance vpn1 paths
Address Hash Refcount MED Path/Origin
0x6E72D18 0 1 0 200?
0x6E72E50 0 1 0 i
0x6E72B78 1 1 0 ?
0x6E72BE0 1 2 0 ?
Table 3
Command output
Field Description
Address
Routing address in the local database
Hash
Hash bucket for storing routes
Refcount
Number of times that the path is referenced
MED
Metric for routes
Path/Origin
AS_PATH attribute/Route origin code
display bgp vpnv4 vpn-instance peer
Description
Use the
display bgp vpnv4 vpn-instance peer
command to display information about the BGP VPNv4
peers.
Syntax
display bgp vpnv4 vpn-instance
vpn-instance-name
peer
[
group-name
log-info
|
ip-address
{
log-info
|
verbose
} |
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance-name
: Displays information about the specified VPN.
vpn-instance-name
is the instance
name of a VPN, which is a case-sensitive string of 1 to 31 characters.
group-name
: Specifies the name of a peer group, which is a string of 1 to 47 characters.
log-info
: Displays the log information about the peer group.