To modify the incoming-interface interface-type interface-number or in-label in-label-value,
run the static-lsp egress command to set a new value. There is no need to run the undo static-
lsp egress command before changing a configured value.
----End
1.3.7 Checking the Configuration
After a static LSP is set up, you can see that the static LSP is Up and the route status is Ready.
Prerequisite
The configurations of the static LSP function are complete.
Procedure
l Run the display mpls static-lsp [ lsp-name ] [ { include | exclude } ip-address mask-
length ] [ verbose ] command to check the static LSP.
l Run the display mpls route-state [ vpn-instance vpn-instance-name ] [ { exclude |
include } { idle | ready | settingup } * | destination-address mask-length ] [ verbose ]
command to check the LSP route on the ingress.
----End
Example
If the configurations have succeeded, run the preceding commands to display information about
the static LSP:
l After the display mpls static-lsp command is run, information about the static LSP
configuration is displayed, including the name of the static LSP, FEC, values of the
incoming label and the outgoing label, and the incoming and outgoing interfaces. In
addition, you can see that the status of the LSP is Up.
<Huawei> display mpls static-lsp
TOTAL : 1 STATIC LSP(S)
UP : 1 STATIC LSP(S)
DOWN : 0 STATIC LSP(S)
Name FEC I/O Label I/O If Status
lsp1 3.3.3.9/32 NULL/100 -/GE1/0/0 Up
1.4 Maintaining Static LSPs
The static LSP maintenance consists of deleting MPLS statistics, detecting connectivity or
reachability of an LSP, and configuring the trap function on an LDP LSP.
1.4.1 Checking the LSP Connectivity and Reachability
You can monitor connectivity or reachability of an LSP by running the ping or tracert command.
Context
You can run the following commands in any view to perform MPLS ping and MPLS tracert.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2011-12-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6