
237
View
Any view
Default level
1: Monitor level
Parameters
all
: Displays all L2VPN information.
group
group-name
: Specifies the name of the peer group, which is a string of 1 to 47 characters.
ip-address
: Specifies the IP address of the peer.
verbose
: Displays detailed information.
route-distinguisher
route-distinguisher
: Specifies the route distinguisher in the format of nn:nn or IP-
address:nn. It can be a string of 3 to 21 characters.
ce-id
ce-id
: Specifies the CE ID of the VPN connected with the MPLS L2VPN connection. A remote
connection requires the remote CE ID. The value range of the CE ID is from 0 to 199.
label-offset
label-offset
: Specifies the label offset, which ranges from 0 to 65,535.
|
: 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 all information about L2VPN in the BGP routing table.
<Sysname> display bgp l2vpn all
BGP Local router ID : 2.2.2.9, local AS number : 100
Origin codes:i - IGP, e - EGP, ? - incomplete
bgp.l2vpn: 1 destination
Route Distinguisher: 100:1
CE ID Label Offset Label Base nexthop pref as-path
1 0 8202 3.3.3.9 100
Table 89
Command output
Field Description
Origin codes
Route origin codes, which can be:
i – IGP—Indicates that the network layer reachability
information is from within the AS
e – EGP—Indicates that the network layer
reachability information is learned through EGP
? – incomplete—Indicates that the network layer
reachability information is learned through other
ways
bgp.l2vpn
Number of BGP L2VPNs