1.3.3 Enabling MPLS
MPLS features can be configured only after MPLS is enabled.
Context
Perform the following steps on each LSR in an MPLS domain:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
mpls
MPLS is enabled globally and the MPLS view is displayed.
Step 3 Run:
quit
Return to the system view.
Step 4 Run:
interface interface-type interface-number
The interface to participate in MPLS forwarding is specified.
Step 5 Run:
mpls
MPLS is enabled on the interface.
----End
1.3.4 Configuring the Ingress for a Static LSP
Before setting up a static LSP, configure the ingress manually.
Context
Perform the following steps on the LSR to be configured as the ingress:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
static-lsp ingress lsp-name destination ip-address { mask-length | mask }
{ nexthop next-hop-address | outgoing-interface interface-type interface-number }
*
out-label out-label
The LSR is configured as the ingress on the specified LSP.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 1 Static LSPs Configuration
Issue 01 (2011-12-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4