[LSRD-LoopBack0] isis enable 1
[LSRD-LoopBack0] quit
# Configure LSRB.
<LSRB> system-view
[LSRB] isis 1
[LSRB-isis-1] is-level level-1
[LSRB-isis-1] network-entity 10.0010.0300.0001.00
[LSRB-isis-1] quit
[LSRB] interface ethernet 1/0/0
[LSRB-Ethernet1/0/0] isis enable 1
[LSRB-Ethernet1/0/0] quit
[LSRB] interface loopback 0
[LSRB-LoopBack0] isis enable 1
[LSRB-LoopBack0] quit
# Configure LSRC.
<LSRC> system-view
[LSRC] isis 1
[LSRC-isis-1] is-level level-1
[LSRC-isis-1] network-entity 10.0010.0300.0002.00
[LSRC-isis-1] quit
[LSRC] interface ethernet 1/0/0
[LSRC-Ethernet1/0/0] isis enable 1
[LSRC-Ethernet1/0/0] quit
[LSRC] interface loopback 0
[LSRC-LoopBack0] isis enable 1
[LSRC-LoopBack0] quit
# On LSRA, run the display ip routing-table command. You can view route information.
[LSRA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 11 Routes : 11
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
1.2.0.1/32 ISIS-L1 15 10 D 10.1.1.2 Ethernet1/0/0
1.3.0.1/32 ISIS-L1 15 20 D 10.1.1.2 Ethernet1/0/0
1.3.0.2/32 ISIS-L1 15 20 D 10.1.1.2 Ethernet1/0/0
10.1.1.0/24 Direct 0 0 D 10.1.1.1 Ethernet1/0/0
10.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
20.1.1.0/24 ISIS-L1 15 20 D 10.1.1.2 Ethernet1/0/0
20.1.2.0/24 ISIS-L1 15 20 D 10.1.1.2 Ethernet1/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
Step 3 Configure the policy for aggregating routes.
# On LSRD, run the summary command to obtain the aggregated LSRB and LSRC host route.
[LSRD] isis 1
[LSRD-isis-1] summary 1.3.0.0 255.255.255.0 avoid-feedback
# On LSRA, run the display ip routing-table command to view routing information.
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
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.
107