244
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.
Examples
# Display information about interfaces of any encapsulation types.
<Sysname> display l2vpn ccc-interface vc-type all
Total ccc-interface of CCC VC: 3
up (3), down (0)
Interface Encap Type State VC Type
Vlan2 ethernet up CCC
Vlan3 ethernet up bgp-vc
Vlan4 ethernet up static-vc
# Display information about interfaces of Kompella L2VPN VCs.
<Sysname> display l2vpn ccc-interface vc-type bgp-vc
Total ccc-interface of BGP VC: 1
up (1), down (0)
Interface Encap Type State VC Type
Vlan3 ethernet up bgp-vc
# Display information about interfaces of SVC L2VPN VCs that are in the state of UP.
<Sysname> display l2vpn ccc-interface vc-type svc-vc up
Total ccc-interface of SVC VC: 1,
up (1), down (0)
Interface Encap Type State VC Type
Vlan4 VLAN up static-vc
Table 96 Command output
Field Description
Total ccc-interface of XXX VC Total interface number of L2VPN VCs of type xxx
Interface Name of the interface
Encap Type Encapsulation type of the interface
State Status of the interface
VC Type Encapsulation type of the L2VPN VC interface
display mpls l2vc
Description
Use the display mpls l2vc command to display information about Martini VCs configured on the router.
If you specify an interface, the command displays information about Martini VCs configured on the CE
interface.
Syntax
display mpls l2vc [ interface interface-type interface-number [ service-instance instance-id ] | remote-info ]
[ | { begin | exclude | include } regular-expression ]
View
Any view