R3303-HP HSR6800 Routers MPLS Configuration Guide
33
Task Command
Remarks
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 statistics for all LSPs or the
LSP with a specific incoming label.
reset mpls statistics lsp [ in-label
in-label ]
Available in user view.
Clear statistics for all public
network tunnels or the one with a
specific LSP token.
reset mpls statistics tunnel [ token
token ]
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
[RouterA] ip route-static 21.1.1.0 24 10.1.1.2