R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

66
Related commands
display mpls statistics tunnel
static-lsp egress
Use static-lsp egress to configure a static LSP taking the current LSR as the egress.
Use undo static-lsp egress to remove a static LSP taking the current LSR as the egress.
Syntax
static-lsp egress lsp-name incoming-interface interface-type interface-number in-label in-label
undo static-lsp egress lsp-name
Views
System view
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, which can be 0, 3, or a value in the range of 16 to 1023.
Examples
# Configure a static LSP taking the current LSR as the egress, and specify the LSP's name as bj-sh,
incoming interface as Serial 2/1/0, and incoming label as 233.
<Sysname> system-view
[Sysname] static-lsp egress bj-sh incoming-interface serial 2/1/0 in-label 233
Related commands
display mpls static-lsp
static-lsp ingress
static-lsp transit
static-lsp ingress
Use static-lsp ingress to configure a static LSP taking the current LSR as the ingress.
Use undo static-lsp ingress to remove a static LSP taking the current LSR as the 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
Views
System view