
4
|
: 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 information about the BGP VPNv4 routes injected into the VPN instance
vpn1
.
<Sysname> display bgp vpnv4 vpn-instance vpn1 network
BGP Local Router ID is 1.1.1.1.
Local AS Number is 100.
Network Mask Route-policy Short-cut
10.0.0.0 255.0.0.0
Table 2
Command output
Field Description
BGP Local Router ID
Router ID of the local BGP router
Local AS Number
Local AS number
Network
Advertised network route
Mask
Mask of the advertised network route
Route-policy Routing
policy
configured
Short-cut
Whether this route is a short-cut route
display bgp vpnv4 vpn-instance paths
Description
Use the
display bgp vpnv4 vpn-instance paths
command to display the BGP VPNv4 AS path information.
Syntax
display bgp vpnv4 vpn-instance
vpn-instance-name
paths
[
as-regular-expression
| {
|
{
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.
as-regular-expression
: Specifies the regular expression for filtering the AS path information to be
displayed.