< Home

Configuring the Static LSP Between the UPE and the SPE

Context

Before configuring a static VLL, you need to configure a static LSP.

Do as follows on the SPE and the UPE devices:

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

    Or run static-lsp ingress tunnel-interface interface-type interface-number destination ip-address { nexthop next-hop-address | outgoing-interface interface-type interface-number } * out-label out-label

    The ingress node is configured for the LSP.

    The next hop must be configured instead of the outgoing interface for non-P2P link.

  3. Run static-lsp egress lsp-name [ incoming-interface interface-type interface-number ] in-label in-label [ lsrid ingress-lsr-id tunnel-id tunnel-id ]

    The egress of the LSP is configured.

    • Between the UPE and the SPE, two static LSPs with opposite directions must be configured because the static LSP is unidirectional.

    • If P devices exist between the UPE and the SPE, the static-lsp transit command must be configured on the P devices to configure the transit of the static LSP.

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