Configuration procedure
To configure a static LSP:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure the ingress node of the static LSP. | static-lsp ingress lsp-name destination dest-addr { mask | mask-length } { nexthop next-hop-addr | outgoing-interface interface-type interface-number } out-label out-label | If you specify a next hop for the static LSP, make sure the ingress node has an active route to the specified next hop address. |
3. Configure the transit node of the static LSP. | static-lsp transit lsp-name in-label in-label { nexthop next-hop-addr | outgoing-interface interface-type interface-number } out-label out-label | If you specify a next hop for the static LSP, make sure the transit node has an active route to the specified next hop address. |
4. Configure the egress node of the static LSP. | static-lsp egress lsp-name in-label in-label | You do not need to configure this command if the outgoing label configured on the penultimate hop of the static LSP is 0 or 3. |