Command Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration Commands
1-74
View
System view
Default Level
2: System level
Parameters
lsp-name
: Name for the LSP.
interface-type interface-number
: Specifies an interface by its type and number.
in-label
: Incoming label value.
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 12
in-label 233
1.1.51 static-lsp ingress
Syntax
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
undo static-lsp ingress
lsp-name
View
System view
Default Level
2: System level
Parameters
lsp-name
: Name for the LSP.