Configuring the Ingress of a Static LSP

A static LSP must be manually configured on the ingress.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run static-lsp ingress lsp-name destination ip-address { mask-length | mask } { nexthop next-hop-address | outgoing-interface interface-type interface-number } out-label out-label

    A local node is configured as the ingress of an LSP.

    To modify the destination address, next-hop IP address, outbound interface name, or outgoing label value, run the static-lsp ingress command to set a new value, but there is no need to run the undo static-lsp ingress command before changing a setting.

    It is recommended that you establish a static LSP by specifying a next-hop IP address. In addition, ensure that the location routing table contains the route entries that exactly match the specified destination IP address, including the destination IP address and the IP address of the next hop.

    If an Ethernet interface is used as an outbound interface, the nexthop next-hop-address parameter must be configured.

  3. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >