Huawei AR1200 Series Configuration Manual - Mpls page 94

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

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
[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
Issue 01 (2011-12-30)
Proto
Pre
Cost
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 MPLS LDP Configuration
Flags NextHop
Interface
87

Advertisement

Table of Contents
loading

Table of Contents