3com S7906E Reference Guide
1-46
in-label: Incoming label value, in the range 16 to 1023.
Description
Use the static-lsp egress command to configure a static LSP taking the current LSR as the egress.
Use the undo static-lsp egress command to remove a static LSP taking the current LSR as the
egress.
Related commands: static-lsp ingress, static-lsp transit, display mpls static-lsp.
Examples
# Configure a static LSP named bj-sh, taking the current LSR as the egress.
<Sysname> system-view
[Sysname] static-lsp egress bj-sh incoming-interface vlan-interface 2 in-label 233
static-lsp ingress
Syntax
static-lsp ingress lsp-name destination dest-addr { mask | mask-length } nexthop next-hop-addr
out-label out-label
undo static-lsp ingress lsp-name
View
System view
Default Level
2: System level
Parameters
lsp-name: Name for the LSP, a string of 1 to 15 characters.
dest-addr: Destination IP address of the LSP.
mask: Mask of the destination IP address.
mask-length: Length of the mask for the destination address, in the range 0 to 32.
next-hop-addr: Address of the next hop.
out-label: Outgoing label, in the range 16 to 1023.
Description
Use the static-lsp ingress command to configure a static LSP taking the current LSR as the ingress.
Use the undo static-lsp ingress command to remove a static LSP taking the current LSR as the
ingress.
Note that:
z
If you specify the next hop when configuring a static LSP, and the address of the next hop is
present in the routing table, you also need to specify the next hop when configuring the static IP
route.
z
If you specify the outgoing interface when configuring a static LSP, you also need to specify the
outgoing interface when configuring the static IP route.
z
The address of the next hop cannot be any local public network IP address.