host1#baseline mpls interface boston5
There is no no version.
The following statistics are maintained for each MPLS major interface:
•
transmit packets and octets
•
receive packets and octets
•
transmit discarded packets
•
receive discarded packets
•
transmit error packets
•
receive error packets
•
failed label lookups
Enabling and Setting a Baseline for MPLS Forwarding Table Statistics
To enable and set a statistics baseline for MPLS forwarding table entries:
1. Issue the mpls statistics label command to enable the statistics for a specific MPLS
in label.
host1#mpls statistics label 123
2. Issue the baseline mpls label command for a specific MPLS in label.
host1#baseline mpls label 123
By default, statistics are enabled for incoming labels and RSVP-TE or LDP outgoing
labels, but not for others such as BGP outgoing labels. Statistics are not stored in NVS.
When enabled, the following statistics are maintained for each forwarding table entry:
•
receive error packets
•
receive discarded packets
•
receive packets and octets
There is no no version for the baseline mpls label command. However, you can disable
the forwarding table statistics.
To disable the statistics for a specific MPLS in label:
•
Issue the no mpls statistics label command.
host1#no mpls statistics label 123
Enabling and Setting a Baseline for MPLS Next-Hop Table Statistics
To enable and set a statistics baseline for MPLS next-hop table entries:
1. Issue the mpls statistics next-hop command to enable the statistics for a specific
MPLS next hop.
host1#mpls statistics next-hop 1046
2. Issue the baseline mpls next-hop command for a specific MPLS next hop.
host1#baseline mpls next-hop 1046
323Copyright © 2010, Juniper Networks, Inc.
Chapter 5: Monitoring MPLS