Monitoring MPLS Layer 2 Interfaces for Layer 2 Services over MPLS
Purpose
Display status and configuration information about MPLS layer 2 major, minor, and shim interfaces. Both the show mpls interface shim command and the show mpls l2transport interface command provide the same output. The shim keyword displays all shim interfaces. The brief keyword displays only limited interface information.
Action
To display information about MPLS layer 2 interfaces:
![]() | Note: If you enable scheduler profile–based computation of service session accounting by using the service-accounting- statistics scheduler-based command, the forwarded packets and bytes fields, and the dropped packets and bytes fields are displayed in the rate-limit-profile section under the MPLS policy output heading. The committed, conformed, exceeded, saturated, and unconditional packets and bytes fields are not displayed in the rate-limit- profile section in the output of the command. These fields are displayed instead of the forwarded packets and bytes fields, and the dropped packets and bytes fields only if you disable scheduler profile-based computation of service session accounting. |
host1#show mpls interface shim MPLS shim interface FastEthernet2/0 Remote PE address is 10.9.1.3 Virtual circuit ID is 1 Group ID is 0 by default Control word is not preferred by default Don't send sequence numbers by default Relay format is ethernet by default ATM VPI/VCI range is 1-2/100-109 (up on the line card) ATM VPI/VCI range is 5-10/200-300 (up on the line card) ATM cell aggregation is enabled ATM cell aggregation maximum cells per packet is 20 ATM cell aggregation timeout timerId is 2 Administrative state is enabled Operational state is down (shim interface does not have a next-hop) Operational MTU is 1500 Received: 0 packets 0 bytes 1 error 0 discards Sent: 0 packets 0 bytes 0 errors 0 discards received mtu 0
queue 0: traffic class best-effort, bound to ethernet FastEthernet2/0 Queue length 0 bytes Forwarded packets 0, bytes 0 Dropped committed packets 0, bytes 0 Dropped conformed packets 0, bytes 0 Dropped exceeded packets 0, bytes 0
MPLS policy input shimRl classifier-group * 0 packets, 0 bytes rate-limit-profile shimRl committed: 0 packets, 0 bytes conformed: 0 packets, 0 bytes exceeded: 0 packets, 0 bytes MPLS policy output shimRl classifier-group * 0 packets, 0 bytes rate-limit-profile shimRl committed: 0 packets, 0 bytes conformed: 0 packets, 0 bytes exceeded: 0 packets, 0 bytes
This excerpt from the command output shows the label information displayed when a circuit is up
host1#show mpls l2transport interface ... Out Label 49 on tun mpls:lsp-de090100-24-37 0 pkts, 0 hcPkts, 0 octets 0 hcOctets, 0 errors, 0 discardPkts queue 0: traffic class best-effort, bound to atm-vc ATM1/0.1 Queue length 0 bytes Forwarded packets 0, bytes 0 Dropped committed packets 0, bytes 0 Dropped conformed packets 0, bytes 0 Dropped exceeded packets 0, bytes 0 ...
To display summary information about MPLS shim interfaces:
host1#show mpls interface shim brief Remote-PE Virtual Load or Circuit Balancing Admin Oper Interface LSP-name ID Group state state ----------------- --------- ------- --------- ------- ----- FastEthernet2/0.1 222.9.1.3 200001 - enabled up FastEthernet2/0.2 222.9.1.3 200002 - enabled up
Meaning
Table 108 lists the show mpls interface and show mpls l2transport interface command output fields.
Table 108: show mpls interface and show mpls l2transport interface Output Fields
Field Name | Field Description |
---|---|
MPLS shim interface | Interface specifier |
Remote PE address | Address of the remote PE router for the layer 2 circuit |
Virtual circuit ID | VC ID number for the interface |
Group ID | Group ID number for the interface |
Control word | Configuration of the control word |
Sequence number | Statement regarding configuration of sequence number |
Relay format | Configuration of relay format |
ATM VPI/VCI range | Starting and ending (inclusive) virtual path identifiers and virtual circuit identifiers of the reserved VC range and whether the range specification is activated on the line module for transportation of ATM cells that belong to multiple VCs over a single pseudowire. |
ATM cell aggregation | Concatenation of multiple ATM cells to be sent in a single MPLS-labeled packet for an ATM port, enabled or disabled. |
ATM cell aggregation maximum cells per packet | Maximum number of ATM cells that the router can concatenate in a single packet; if this value is not configured, "ATM cell aggregation: disabled" appears instead of this field. Displayed for an ATM port (ATM AAL5 over ATM major interface). |
ATM cell aggregation timeout timerID | Identifier (1, 2, or 3) of the ATM Martini cell packing timer that detects timeout of the cell collection threshold; if this value is not configured, "ATM cell aggregation: disabled" appears instead of this field. Displayed for an ATM port (ATM AAL5 over ATM major interface). |
Administrative state | Administrative state, enabled or disabled |
Operational state | Statement regarding operational state of interface |
Operational MTU | Maximum transmission unit for the interface |
Received, Sent | Statistics for MPLS traffic received or sent on the interface |
packets | Number of packets received or sent |
bytes | Number of bytes received or sent |
error | Number of packets that are dropped for some reason at receipt or before being sent |
discards | Number of packets that are discarded because of lack of buffer space at receipt or before being sent |
received mtu | MTU specified in received packets |
queue, traffic class, bound to | Queue and traffic class bound to the specified interface |
Queue length | Number of bytes in the queue |
Forwarded packets, bytes | Total number of packets and bytes forwarded by this interface |
Dropped committed packets, bytes | Total number of committed packets and bytes dropped by this interface |
Dropped conformed packets, bytes | Total number of conformed packets and bytes dropped by this interface |
Dropped exceeded packets, bytes | Total number of exceeded packets and bytes dropped by this interface |
MPLS policy | Type (input, output) and name of policy |
classifier-group entry | Entry index |
packets, bytes | Number of packets and bytes on the interface |
rate-limit-profile | Name of profile |
Committed | Number of packets and bytes that conform to the committed access rate |
Conformed | Number of packets and bytes that exceed the committed access rate but conform to the peak access rate |
Exceeded | Number of packets and bytes that exceed the peak access rate |
In label | VC label sent by this router to upstream neighbor for route |
Out label | VC label received by this router from downstream neighbor for route |
MPLS statistics | MPLS statistics for traffic received or sent |
pkts | Number of packets received or sent |
hcPkts | Number of high-capacity (64-bit) packets received or sent |
octets | Number of octets received or sent |
hcOctets | Number of high-capacity (64-bit) octets received or sent |
errors | Number of packets that are dropped for some reason at receipt or before being sent |
discardPkts | Number of packets that are discarded because of lack of buffer space at receipt or before being sent |
Interface | Interface specifier |
Remote-PE or LSP-name | IP address of the remote PE router or name of the tunnel |
Virtual Circuit ID | VC ID number for the interface |
Load Balancing Group | Load-balancing group associated with the layer 2 Martini transport circuit |
Admin state | Administrative state of the interface, enabled or disabled |
Oper state | Operational state of the interface, up or down |