4. Define the backbone.
5. Define the transit area.
6. Attach the network interface to the backbone.
7. Attach the network interface to the transit area.
8. Configure the virtual link.
Configuring OSPF for a Virtual Link on Switch #2
1. Configure IP interfaces on each network that will be attached to OSPF areas.
© Copyright Lenovo 2016
RS G8264(configrouterospf)# area 0 areaid 0.0.0.0
RS G8264(configrouterospf)# area 0 type transit
RS G8264(configrouterospf)# area 0 enable
The area that contains the virtual link must be configured as a transit area.
RS G8264(configrouterospf)# area 1 areaid 0.0.0.1
RS G8264(configrouterospf)# area 1 type transit
RS G8264(configrouterospf)# area 1 enable
RS G8264(configrouterospf)# exit
RS G8264(config)# interface ip 1
RS G8264(configipif)# ip ospf area 0
RS G8264(configipif)# ip ospf enable
RS G8264(configipif)# exit
RS G8264(config)# interface ip 2
RS G8264(configipif)# ip ospf area 1
RS G8264(configipif)# ip ospf enable
RS G8264(configipif)# exit
The nbr router ID configured in this step must be the same as the router ID that
will be configured for Switch #2 in Step 2 on page
RS G8264(config)# router ospf
RS G8264(configrouterospf)# areavirtuallink 1 area 1
RS G8264(configrouterospf)# areavirtuallink 1 neighborrouter
10.10.14.1
RS G8264(configrouterospf)# areavirtuallink 1 enable
In this example, two IP interfaces are needed:
Interface 1 for the transit area network on 10.10.12.0/24
574.
Chapter 35: Open Shortest Path First
573