DES-7200 Configuration Guide Chapter 4 OSPF
Configuration
4-43
# Configure WAN interface
interface Serial 1/0
ip address 192.168.123.3 255.255.255.0
encapsulation frame-relay
ip ospf network point-to-multipoint
# Configure OSPF routing protocol
router ospf 1
network 192.168.23.0 0.0.0.255 area 0
network 192.168.123.0 0.0.0.255 area 0
Assuming that there is another requirement for the above figure:
Device A shall give preference to device B to reach the destination network of
192.168.23.0/24. To achieve this goal, the cost of neighbor shall be specified
while configuring this neighbor.
Execute the following commands on device A:
router ospf 1
neighbor 192.168.123.2 cost 100
neighbor 192.168.123.3 cost 200
4.4.4 OSPF ABR/ASBR Configuration Example
Requirements
Four devices form a OSPF routing domain. Network 192.168.12.0/24 and
192.168.23.0/24 belong to area 0, and network 192.168.34.0/24 belongs to area
34. Details about IP address assignment and device connection are shown in Fig
6.