Huawei AR1200 Series Configuration Manual - Mpls page 99

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
[LSRB-Ethernet2/0/0] mpls
[LSRB-Ethernet2/0/0] mpls ldp
[LSRB-Ethernet2/0/0] quit
# Configure LSRC.
<LSRC> system-view
[LSRC] mpls lsr-id 3.3.3.9
[LSRC] mpls
[LSRC-mpls] quit
[LSRC] mpls ldp
[LSRC-mpls-ldp] quit
[LSRC] interface ethernet 1/0/0
[LSRC-Ethernet1/0/0] mpls
[LSRC-Ethernet1/0/0] mpls ldp
[LSRC-Ethernet1/0/0] quit
# Configure LSRD.
<LSRD> system-view
[LSRD] mpls lsr-id 4.4.4.9
[LSRD] mpls
[LSRD-mpls] quit
[LSRD] mpls ldp
[LSRD-mpls-ldp] quit
[LSRD] interface ethernet 1/0/0
[LSRD-Ethernet1/0/0] 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 inbound LDP policy.
# Configure an IP prefix list on LSRD to permit the route to only LSRC to pass the inbound
LDP policy.
<LSRD> system-view
[LSRD] ip ip-prefix prefix1 permit 3.3.3.9 32
# Configure an inbound policy on LSRD to allow LSRD to send label mapping messages
carrying the route to only LSRC.
<LSRD> system-view
[LSRD] mpls ldp
[LSRD-mpls-ldp] inbound peer 2.2.2.9 fec ip-prefix prefix1
[LSRB-mpls-ldp] quit
Step 4 Verify the configuration.
After completing the configuration is complete, run the display mpls lsp command on LSRD.
The result shows that only an LSP to LSRC has been established.
Issue 01 (2011-12-30)
LSP Information: LDP LSP
In/Out Label
In/Out IF
NULL/1024
-/Eth1/0/0
1024/1024
-/Eth1/0/0
NULL/3
-/Eth1/0/0
1025/3
-/Eth1/0/0
NULL/1025
-/Eth1/0/0
1026/1025
-/Eth1/0/0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 MPLS LDP Configuration
Vrf Name
92

Advertisement

Table of Contents
loading

Table of Contents