Huawei AR1200 Series Configuration Manual - Mpls page 104

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
[LSRD-Ethernet1/0/0] mpls ldp
[LSRD-Ethernet1/0/0] quit
# After completing the configuration, run the display mpls lsp command on LSRD to view
information about the established LSPs.
<LSRD> display mpls lsp
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
FEC
1.1.1.9/32
1.1.1.9/32
2.2.2.9/32
2.2.2.9/32
3.3.3.9/32
3.3.3.9/32
The command output shows that LSPs to LSRA, LSRB, and LSRC have been established on
LSRD.
Step 3 Configure an outbound LDP policy.
# Configure an IP prefix list on LSRB to permit the routes to LSRC to pass the outbound LDP
policy.
<LSRB> system-view
[LSRB] ip ip-prefix prefix1 permit 3.3.3.9 32
# Configure an outbound policy on LSRB to send LSRD label mapping messages carrying the
route to only LSRC.
<LSRB> system-view
[LSRB] mpls ldp
[LSRB-mpls-ldp] outbound peer 4.4.4.9 fec ip-prefix prefix1
[LSRB-mpls-ldp] quit
Step 4 Verify the configuration.
After completing the configuration, run the display mpls lsp command on LSRD. The result
shows that only an LSP to LSRC has been established.
<LSRD> display mpls lsp
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
FEC
3.3.3.9/32
3.3.3.9/32
----End
Configuration Files
l
Issue 01 (2011-12-30)
LSP Information: LDP LSP
In/Out Label
NULL/1024
1024/1024
NULL/3
1025/3
NULL/1025
1026/1025
LSP Information: LDP LSP
In/Out Label
NULL/1025
1026/1025
Configuration file of LSRA
#
sysname LSRA
#
mpls lsr-id 1.1.1.9
mpls
#
mpls ldp
#
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
In/Out IF
-/Eth1/0/0
-/Eth1/0/0
-/Eth1/0/0
-/Eth1/0/0
-/Eth1/0/0
-/Eth1/0/0
In/Out IF
-/Eth1/0/0
-/Eth1/0/0
2 MPLS LDP Configuration
Vrf Name
Vrf Name
97

Advertisement

Table of Contents
loading

Table of Contents