
256
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 all static VCs configured on the router.
<Sysname> display mpls static-l2vc
total connections: 1, 1 up, 0 down
ce-intf state destination tr-label rcv-label tnl-policy
Vlan2 up 3.3.3.9 100 200 policy1
Table 111
Command output
Field Description
total connections
Statistics about connection, including the total
number of connections, number of connections that
are up, and number of connections that are down
ce-intfe CE
interface
State
Status of the VC
destination
Destination IP address
tr-label Outgoing
label
rcv-label Incoming
label
tnl-policy
Name of the tunneling policy
# Display information about static VCs configured on interface Vlan-interface 2.
<Sysname> display mpls static-l2vc interface vlan-interface 2
***CE-interface : Vlan-interface2 is up
VC State : up
Destination : 3.3.3.9
Transmit-vpn-label : 100
Receive-vpn-label : 400
Tunnel Policy : policy1
Tunnel Type : lsp
Tunnel ID : 0x226013
Table 112
Command output
Field Description
CE-interface
Name of the CE interface
VC State
Status of the VC
Destination
Destination IP address
Transmit-vpn-label Outgoing
label
Receive-vpn-label Incoming
label
Tunnel Policy
Name of the tunneling policy
Tunnel Type
Type of the tunnel