![H3C S9500 Series Скачать руководство пользователя страница 83](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036083.webp)
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration Commands
1-75
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.
next-hop-addr
: Address of the next hop.
outgoing-interface interface-type interface-number
: Specifies an interface by its type
and number.
out-label
: Outgoing label value.
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 must also specify the next hop when
configuring the static IP route.
z
If you specify the outgoing interface when configuring a static LSP, you must also
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 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> system-view
[Sysname] static-lsp ingress bj-sh destination 202.25.38.1 24 nexthop
202.55.25.33 out-label 237
1.1.52 static-lsp transit
Syntax
static-lsp transit
lsp-name
incoming-interface
interface-type interface-number
in-label in-label
{
nexthop
next-hop-addr
|
outgoing-interface
interface-type
interface-number
}
out-label out-label
undo static-lsp transit lsp-name
View
System view