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.
466
CN4093 Application Guide for N/OS 8.3
The area that contains the virtual link must be configured as a transit area.
CN 4093(config-router-ospf)# area 1 area-id 0.0.0.1
CN 4093(config-router-ospf)# area 1 type transit
CN 4093(config-router-ospf)# area 1 enable
CN 4093(config-router-ospf)# exit
CN 4093(config)# interface ip 1
CN 4093(config-ip-if)# ip ospf area 0
CN 4093(config-ip-if)# ip ospf enable
CN 4093(config-ip-if)# exit
CN 4093(config)# interface ip 2
CN 4093(config-ip-if)# ip ospf area 1
CN 4093(config-ip-if)# ip ospf enable
CN 4093(config-ip-if)# 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
CN 4093(config)# router ospf
CN 4093(config-router-ospf)# area-virtual-link 1 area 1
CN 4093(config-router-ospf)# area-virtual-link 1 neighbor-router
10.10.14.1
CN 4093(config-router-ospf)# area-virtual-link 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
CN 4093(config)# interface ip 1
CN 4093(config-ip-if)# ip address 10.10.12.2 255.255.255.0 enable
CN 4093(config-ip-if)# exit
CN 4093(config)# interface ip 2
CN 4093(config-ip-if)# ip address 10.10.24.1 255.255.255.0 enable
CN 4093(config-ip-if)# exit
Step 2 on page
467.