OcNOS-SP : Multi-Protocol Label Switching Guide : Label Distribution Protocol Command Reference : LDP Show Commands : show ldp mpls-l2-circuit
show ldp mpls-l2-circuit
Use this command to display summarized Layer-2 Virtual Circuit information about all MPLS virtual circuits configured on the current LSR. When the Virtual Circuit ID is specified, this command displays summarized information for the Virtual Circuit matching the specified ID only.
Command Syntax
show ldp mpls-l2-circuit
show ldp mpls-l2-circuit <1-4294967295>
show ldp mpls-l2-circuit detail
show ldp mpls-l2-circuit count
show ldp mpls-l2-circuit <1-4294967295> detail
Parameter
<1-4294967295>
Indicates the virtual circuit ID.
detail
Displays detailed LDP information.
count
Count of PWs from LDP standpoint.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following is a sample output of this command displaying summarized information of VID 1000:
#show ldp mpls-l2-circuit 1000
Transport Client VC Trans Local Remote Destination
VC ID Binding State Type VC Label VC Label Address
1000 eth2 UP ethernet 640 640 192.168.0.80
 
#show ldp mpls-l2-circuit
Transport Client VC Trans Local Remote Destination
VC ID Binding State Type VC Label VC Label Address
1000 eth2 UP ethernet 640 640 192.168.0.80
2000 eth3 UP ethernet 641 648 192.168.0.80
3000 eth4 UP ethernet 642 645 192.168.0.90
 
The following is a sample output of this command when using the detail parameter:
#show ldp mpls-l2-circuit detail
vcid: 100, type: ethernet, local groupid: 4, remote groupid: 4 (vc is up)
destination: 10.0.0.2, Peer LDP Ident: 10.0.0.2
Local label: 53120, remote label: 53120
Access IF: eth3, Network IF: eth4
Local MTU: 1500, Remote MTU: 1500
Local Control Word: 0, Remote Control Word: 0
Local PW Status Capability : enabled
Remote PW Status Capability : enabled
Current PW Status TLV : enabled
Local PW Status :
Not Forwarding
Remote PW Status :
Not Forwarding
Standby
 
 
Table 2-43 explains the show command output fields.
 
Table 2-43: show ldp mpls-l2-circuit output fields details 
Field
Description
Transport VC ID
Transport VC identifier for the protocol.
Client Binding
Show whether the interface is client bound and (if bound) with which client.
VC State
State of the VC.
Trans Type
Type of transmit.
Local VC Label
Incoming VC label details.
Remote VC Label
Outgoing VC label details.
Destination Address
Destination IP address for the protocol.
VCid
Address for the VC.
Type
Type of Ethernet interface.
local groupid
Address for the local group.
remote groupid
Address for the remote group.
destination
Destination IP address.
Peer LDP Ident
Identification for the peer LDP.
Local label
Number of Local label
remote label
Number remote label.
Access IF
Map the access port.
Network IF
Map the network port in the interface.
Local MTU
Number of local MTU., Remote MTU - Number of local MTU.
Local Control Word
Number of local control word.
Remote Control Word
Number of local control word.
Local PW Status Capability
PW Status capability of Local end of PW.
Remote PW Status Capability
PW Status capability of Remote end of PW.
Current PW Status TLV
A data structure used to encode optional information in a data communications protocol.
Local PW Status
PW Status of Local end of PW.
Remote PW Status
PW Status of Remote end of PW.
Last modified date: 10/17/2023