3Com S7902E Command Reference Manual - page 1579
1-47
Related commands:
static-lsp egress
,
static-lsp transit
,
display mpls static-lsp
.
Examples
# Configure a static LSP to destination address 202.25.38.1, taking the current LSR as the ingress.
[Sysname] static-lsp ingress bj-sh destination 202.25.38.1 24 nexthop 202.55.25.33 out-label
237
static-lsp transit
Syntax
static-lsptransit
lsp-name
incoming-interface
interface-type interface-number
in-label in-label
nexthop
next-hop-addr
out-label out-label
undo static-lsp transit lsp-name
View
System view
Default Level
2: System level
Parameters
lsp-name
: Name for the LSP, a string of 1 to 15 characters.
incoming-interface
interface-type interface-number
: Specifies an incoming interface by its type and
number.
in-label
: Incoming label, in the range 16 to 1023.
next-hop-addr
: Address of the next hop.
out-label
: Outgoing label, in the range 16 to 1023.
Description
Use the
static-lsp transit
command to configure a static LSP taking the current LSR as a transit LSR.
Use the
undo static-lsp transit
command to remove a static LSP taking the current LSR as a transit
LSR.
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.
Related commands:
static-lsp egress
,
static-lsp ingress
.
Examples
# Configure a static LSP, taking interface Vlan-interface 2 as the incoming interface and setting the
incoming label as 123 and the outgoing label as 253.