![HP FlexNetwork HSR6600 Configuration Manual Download Page 23](http://html.mh-extra.com/html/hp/flexnetwork-hsr6600/flexnetwork-hsr6600_configuration-manual_163069023.webp)
13
•
If you want to associate the static LSP with an LDP LSP, make sure the egress node of the static
LSP has a route to the destination.
Configuration procedure
To configure a static LSP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the ingress
node of the static LSP.
static-lsp
ingress
lsp-name
destination
ip-address
{
mask
|
mask-length
} {
nexthop
next-hop-ip-address
|
outgoing-interface
interface-type
interface-number
}
out-label
out-label
If you specify a next hop for the
static LSP, make sure the ingress
node has an active route to the
specified next hop address.
3.
Configure the transit
node of the static LSP.
static-lsp
transit
lsp-name
in-label
in-label
{
nexthop
next-hop-ip-address
|
outgoing-interface
interface-type
interface-number
}
out-label
out-label
If you specify a next hop for the
static LSP, make sure the transit
node has an active route to the
specified next hop address.
4.
Configure the egress
node of the static LSP.
static-lsp egress
lsp-name
in-label
in-label
[
destination
ip-address
{
mask
|
mask-length
} ]
You do not need to configure this
command if the outgoing label
configured on the penultimate hop
of the static LSP is 0 or 3.
Displaying static LSPs
Execute
display
commands in any view.
Task Command
Display static LSP information.
display mpls static-lsp
[
lsp-name
lsp-name
]
Static LSP configuration example
Network requirements
Router A, Router B, and Router C all support MPLS.
Establish static LSPs between Router A and Router C, so that subnets 11.1.1.0/24 and 21.1.1.0/24
can access each other over MPLS.