Huawei AR1200 Series Configuration Manual - Mpls page 53

Enterprise routers
Hide thumbs Also See for AR1200 Series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
l
Issue 01 (2011-12-30)
1.
Run:
system-view
The system view is displayed.
2.
Run:
mpls ldp
The MPLS-LDP view is displayed.
3.
Run:
inbound peer { peer-id | peer-group peer-group-name | all } fec { none |
host | ip-prefix prefix-name }
An inbound policy for allowing the local LSR to receive label mapping messages from
a specified LDP peer for a specified IGP route is configured.
To apply a policy associated with a single FEC range to an LDP peer group or all LDP
peers from which the local LSR receive Label Mapping messages, configure either
the peer-group peer-group-name or all parameter in the command.
NOTE
If multiple inbound policies are configured for a specified LDP peer, the first configured one
takes effect. For example, the following two inbound policies are configured:
inbound peer 2.2.2.2 fec host
inbound peer peer-group group1 fec none
As group1 also contains an LDP peer with peer-id of 2.2.2.2, the following inbound policy
takes effect:
inbound peer 2.2.2.2 fec host
If two inbound policies are configured in sequence and the peer parameters in the two
commands are the same, the second command overwrites the first one. For example, the
following two inbound policies are configured:
inbound peer 2.2.2.2 fec host
inbound peer 2.2.2.2 fec none
The second configuration overwrites the first one. This means that the following inbound policy
takes effect on the LDP peer with peer-id of 2.2.2.2:
inbound peer 2.2.2.2 fec none
MPLS and MPLS LDP must be enabled globally before an inbound policy is configured.
To delete all inbound policies simultaneously, run the undo inbound peer all command.
Configure an outbound LDP policy.
1.
Run:
system-view
The system view is displayed.
2.
Run:
mpls ldp
The MPLS-LDP view is displayed.
3.
Perform either of the following steps to apply the outbound policy that allows Label
Mapping messages for specified routes to be sent to a specified LDP peer:
– To configure an outbound policy that allows Label Mapping messages for specified
IGP routes to be sent to a specified LDP peer, run:
outbound peer { peer-id | peer-group peer-group-name | all } fec
{ none | host | ip-prefix prefix-name }
– To configure an outbound policy that allows Label Mapping messages for specified
labeled BGP routes to be sent to a specified LDP peer, run:
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 MPLS LDP Configuration
46

Advertisement

Table of Contents
loading

Table of Contents