l
The router ID of Router B is 2.2.2.2, the AS number is 10, the OSPF process number is 1,
and the network segments in Area 0 are 10.1.1.0/30 and 10.1.3.0/30.
l
The router ID of Router C is 3.3.3.3, the AS number is 10, the OSPF process number is 1,
and the network segments in Area 0 are 10.1.2.0/30 and 10.1.4.0/30.
l
The router ID of Router D is 4.4.4.4, the AS number is 10, the OSPF process number is 1,
and the network segments in Area 0 are 10.1.3.0/30 and 10.1.4.0/30.
l
The router ID of Router E is 5.5.5.5, and the AS number is 20.
Procedure
Step 1
Configure an IP address for each interface.
This example assumes that you know the configuration method and no details are provided here.
Step 2
Configure basic OSPF functions.
This example assumes that you know the configuration method and no details are provided here.
Step 3
Configure an IBGP full connection.
# Configure Router A.
<RouterA>
system-view
[RouterA]
interface LoopBack 0
[RouterA-LoopBack0]
ip address 1.1.1.1 32
[RouterA-LoopBack0]
quit
[RouterA]
bgp 10
[RouterA-bgp]
router-id 1.1.1.1
[RouterA-bgp]
peer 2.2.2.2 as-number 10
[RouterA-bgp]
peer 2.2.2.2 connect-interface LoopBack 0
[RouterA-bgp]
peer 3.3.3.3 as-number 10
[RouterA-bgp]
peer 3.3.3.3 connect-interface LoopBack 0
[RouterA-bgp]
peer 4.4.4.4 as-number 10
[RouterA-bgp]
peer 4.4.4.4 connect-interface LoopBack 0
[RouterA-bgp]
quit
# Configure Router B.
<RouterB>
system-view
[RouterB]
interface LoopBack 0
[RouterB-LoopBack0]
ip address 2.2.2.2 32
[RouterB-LoopBack0]
quit
[RouterB]
bgp 10
[RouterB-bgp]
router-id 2.2.2.2
[RouterB-bgp]
peer 1.1.1.1 as-number 10
[RouterB-bgp]
peer 1.1.1.1 connect-interface LoopBack 0
[RouterB-bgp]
peer 3.3.3.3 as-number 10
[RouterB-bgp]
peer 3.3.3.3 connect-interface LoopBack 0
[RouterB-bgp]
peer 4.4.4.4 as-number 10
[RouterB-bgp]
peer 4.4.4.4 connect-interface LoopBack 0
[RouterB-bgp]
quit
# Configure Router C.
<RouterC>
system-view
[RouterC]
interface LoopBack 0
[RouterC-LoopBack0]
ip address 3.3.3.3 32
[RouterC-LoopBack0]
quit
[RouterC]
bgp 10
[RouterC-bgp]
router-id 3.3.3.3
[RouterC-bgp]
peer 1.1.1.1 as-number 10
[RouterC-bgp]
peer 1.1.1.1 connect-interface LoopBack 0
[RouterC-bgp]
peer 2.2.2.2 as-number 10
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
5 OSPF Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
392