R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

194
Syntax
display mpls l2vpn connection [ interface interface-type interface-number | summary | vpn-name
vpn-name [ remote-ce ce-id | down | up | verbose ] ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
interface interface-type interface-number: Specifies an interface by its type and number.
summary: Displays summary information about VC connections.
vpn-name vpn-name: Specifies an L2VPN by its name, a case-insensitive string of 1 to 31 characters that
cannot include hyphens (-).
remote-ce ce-id: Specifies the ID of the remote CE, in the range of 0 to 249.
down: Displays detailed information about VCs in down state.
up: Displays detailed information about VCs in up state. If you specify neither the down nor the up
keyword, the command displays detailed information about VCs that are either up or down.
verbose: Displays detailed information. This keyword is valid only when you display information about
all VCs in a VPN.
|: 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 any parameter, the command displays information about all Kompella VCs.
Examples
# Display information about all Kompella VCs.
<Sysname> display mpls l2vpn connection
1 total connections,
connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown
VPN name: vpn1,
1 total connections,
connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown
CE name: ce1, id: 1,
Rid type status peer-id route-distinguisher intf
4 rmt up 3.3.3.9 100:1 S2/1/0