Blade ICE G8124-E Manuale Utente

Pagina di 388
BLADEOS 6.5.2 Application Guide
BMD00220, October 2010
Chapter 20: OSPF  

  293
Configuring OSPF for a Virtual Link on Switch #2
1.
Configure IP interfaces on each network that will be attached to OSPF areas.
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
2.
Configure the router ID.
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 
.
3.
Enable OSPF.
4.
Define the backbone.
This version of BLADEOS requires that a backbone index be configured on the non-backbone end 
of the virtual link as follows:
5.
Define the transit area.
RS G8124(config)# interface ip 1
RS G8124(config-ip-if)# ip address 10.10.12.2
RS G8124(config-ip-if)# ip netmask 255.255.255.0
RS G8124(config-ip-if)# enable
RS G8124(config-ip-if)# exit
RS G8124(config)# interface ip 2
RS G8124(config-ip-if)# ip address 10.10.24.1
RS G8124(config-ip-if)# ip netmask 255.255.255.0
RS G8124(config-ip-if)# enable
RS G8124(config-ip-if)# exit
RS G8124(config)# ip router-id 10.10.14.1
RS G8124(config)# router ospf
RS G8124(config-router-ospf)# enable
RS G8124(config-router-ospf)# area 0 area-id 0.0.0.0
RS G8124(config-router-ospf)# area 0 enable
RS G8124(config-router-ospf)# area 1 area-id 0.0.0.1
RS G8124(config-router-ospf)# area 1 type transit
RS G8124(config-router-ospf)# area 1 enable