# Setting Baselines for Layer 2 Services over MPLS Statistics

You can set a baseline for the statistics for all MPLS major interface statistics on the specified interface with the baseline mpls interface command. The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline when you retrieve baseline-relative statistics.

Use the delta keyword with the show mpls commands to display baselined statistics. The following statistics are maintained for each MPLS shim interface:

receive packets and octets | transmit packets and octets
receive discarded packets | transmit discarded packets
receive error packets | transmit error packets

To set a statistics baseline for layer 2 services over MPLS:

- Issue the baseline mpls interface command:
  host1#baseline mpls interface

#### Related Documentation

- baseline mpls interface