Procedure
Step 1 Assign an IP address to each interface of each node and configure the loopback address that is
used as the LSR ID.
As shown in Figure 2-9, configure an IP address and mask for each interface including the
loopback interface. The configuration details are not mentioned here.
Step 2 Configure basic IS-IS functions on each backbone network device and a static route to the
neighbor of each edge device.
# Configure basic IS-IS function on LSRB.
<LSRB> system-view
[LSRB] isis 1
[LSRB-isis-1] network-entity 10.0000.0000.0001.00
[LSRB-isis-1] quit
[LSRB] interface gigabitethernet 2/0/0
[LSRB-GigabitEthernet2/0/0] isis enable 1
[LSRB-GigabitEthernet2/0/0] quit
[LSRB] interface loopback 0
[LSRB-LoopBack0] isis enable 1
[LSRB-LoopBack0] quit
# Configure basic IS-IS function on LSRC and imports static routes.
<LSRC> system-view
[LSRC] isis 1
[LSRC-isis-1] network-entity 10.0000.0000.0002.00
[LSRC-isis-1] import-route static
[LSRC-isis-1] quit
[LSRC] interface gigabitethernet 1/0/0
[LSRC-GigabitEthernet1/0/0] isis enable 1
[LSRC-GigabitEthernet1/0/0] quit
[LSRC] interface loopback 0
[LSRC-LoopBack0] isis enable 1
[LSRC-LoopBack0] quit
# Configure a default route with the next-hop address being 10.1.1.2 on LSRA.
<LSRA> system-view
[LSRA] ip route-static 0.0.0.0 0.0.0.0 10.1.1.2
# Configure a static route to LSRA on LSRB.
<LSRB> system-view
[LSRB] ip route-static 1.1.1.1 255.255.255.0 10.1.1.1
# Configure a static route to LSRD on LSRC.
<LSRC> system-view
[LSRC] ip route-static 4.4.4.4 255.255.255.0 10.1.3.2
# Configure a default route with the next-hop address being 10.1.3.1 on LSRD.
<LSRB> system-view
[LSRB] ip route-static 0.0.0.0 0.0.0.0 10.1.3.1
# Run the display ip routing-table command on LSRA to view routing information.
[LSRA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 7 Routes : 7
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.
85