display mpls l2vc
Syntax
View
Parameter
Description
Example
up (3), down (0)
Interface
Encap Type
Serial2/0
ppp
Serial2/1
ppp
Serial2/2
ppp
# 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
Serial2/1
ppp
# 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
Serial2/2
ppp
Table 428 Description on the fields of display l2vpn ccc-interface vc-type
Field
Total ccc-interface of XXX VC
Interface
Encap Type
State
VC Type
display mpls l2vc [ interface interface-type interface-number | remote-info ]
Any view
interface interface-type interface-number: Specifies the interface connecting the
CE by its type and number.
remote-info: Specifies Martini VCs from the remote peer.
Use the
display mpls l2vc
configured on the router.
If you specify an interface, the command displays information about Martini VCs
configured on the CE interface.
# Display information about all Martini VCs configured on the router.
<Sysname> display mpls l2vc
total
ldp vc : 3
State
VC Type
up
CCC
up
bgp-vc
up
static-vc
State
VC Type
up
bgp-vc
State
VC Type
up
static-vc
Description
Total interface number of L2VPN VCs of type xxx
Name of the interface
Encapsulation type of the interface
Status of the interface
Encapsulation type of the L2VPN VC interface
command to display information about Martini VCs
0 up
3 down
1655