< Home

Establishing a Static LSP

Context

Static LSPs and static Constraint-based Routed LSPs (CR-LSPs) share the same label space (16-1023). Note that the value of the outgoing label of the previous node is equal to the value of the incoming label of the next node.

Perform the following operations on the ingress, transit, and egress nodes of the static LSP. Figure 1 shows planned labels.

Figure 1 Networking of establishing a static LSP

Procedure

  1. Configure the ingress node.
    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

      The local node is configured as the ingress node of a specified LSP.

      You are advised to set up a static LSP by specifying a next hop. Ensure that the local routing table contains the route entries, including the destination IP address and the next hop IP addresses of the LSP to be set up.

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

      As shown in Figure 1, the LSP name is LSP1, destination address is 3.3.3.9/32, next hop address is 172.16.1.2, outbound interface is Vlanif100, and outgoing label is 100.

  2. Configure the transit node.
    1. Run system-view

      The system view is displayed.

    2. Run static-lsp transit lsp-name [ incoming-interface interface-type interface-number ] in-label in-label { nexthop next-hop-address | outgoing-interface interface-type interface-number } * out-label out-label

      The local node is configured as the transit node of a specified LSP.

      You are advised to set up a static LSP by specifying a next hop address. In addition, ensure that the local routing table contains the route entries, including the destination IP address and the next hop IP address of the LSP to be set up.

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

      As shown in Figure 1, the LSP name is LSP1, the inbound interface is Vlanif100, incoming label is 100, next hop address is 172.20.1.2, outbound interface is Vlanif200, and outgoing label is 200.

  3. Configure the egress node.
    1. Run system-view

      The system view is displayed.

    2. 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 local node is configured as the egress node of a specified LSP.

      As shown in Figure 1, the LSP name is LSP1, the inbound interface is Vlanif200, and incoming label is 200.

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