Command Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration Commands
1-76
Default Level
2: System level
Parameters
lsp-name
: Name for the LSP.
interface-type interface-number
: Specifies an incoming interface by its type and
number.
in-label
: Incoming label value.
nexthop next-hop-addr
: Address of the next hop.
outgoing-interface
interface-type interface-number
: Specifies an outgoing interface
by its type and number.
out-label
: Outgoing label value.
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 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 ingress
.
Examples
# Configure a static LSP, taking VLAN-interface 12 as the incoming interface and
setting the incoming label as 123 and the outgoing label as 253.
<Sysname> system-view
[Sysname] static-lsp transit bj-sh incoming-interface vlan-interface 12
in-label 123 nexthop 202.34.114.7 out-label 253
1.1.53 statistics interval
Syntax
statistics interval
interval-time
undo statistics interval