# Monitoring MPLS Interfaces

#### Purpose

Display status and configuration information about MPLS interfaces.

#### Action

To display information about all MPLS interfaces:

    host1:pe1#show mpls interface
    MPLS major interface ATM2/0.10
      ATM circuit type is 1483 LLC encapsulation
      Administrative state is enabled
      Operational state is up
      Operational MTU is 9180
      Received:
        0 packets
        0 bytes
        0 errors
        0 discards
        0 failed label lookups
      Sent:
        0 packets
        0 bytes
        0 errors
        0 discards

    LDP information:
        10.1.1.2/24
        enabled with profile 'default'
         0 hello recv, 1 hello sent, 0 hello rej
         0 adj setup, 0 adj deleted,

      RSVP
        Enabled with profile default
        Authentication is disabled
        Authentication key: <none>
        Hellos are on with an interval of 10000 and miss limit of 4
        Hello settings are not inherited

    MPLS minor interface pe1-to-pe2 (transmit)
      Stacked on MPLS major ATM2/0.10
      Operational state is up
      Sent:
        0 packets
        0 bytes

      queue 0: traffic class best-effort, bound to atm-vc ATM2/0.10
        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 minor interface lsp-02020202-1-4 (receive)
      Stacked on MPLS major ATM2/0.10
      Operational state is up
      Statistics not enabled for this interface

- The following excerpt shows the output for MPLS interface atm 5/1.1 when RSVP-TE is enabled and RSVP-TE authentication is enabled:

      host1:pe2#show mpls interface atm 5/1.1
      Interface ATM5/1.1 Up
       RSVP enabled with profile default
         Authentication: enabled
         Authentication Key: <a password has been configured>
       LDP not configured
       IP interfaces on this MPLS interface:
          192.168.100.21/30
      MPLS Statistics:
        Rcvd: 0 failed lbl lookup, 0 octets, 0 hcOctets
              0 pkts, 0 hcPkts, 0 errors, 0 discards
        Sent: 0 octets, 0 hcOctets, 0 pkts
              0 hcPkts, 0 errors, 0 discards
      ...

To display information about MPLS interface atm 2/0.60:

    host1:pe2#show mpls interface atm 2/0.60
    Interface atm2/0.60 Up
     RSVP not configured
     LDP enabled with profile default
     IP interfaces on this MPLS interface:
        60.60.60.1/16  Session to 4.4.4.4 is operational (active)
    Session statistics:
              12 label alloc, 12 label learned,
              12 accum label alloc, 12 accum label learned,
              last restart time = 00:04:44
              Rcvd: 0 notf, 29 msg, 12 mapping, 0 request
                    0 abort, 0 release, 0 withdraw, 1 addr
                    0 addr withdraw, 29 msgId
                    0 bad mapping, 0 bad request, 0 bad abort, 0 bad release
                    0 bad withdraw, 0 bad addr, 0 bad addr withdraw
                    0 unknown msg type err
                    last info err code = 0x00000000, 0 loop detected
              Sent: 0 notf, 29 msg, 12 mapping, 0 request
                    0 abort, 0 release, 0 withdraw, 1 addr
                    0 addr withdraw, 29 msgId
            Adjacency statistics:
              58 hello recv, 57 hello sent, 0 bad hello recv
              adj setup time = 00:04:44
              last hello recv time = 00:00:05, last hello sent time = 00:00:05
    MPLS Statistics:
       Rcvd: 0 failed lbl lookup, 0 octets, 0 hcOctets
             0 pkts, 0 hcPkts, 0 errors, 0 discards
       Sent: 0 octets, 0 hcOctets, 0 pkts
             0 hcPkts, 0 errors, 0 discards
       1 adjacency, 1 session, 3 accum adjacency, 3 accum session
       14058 hello recv, 14063 hello sent, 0 hello rej
       3 adj setup, 2 adj deleted

The following excerpt shows LDP and RSVP-TE information for MPLS interface atm 6/1.1:

    host1:vr2#show mpls interface atm 6/1.1
    ...
    MPLS major interface ATM6/1.1
      ATM circuit type is 1483 LLC encapsulation
      Administrative state is enabled
      Operational state is up
      Operational MTU is 9180
      Received:
        0 packets
        0 bytes
        0 errors
        0 discards
        0 failed label lookups
      Sent:
        0 packets
        0 bytes
        0 errors
        0 discards
    LDP information:
        10.1.1.1/24
        enabled with profile 'default'
         0 hello recv, 2 hello sent, 0 hello rej
         0 adj setup, 0 adj deleted,

      RSVP
        Enabled with profile default
        Authentication is disabled
        Authentication key: <none>
        Hellos are on with an interval of 10000 and miss limit of 4
        Hello settings are not inherited

To display detailed information about MPLS interfaces:

    host1:pe1#show mpls interface detail
    MPLS major interface ATM2/0.10
      ATM circuit type is 1483 LLC encapsulation
      Administrative state is enabled
      Operational state is up
      Operational MTU is 9180
      MPLS major interface UID is 0x19000001
      Lower interface UID is 0x0b000031
      Uses platform label space
      Peer IPv4 interface is ATM2/0.10 (UID 0x000000be)
      No peer IPv6 interface
      Upper IPv4 interface is ip19000001.mpls.ip (UID 0x000000bf, FEC index 0x0000003f)
      No upper IPv4 VPN interface
      No upper IPv6 interface
      No upper IPv6 VPN interface
      Condensed location is 0x00020000
      Received:
        0 packets
        0 bytes
        0 errors
        0 discards
        0 failed label lookups
      Sent:
        0 packets
        0 bytes
        0 errors
        0 discards
      RSVP
        Enabled with profile default
        Authentication is disabled
        Authentication key: <none>

    MPLS minor interface pe1-to-pe2 (transmit)
      Stacked on MPLS major ATM2/0.10
      Operational state is up
      MPLS minor interface UID is 0x1a000001
      Lower MPLS major interface UID is 0x19000001
      Sent:
        0 packets
        0 bytes

      queue 0: traffic class best-effort, bound to atm-vc ATM2/0.10
        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 minor interface lsp-02020202-1-4 (receive)
      Stacked on MPLS major ATM2/0.10
      Operational state is up
      MPLS minor interface UID is 0x1a000004
      Lower MPLS major interface UID is 0x19000001
      Statistics not enabled for this interface

The following excerpt shows detailed RSVP-TE information for the MPLS interface:

    host1:vr2#show mpls interface detail
    MPLS major interface fastEthernet6/0
    RSVP
        Enabled with profile default
        Authentication is disabled
        Authentication key: <none>
        Hellos are enabled
        Hellos interval is 10000 milliseconds
        Hellos miss limit is 4
        Hello settings are not inherited

To display summary information about MPLS interfaces:

    host1:pe1#show mpls interface brief

    MPLS major interfaces

                 Admin    Oper
    Interface    state    state
    ---------   -------   -----
    ATM2/0.10   enabled   up

    MPLS shim interfaces

                Remote-PE   Virtual     Load
                   or       Circuit   Balancing   Admin   Oper
    Interface   LSP-name      ID        Group     state   state
    ---------   ---------   -------   ---------   -----   -----

    MPLS minor interfaces

                         Lower     Oper
       Interface       MplsMajor   state   Direction
    ----------------   ---------   -----   ---------
    pe1-to-pe2         ATM2/0.10   up      transmit
    lsp-02020202-1-4   ATM2/0.10   up      receive
    ERX-01-0c-d7:pe1#

#### Meaning

Table 76 lists the show mpls interface command output fields.

Table 76: show mpls interface Output Fields

Field Name | Field Description
--- | ---
Interface | Specifier and status of each interface
RSVP | Status of RSVP, configured or not, and profile used
LDP | Status of LDP, configured or not configured, and profile used
IP interfaces on this MPLS interface | IP address of IP interfaces and session status
Condensed location | Internal, platform-dependent, 32-bit representation of the interface location, used by Juniper Networks Customer support for troubleshooting.
label alloc | Number of labels allocated and advertised to this peer
label learned | Number of labels received from this peer
accum label alloc | Cumulative total number of labels allocated and advertised to this peer
accum label learned | Cumulative total number of labels received from this peer
notf | Number of notification messages received or received bad or sent
mapping | Number of label mapping messages received or received bad or sent
msg | Number of messages sent or received
request | Number of label request messages received or received bad or sent
abort | Number of label request abort messages for downstream on demand received or received bad or sent
release | Number of label release messages received or received bad or sent
withdraw | Number of label withdraw messages received or received bad or sent
addr | Number of address messages received or received bad or sent
addr withdraw | Number of address withdraw messages received or received bad or sent
msgId | Number of message IDs received or sent
unknown message type err | Number or unknown message type errors received
last info error code | Last received notification code
loop detected | Loop detected; for downstream on demand
hello recv | Number of hello messages received
hello sent | Number of hello messages sent
bad hello recv | Number of hello messages received bad
adj setup time | Time in hh:mm:ss since adjacency set up
last hello recv time | Time in hh:mm:ss since last hello message received
last hello sent time | Time in hh:mm:ss since last hello message sent
failed lbl lookup | Number of packets received whose labels are not recognized
octets | Number of octets received or sent
hcoctets | Number of high-capacity (64-bit) octets received or sent
pkts | Number of packets received or sent
hcpkts | Number of high-capacity (64-bit) packets received or sent
errors | Number of packets that are dropped for some reason at receipt or before being sent
discards | Number of packets that are discarded due to lack of buffer space at receipt or before being sent
adjacency | Number of adjacencies currently established
session | Number of sessions currently established
accum adjacency | Cumulative total number of adjacencies established since interface is up
accum session | Cumulative total number of sessions established since interface is up
hello recv | Number of hello messages received
hello sent | Number of hello messages sent
hello rej | Number of hello messages rejected
adj setup | Number of adjacencies set up
adj deleted | Number of adjacencies deleted

#### Related Documentation

- show mpls interface