By default, statistics are enabled for next hops depending on the protocol that created
the MPLS next hop. Statistics are not stored in NVS.
When enabled, the following statistics are maintained for each next-hop table entry:
•
out error packets
•
out discarded packets
•
out packets and bytes
There is no no version for the baseline mpls next-hop command. However, you can
disable the next-hop table statistics.
To disable the statistics for a specific MPLS next hop:
•
Issue the no mpls statistics next-hop command.
host1#no mpls statistics next-hop 1046
Setting a Baseline for MPLS Tunnel Statistics
To set a statistics baseline for MPLS tunnel statistics:
•
Issue the baseline mpls tunnel command.
host1#baseline mpls tunnel tunnel5
There is no no version.
Enabling Statistics Collection for Policies Attached to MPLS Tunnels
To enable collection of the following statistics for each policy attached to a tunnel:
•
Issue the mpls statistics policy command.
host1#mpls statistics policy tunnel5
Statistics are not stored in NVS. When enabled, the following statistics are maintained
for each policy:
•
EXP bits value
•
classifier group
•
packets and bytes
To disable collection of policy statistics for a specific MPLS tunnel:
•
Issue the no mpls statistics policy command.
host1#no mpls statistics policy tunnel5
Clearing and Re-Creating Dynamic Interfaces from MPLS Major Interfaces
To remove and re-create dynamic IPv4 interfaces and dynamic IPv6 interfaces from all
MPLS major interfaces or a specific MPLS major interface:
•
Issue the clear mpls dynamic-interfaces on-major-interfaces command:
host1#clear mpls dynamic-interfaces on-major-interfaces
Copyright © 2010, Juniper Networks, Inc.324
JunosE 11.2.x BGP and MPLS Configuration Guide