
Topology
Questions :
1.1
Basic OSPF
Set the OSPF process ID of all routers to Y.
·
OSPF area 0 (2)
§ The FR interfaces connecting R1, R4 and R5
and their loopback 0 interfaces plus S3/0/0 on R1 are in OSPF area 0.
§ Default OSPF network types may not be
changed
·
Additional OSPF area
(2)
§ R1 GE0/0/1, R5 GE0/0/1 and SW3 VLANIF15
are in OSPF area 15
§ R5 S3/0/0/, R6 S2/0/0 and loopback 0 are
in OSPF area 56
§ R5 GE0/0/0, G3 GE0/0/1 and Loopback 0 are
in OSPF area 35
§ R3 GE0/0/0 and S3/0/0, R4 S2/0/0 and SW1
VLANIF30 are in OSPF area 34
1.2
OSPF Availability
·
Traffic between area
35 and the network segment of R1-S3/0/0 uses the FR link, however, this link is
unstable. When the FR primary link fails, traffic should be switched to the
backup Ethernet Link between R1 and R5. When the FR primary link recovers, the
traffic should automatically switch back to the primary link (2)
1.3
Traffic Optimization
·
Traffic between VLAN
15 and VLAN 30 should use the Ethernet Link (2)
1.4
OSPF Authentication
·
Devices in OSPF area 0
use MD5 authentication for security, with a password of HuaWei (2)
1.5
Route exchange between RIP and OSPF
·
Configure full mutual
exchange of routes between RIP and OSPF on R6 (1)
·
Minimise the number of
LSA generated on R6 by the RIP routes and ensure all RIP routes advertise into
AREA 0 from R6 have a cost of 100 and a tag of 100 (1)
1.6
RIP route Summary
·
Configure R6 to send only one
route to BB2, this must be a summary route 10.Y.0.0/16 (1)
1.7
OSPF AREA 34
·
OSPF area 34 should not learn any
external routes from other OSPF areas (1)
·
On SW1 import only the prefix of
VLAN10 interface into OSPF, use default type and a tag of 100 (1)
Solution
2.3 Basic OSPF
====================================================
R1
#
Router id 10.1.1.1
#
ospf 1 router-id 10.1.1.1
peer 10.1.145.4
peer 10.1.145.5
area 0.0.0.0
network 10.1.1.1 0.0.0.0
network 10.1.145.1 0.0.0.0
network 157.68.1.1 0.0.0.0
area 0.0.0.15
network 10.1.15.1 0.0.0.0
#
R3
#
Router id 10.1.3.3
#
ospf 1 router-id 10.1.3.3
area 0.0.0.34
network 10.1.30.3 0.0.0.0
network 10.1.34.3 0.0.0.0
area 0.0.0.35
network 10.1.3.3 0.0.0.0
network 10.1.35.3 0.0.0.0
#
R4
#
interface Serial1/0/0
ospf dr-priority 0
#
Router id 10.1.4.4
#
ospf 1 router-id 10.1.4.4
peer 10.1.145.1
area 0.0.0.0
network 10.1.4.4 0.0.0.0
network 10.1.145.4 0.0.0.0
area 0.0.0.34
network 10.1.34.4 0.0.0.0
#
R5
#
interface Serial1/0/0
ospf dr-priority 0
#
Router id 10.1.5.5
#
ospf 1 router-id 10.1.5.5
peer 10.1.145.1
area 0.0.0.0
network 10.1.5.5 0.0.0.0
network 10.1.145.5 0.0.0.0
area 0.0.0.15
network 10.1.15.5 0.0.0.0
area 0.0.0.35
network 10.1.35.5 0.0.0.0
area 0.0.0.56
network 10.1.56.5 0.0.0.0
#
R6
Router id 10.1.6.6
ospf 1 router-id 10.1.6.6
area 0.0.0.56
network 10.1.6.6 0.0.0.0
network 10.1.56.6 0.0.0.0
#
Note- (System router id and ospf router id needs to be configured only for
routers as per demand but can also be configured on switches for convenience)
SW3
router id 10.1.13.13
ospf 1 router-id 10.1.13.13
area 0.0.0.15
network 10.1.15.13 0.0.0.0
#
SW1
router id 10.1.11.11
ospf 1 router-id 10.1.11.11
area 0.0.0.34
network 10.1.30.11 0.0.0.0
#
VALIDATION
1. display ip routing-table protocol ospf ( on SW1)
2.4 OSPF Availability
===================================================
R1
#
ospf 1
area 15
vlink-peer 10.1.5.5
#
int g0/0/1
ospf cost 2000
#
R5
#
ospf 1
area 15
vlink-peer 10.1.1.1
#
int g0/0/1
ospf cost 2000
#
VALIDATION
1. Tracert 10.1.35.3 (on R1)
2.5 Traffic optimization
==========================================================
#
R5
ospf 1
area 35
vlink-peer 10.1.3.3
#
R3
ospf 1
area 35
vlink-peer 10.1.5.5
VALIDATION
1. Tracert 10.1.30.11 (on SW3)
2.6 OSPF Authentication
=============================================================
R1
#
ospf 1
area 0
authentication-mode md5 1 plain HuaWei
#
R4
#
ospf 1
area 0
authentication-mode md5 1 plain HuaWei
#
R5
#
ospf 1
area 0
authentication-mode md5 1 plain HuaWei
#
R3
#
ospf 1
area 0
authentication-mode md5 1 plain HuaWei
#
VALIDATION
1. Display ip routing-table protocol ospf (on SW1)
2. Display current-config
2.7 RIP and OSPF intercommunication
========================================================
R6
#
rip
import-route ospf 1
#
ospf 1
import-route rip 1 cost 100 tag 100
asbr-summary 171.10.0.0 255.255.252.0 cost 100 tag 100
#
VALIDATION
1. display ip routing-table protocol ospf | include ASE (on R5)
2.8 RIP route summary
=====================================================
R6
#
interface s3/0/0
rip summary-address 10.1.0.0 255.255.0.0
#
ip ip-prefix BB2 permit 10.1.0.0 16
#
rip
filter-policy ip-prefix BB2 export s3/0/0
#
VALIDATION
1. Display rip 1 interface Serial 3/0/0 verbose
2.9 OSPF AREA 34
=================================================
#
R4
ospf 1
area 34
nssa no-import-route
#
R3
#
ospf 1
area 34
nssa
#
SW1
#
route-policy direct permit node 10
if-match interface Vlanif 10
#
ospf 1
import-route direct route-policy direct
area 34
nssa
#
More resource
https://support.huawei.com/enterprise/en/doc/EDOC1000154651?section=k008
Regards
Yogendra Jain