Monitoring Layer 2 Services over MPLS
To monitor layer 2 services over MPLS, use the show commands described in this section.
The following statistics are maintained for each MPLS shim interface:
You can set a statistics baseline for these statistics with the baseline mpls interface command.
baseline mpls interface
- Use to set the baseline on all MPLS major interface statistics to zero on the specified interface.
- Example
host1#baseline mpls interfaceThere is no no version. show atm mcpt-timers
- Use to display the current systemwide values configured on the router for the three ATM Martini cell packing timers.
- The ATM Martini cell packing timers define the time threshold that the router uses to collect and concatenate ATM cells in a single VCC cell relay-encapsulated packet.
- Field descriptions
- Timer1—Value in microseconds for the first ATM Martini cell packing timer
- Timer2—Value in microseconds for the second ATM Martini cell packing timer
- Timer3—Value in microseconds for the third ATM Martini cell packing timer
host1(config)#show atm mcpt-timersATM Martini cell aggregation timers:Timer1: 1500microsecondsTimer2: 2500microsecondsTimer3: 3500microsecondsshow atm subinterface
- Use to display the current state of all the ATM subinterfaces that you specify.
- For ATM over MPLS interfaces, the ATM-Prot field displays ATM/MPLS, and the Encap field displays one of the following encapsulation types:
- AAL0—VCC cell relay-encapsulated circuits that receive raw ATM cells
- AAL5—ATM cross-connect interfaces
- For an individual ATM over MPLS interface with AAL0 encapsulation, the show atm interface command displays the following additional fields (Example 2):
- Maximum number of cells per packet—Maximum number of ATM cells that the router can concatenate in a single packet; if this value is not configured, "Martini cell aggregation: disabled" appears instead of this field.
- Cell aggregation timeout timer—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, "Martini cell aggregation: disabled" appears instead of this field.
- For a description of the other fields in this display, see show atm vc in JUNOSe Link Layer Configuration Guide, Chapter 1, Configuring ATM.
- Example 1
host1#show atm subinterfaceInterface ATM-Prot VCD VPI VCI Type Encap MTU Status Address----------- -------- --- --- --- ---- ----- ---- ------ -------ATM 2/0.100 ATM/MPLS 100 0 100 PVC AAL0 9180 up --ATM 2/0.101 ATM/MPLS 101 0 101 PVC AAL5 9180 up --ATM 2/0.200 RFC-1483 200 0 200 PVC SNAP 9180 up --ATM 2/0.201 RFC-1483 201 0 201 PVC SNAP 9180 up --4 interface(s) foundExample 2 host1#show atm subinterface atm 2/0.100Circuit InterfaceInterface ATM-Prot VCD VPI VCI Type Encap MTU Status Type--------- -------- --- --- --- ------- ----- ---- -------------- ---------ATM 2/0.100 ATM/MPLS 100 0 100 PVC AAL0 9180 lowerLayerDown StaticMaximum number of cells per packet: 100Cell aggregation timeout timer: 2SNMP trap link-status: disabledInPackets: 0InBytes: 0OutPackets: 0OutBytes: 0InErrors: 0OutErrors: 0InPacketDiscards: 0InPacketsUnknownProtocol: 0OutDiscards: 01 interface(s) foundshow mpls cross-connects atm
- Use to display all ATM cross-connects (passthrough connections between local subinterfaces).
- Field descriptions
- Interface—Specifier and status of the first subinterface that makes up the local cross-connect
- VPI—Virtual path identifier of the first subinterface
- VCI—Virtual channel identifier of the first subinterface
- Interface—Specifier and status of the second subinterface that makes up the local cross-connect
- VPI—Virtual path identifier of the second subinterface
- VCI—Virtual channel identifier of the second subinterface
- VC-ID—VD ID number of the connection
- Encap—Administered encapsulation method based on what was configured with the atm pvc command
- Category—Configured service category
- Peak Rate—Send and receive peak rate, in Kbps
- Status—Current state of the connection
host1#show mpls cross-connects atmCate PeakVC-ID Encap gory Rate Interface VPI VCI Status------ ----- ---- ---- ---------- --- --- ------600001 AAL5 UBR 0 ATM6/0.101 0 101 UpATM6/2.101 0 101 Up600002 AAL5 UBR 0 ATM6/0.102 0 102 UpATM6/2.102 0 102 Up2 local connection(s) foundshow mpls forwarding
- Use to display configuration and statistics for all label-switched paths (LSPs) or for specific LSPs configured on the label-switching router (LSR).
- Field descriptions
- name/id—Interface specifier
- destination—Destination ip address
- In label—Label sent to upstream neighbor for route
- Out label—Label received from downstream neighbor for route
- pkts—Number of packets sent across tunnel
- hcPkts—Number of high-capacity (64-bit) packets sent across tunnel
- octets—Number of octets sent across tunnel
- hcOctets—Number of high-capacity (64-bit) octets sent across tunnel
- errors—Number of packets dropped for some reason before being sent
- discardPkts—Number of packets discarded due to lack of buffer space before being sent
- Example 1—In the output shown under L2transport, the "swap to" labels, 55 and 54, are VC labels received from the other router. The label that is pushed, 42, is for the base tunnel.
host:two#show mpls forwarding briefPlatform label spaceIn Label Owner Action-------- -------- ---------------------------------------------------------16 ldp lookup on inner header/label17 ldp swap to 29 on ATM5/0.1, nbr 10.10.11.518 ldp swap to 30 on ATM5/0.1, nbr 10.10.11.519 ldp swap to 32 on ATM5/0.1, nbr 10.10.11.520 ldp swap to 34 on ATM5/0.1, nbr 10.10.11.521 ldp lookup on inner header/label22 ldp swap to 38 on ATM5/0.1, nbr 10.10.11.523 ldp swap to 40 on ATM5/0.1, nbr 10.10.11.524 ldp swap to 42 on ATM5/0.1, nbr 10.10.11.525 ldp lookup on inner header/label26 ldp swap to 46 on ATM5/0.1, nbr 10.10.11.527 ldp swap to 48 on ATM5/0.1, nbr 10.10.11.552 ldp l2transport to FastEthernet2/0.253 ldp l2transport to FastEthernet2/0.1L2transportInterface Owner Action-------------------- -------- -------------------------------------------FastEthernet2/0.1 ldp swap to 55, push 42 on ATM5/0.1, nbr 10.10.11.5FastEthernet2/0.2 ldp swap to 54, push 42 on ATM5/0.1, nbr 10.10.11.5host1:two#show mpls forwardingserial4/1:1/1/1/1/1.1 to 222.9.1.3In label 200 pkts, 0 hcPkts, 0 octets0 hcOctets, 0 errors, 0 discardPktsOut label 45 on tun mpls:1 nbr 222.9.1.30 pkts, 0 hcPkts, 0 octets0 hcOctets, 0 errors, 0 discardPktsshow mpls interface
show mpls l2transport interface
- Use to display status and configuration information about MPLS layer 2 interfaces.
- For the show mpls interface and show mpls interface shim commands, specifying the keyword shim instead of a particular interface displays all shim interfaces. Otherwise, the specified interface is displayed.
- Field descriptions
- 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
- 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
- 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
- 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—
- Admin state—Administrative state of the interface, enabled or disabled
- Oper state—Operational state of the interface, up or down
host1#show mpls interface shimMPLS shim interface FastEthernet2/0Remote PE address is 10.9.1.3Virtual circuit ID is 1Group ID is 0 by defaultControl word is not preferred by defaultDon't send sequence numbers by defaultRelay format is ethernet by defaultAdministrative state is enabledOperational state is down (shim interface does not have a next-hop)Operational MTU is 1500Received:0 packets0 bytes1 error0 discardsSent:0 packets0 bytes0 errors0 discardsreceived mtu 0queue 0: traffic class best-effort, bound to ethernet FastEthernet2/0Queue length 0 bytesForwarded packets 0, bytes 0Dropped committed packets 0, bytes 0Dropped conformed packets 0, bytes 0Dropped exceeded packets 0, bytes 0MPLS policy input shimRlclassifier-group *0 packets, 0 bytesrate-limit-profile shimRlcommitted: 0 packets, 0 bytesconformed: 0 packets, 0 bytesexceeded: 0 packets, 0 bytesMPLS policy output shimRlclassifier-group *0 packets, 0 bytesrate-limit-profile shimRlcommitted: 0 packets, 0 bytesconformed: 0 packets, 0 bytesexceeded: 0 packets, 0 bytesExample 2—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-370 pkts, 0 hcPkts, 0 octets0 hcOctets, 0 errors, 0 discardPktsqueue 0: traffic class best-effort, bound to atm-vc ATM1/0.1Queue length 0 bytesForwarded packets 0, bytes 0Dropped committed packets 0, bytes 0Dropped conformed packets 0, bytes 0Dropped exceeded packets 0, bytes 0...Example 3 host1#show mpls interface shim briefRemote-PE Virtual Loador Circuit Balancing Admin OperInterface LSP-name ID Group state state----------------- --------- ------- --------- ------- -----FastEthernet2/0.1 222.9.1.3 200001 - enabled upFastEthernet2/0.2 222.9.1.3 200002 - enabled up