R3303-HP HSR6800 Routers MPLS Command Reference
201
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
Table 80 Command output
Field Descri
p
tion
connections
Connection statistics, including the number of connections in up state, the
number of connections in down state, the number of local connections,
the number of remote connections, and the number of unknown
connections.
VPN name Name of the MPLS L2VPN.
CE name Name of the local CE.
id ID of the local CE.
Rid ID of the remote CE.
type Type of the connection.
status Status of the connection.
peer-id IP address of the peer.
intf Interface for the connection.
# Display information about Kompella VCs for VPN vpn1.
<Sysname> display mpls l2vpn connection vpn-name vpn1
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










