# Monitoring MPLS Tunnels

#### Purpose

Display status and configuration for all tunnels or for a specific tunnel in the current router context

#### Action

To display the configuration for all tunnels:

    host12#show mpls tunnels

    LSP vpnIngress-21 to   3.3.3.3
    State:  Up
    Out label is Variable Interface
    102 pkts, 0 hcPkts, 13464 octets
    0 hcOctets, 0 errors, 0 discardPkts
    Labels:
    16 17 18 19

#### Meaning

Table 100 lists the show mpls tunnels command output fields.

Table 100: show mpls tunnels Output Fields

Field Name | Field Description
--- | ---
State | Status of tunnel, up or down
Out Label | In the default case for a BGP/MPLS VPN, the Variable Interface, which indicates that a packet exiting the interface is going through a variable interface and that one of the labels listed further in the display will be prepended to the packet
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 that are dropped for some reason before being sent
discardPkts | Number of packets that are discarded due to lack of buffer space before being sent
Labels | List of labels associated with the variable interface; one will be selected to be prepended to packets before being sent across tunnel

#### Related Documentation

- show mpls tunnels