R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
68
Default command level
2: System level
Parameters
lsp-name: Specifies an LSP name, a string of 1 to 15 characters.
incoming-interface interface-type interface-number: Specifies an incoming interface by its type and
number.
in-label in-label: Specifies an incoming label in the range of 16 to 1023.
nexthop next-hop-addr: Specifies a next hop address.
outgoing-interface interface-type interface-number: Specifies an outgoing interface by its type and
number.
out-label out-label: Specifies an outgoing label, which can be a 0, 3, or a value in the range of 16 to
1023.
Usage guidelines
The next hop address cannot be any local public network IP address.
Examples
# Configure a static LSP taking the local LSR as a transit LSR, and specify the LSP's name as bj-sh,
incoming interface as Serial 2/1/0, incoming label as 123, next hop address as 202.34.114.7, and
outgoing label as 253.
<Sysname> system-view
[Sysname] static-lsp transit bj-sh incoming-interface serial 2/1/0 in-label 123 nexthop
202.34.114.7 out-label 253
Related commands
• static-lsp egress
• static-lsp ingress
statistics
Use statistics to enable MPLS statistics collection for LSPs.
Use undo statistics to disable MPLS statistics collection for LSPs.
Syntax
statistics { ipv4 destination mask [ vpn-instance vpn-instance-name ] | ipv6 destination mask | static }
undo statistics { ipv4 destination mask [ vpn-instance vpn-instance-name ] | ipv6 destination mask |
static }
Default
The device does not collect MPLS statistics for any LSPs.
Views
MPLS view
Default command level
2: System level










