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.
2. Configure the router ID.
440
CN4093 Application Guide for N/OS 8.2
The area that contains the virtual link must be configured as a transit area.
CN4093(configrouterospf)# area 1 areaid 0.0.0.1
CN4093(configrouterospf)# area 1 type transit
CN4093(configrouterospf)# area 1 enable
CN4093(configrouterospf)# exit
CN4093(config)# interface ip 1
CN4093(configipif)# ip ospf area 0
CN4093(configipif)# ip ospf enable
CN4093(configipif)# exit
CN4093(config)# interface ip 2
CN4093(configipif)# ip ospf area 1
CN4093(configipif)# ip ospf enable
CN4093(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
CN4093(config)# router ospf
CN4093(configrouterospf)# areavirtuallink 1 area 1
CN4093(configrouterospf)# areavirtuallink 1 neighborrouter
10.10.14.1
CN4093(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
Interface 2 for the stub area network on 10.10.24.0/24
CN4093(config)# interface ip 1
CN4093(configipif)# ip address 10.10.12.2 255.255.255.0 enable
CN4093(configipif)# exit
CN4093(config)# interface ip 2
CN4093(configipif)# ip address 10.10.24.1 255.255.255.0 enable
CN4093(configipif)# exit
A router ID is required when configuring virtual links. This router ID should be
the same one specified as the target virtual neighbor (nbr) on switch 1 in Step 8 on
page
440.
CN4093(config)# ip routerid 10.10.14.1
440.