# Monitoring MPLS Status and Configuration

#### Purpose

Display status and configuration information about MPLS.

#### Action

To display information about MPLS Status and configuration:

    host1#show mpls
    MPLS administratively enabled
      Current state is Config incomplete
      LSR ID is 10.2.2.2
      Re-optimization timer is 3600
      Label range 3000 ~ 4000
      retry forever at interval 30 during LSP setup if there is route
      retry forever at interval 30 during LSP setup if there is no route
    Loop Detect enabled

Additional detail is shown when LDP is enabled:

    LDP
      LSR ID is 80.0.0.2
      FEC Deaggregation is off
      Egress label: implicit-null
      Label distribution control mode: ordered control
      LDP session retry  0 times at interval 10
      LDP session hold time: 180
      LDP session keepalive interval: 20
      LDP targeted-hello hold time: 45
      LDP targeted-hello interval: 15
      Topology Driven LSP enabled
      LSPs used for IP forwarding
          for host addresses only

Additional detail is shown when RSVP-TE is enabled:

    RSVP is enabled
      LSRID 10.1.1.1
      Re-optimization timer is 3600
      Tunnel retry forever at interval 5 if route is available
      Tunnel retry forever at interval 5 if no route is available
      Refresh reduction is OFF
      Message bundling is OFF
      Egress label is non-null
      Hellos are on with an interval of 10000 and miss limit of 4
      Graceful restart is ON
        Restart time 60000 milliseconds
        Recovery time 120000 milliseconds

- Additional detail shown when RSVP-TE graceful restart helper mode is enabled:

      RSVP is enabled
      ...
        Graceful restart is ON (helper mode)

#### Meaning

Table 72 lists the show mpls command output fields.

Table 72: show mpls Output Fields

Field Name | Field Description
--- | ---
MPLS | Status of MPLS, administratively enabled or disabled, and configuration status
LSR ID | IP address of label-switched router
Re-optimization timer | Frequency at which LSPs are checked for better paths
Label range | Range of platform label space
retry | Retry behavior to be performed during LSP setup
Loop Detect | Status of loop detection, enabled or disabled
LDP | This field and the following fields are displayed only when LDP is enabled.
LSR ID | IP address of label-switched router
FEC Deaggregation | State of FEC deaggregation, on or off
Egress label | Type of label advertised for the LSR that is the egress router for the prefix, explicit-null or a non-null label
Label distribution control mode | Label distribution control mode used by LDP for label distribution, independent control or ordered control
LDP session retry | Interval in seconds between attempts to set up an MPLS LDP session
LDP session hold time | Period in seconds for which an LSR maintains the session with its LDP peer without receipt of any LDP message from that peer
LDP session keepalive interval | Interval at which LDP sends session keepalive messages, in seconds
LDP targeted hello hold time | LDP targeted-hello hold time, in seconds
LDP targeted-hello interval | LDP targeted-hello interval, in seconds
Topology Driven LSP | Status of topology-driven LSP, enabled or disabled
LSPs used for IP forwarding | LSPs are placed in the IP routing table for forwarding plain IP traffic; displayed only when the mpls ldp ip-forwarding command has been configured. Indicates whether the LSPs that are used for IP forwarding are host only, subject to a specified access list, or subject to a specified prefix list.
RSVP is enabled | This field and the following fields are displayed only when RSVP-TE is enabled.
LSRID | IP address of label-switched router
Re-optimization timer | Frequency at which LSPs are checked for better paths
Tunnel retry | Retry behavior to be performed during LSP setup
Refresh reduction | State of RSVP-TE summary refresh reduction, OFF or ON
Message bundling | State of RSVP-TE summary refresh message bundling, OFF or ON
Egress label | Type of label advertised for the LSR that is the egress router for the prefix, explicit-null or a non-null label
Hellos | State of RSVP-TE hello feature, including the hello refresh interval and hello miss limit
Graceful restart | State of RSVP-TE graceful restart, OFF or ON
helper mode | Graceful restart helper mode is enabled when this field is displayed
Restart time | Graceful restart time, in milliseconds
Recovery time | Graceful restart recovery time, in milliseconds

#### Related Documentation

- show mpls