EasyManua.ls Logo

Huawei AR1200 Series - Page 94

Huawei AR1200 Series
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
[LSRB] interface gigabitethernet 1/0/0
[LSRB-GigabitEthernet1/0/0] mpls ldp advertisement dod
[LSRB-GigabitEthernet1/0/0] quit
# Configure LSRC.
<LSRC> system-view
[LSRC] interface gigabitethernet 2/0/0
[LSRC-GigabitEthernet2/0/0] mpls ldp advertisement dod
[LSRC-GigabitEthernet2/0/0] quit
# Configure LSRD.
<LSRD> system-view
[LSRD] interface gigabitethernet 1/0/0
[LSRD-GigabitEthernet1/0/0] mpls ldp advertisement dod
[LSRD-GigabitEthernet1/0/0] quit
Step 5 Configure LDP over TE.
# Run the longest-match command on LSRA to enable LDP to set up an LSP by searching for
a route based on the longest matching rule.
<LSRA> system-view
[LSRA] mpls ldp
[LSRA-mpls-ldp] longest-match
[LSRA-mpls-ldp] quit
# Run the longest-match command on LSRD to enable LDP to set up an LSP by searching for
a route based on the longest matching rule.
<LSRD> system-view
[LSRD] mpls ldp
[LSRD-mpls-ldp] longest-match
[LSRD-mpls-ldp] quit
Step 6 Configure a remote LDP session and enable the function of automatically triggering a request
to a downstream node for a label mapping message associated with a remote LDP peer in DoD
mode.
# Configure LSRA.
<LSRA> system-view
[LSRA] mpls ldp remote-peer lsrd
[LSRA-mpls-ldp-remote-lsrd] remote-ip 4.4.4.4
[LSRA-mpls-ldp-remote-lsrd] remote-ip auto-dod-request
[LSRA-mpls-ldp-remote-lsrd] quit
# Configure LSRD.
<LSRD> system-view
[LSRD] mpls ldp remote-peer lsra
[LSRD-mpls-ldp-remote-lsra] remote-ip 1.1.1.1
[LSRD-mpls-ldp-remote-lsra] remote-ip auto-dod-request
[LSRD-mpls-ldp-remote-lsra] quit
Step 7 Verify the configuration.
# After completing the preceding configuration, run the display ip routing-table 4.4.4.4
command on LSRA to view routing information.
<LSRA> display ip routing-table 4.4.4.4
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Table : Public
Summary Count : 1
Destination/Mask Proto Pre Cost Flags NextHop Interface
Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS 2 MPLS LDP Configuration
Issue 01 (2011-12-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
87

Table of Contents

Other manuals for Huawei AR1200 Series

Related product manuals