R3303-HP HSR6800 Routers MPLS Command Reference

198
display mpls l2vpn
Use display mpls l2vpn to display information about L2VPNs configured on a PE.
Syntax
display mpls l2vpn [ export-route-target-list | import-route-target-list | vpn-name vpn-name [ local-ce
| remote-ce ] ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
export-route-target-list: Displays the export route target list.
import-route-target-list: Displays the import route target list.
vpn-name vpn-name: Specifies an L2VPN by its name, a case-insensitive string of 1 to 31 characters that
cannot include hyphens (-).
local-ce: Displays the configurations and status of all local CEs in the specified L2VPN.
remote-ce: Displays the configurations and status of remote CEs learned from other PEs.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see 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, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify an L2VPN, the command displays information about all L2VPNs on the PE.
Examples
# Display the L2VPN export route target list.
<Sysname> display mpls l2vpn export-route-target-list
export vpn target list: 755:7 888:8
Table 75 Command output
Field Descri
p
tion
export vpn target list BGP VPN export route target list.
# Display information about all L2VPNs configured on the PE.
<Sysname> display mpls l2vpn
VPN Number: 1
vpn-name encap-type route-distinguisher mtu ce(L) ce(R)
vpn2 atm aal5 500:1 888 0 0