R2511-HP MSR Router Series MPLS Configuration Guide(V5)
29
Clearing MPLS statistics
Task Command
Remarks
Clear MPLS statistics for one or all
MPLS interfaces.
reset mpls statistics interface { interface-type
interface-number | all }
Available in user view.
Clear MPLS statistics for all LSPs or
the LSP with a specific index or
name.
reset mpls statistics lsp { index | all | name
lsp-name }
Available in user view.
Clear information in the MPLS fast
forwarding cache.
reset mpls fast-forwarding cache Available in user view.
MPLS configuration examples
Configuring static LSPs
Network requirements
Router A, Router B, and Router C support MPLS.
Establish static LSPs between Router A and Router C so that subnets 11.1.1.0 / 24 a n d 21.1.1.0 / 24 c a n
access each other over MPLS. Test the connectivity of the static LSPs.
Figure 13 Network diagram
Configuration considerations
On an LSP, the outgoing label of an upstream LSR must be identical with the incoming label of its
downstream LSR.
Configure an LSP for each direction on the forwarding path.
Configure a static route to the destination address of the LSP on each ingress node. Such a route is not
required on the transit and egress nodes. You do not need to configure any routing protocol on the
routers.
Configuration procedure
1. Configure IP addresses for the interfaces according to Figure 13. (Details not shown.)
2. Configure a static route to the FEC destination address on each ingress node:
# Configure a static route to network 21.1.1.0/24 on Router A.
<RouterA> system-view










