© Copyright IBM Corp. 2011
Chapter 22. OSPF
273
Example 2: Virtual Links
In the example shown in
, area 2 is not physically connected to the
backbone as is usually required. Instead, area 2 will be connected to the backbone
via a virtual link through area 1. The virtual link must be configured at each endpoint.
Figure 31. Configuring a Virtual Link
Note:
OSPFv2 supports IPv4 only. IPv6 is supported in OSPFv3 (see
Implementation in IBM N/OS” on page 279
Configuring OSPF for a Virtual Link on Switch #1
1. Configure IP interfaces on each network that will be attached to the switch.
In this example, two IP interfaces are needed:
– Interface 1 for the backbone network on 10.10.7.0/24
– Interface 2 for the transit area network on 10.10.12.0/24
2. Configure the router ID.
A router ID is required when configuring virtual links. Later, when configuring the
other end of the virtual link on Switch 2, the router ID specified here will be used
as the target virtual neighbor (
nbr
) address.
3. Enable OSPF.
4. Define the backbone.
RS G8000(config)#
interface ip 1
RS G8000(config-ip-if)#
ip address 10.10.7.1
RS G8000(config-ip-if)#
ip netmask 255.255.255.0
RS G8000(config-ip-if)#
enable
RS G8000(config-ip-if)#
exit
RS G8000(config)#
interface ip 2
RS G8000(config-ip-if)#
ip address 10.10.12.1
RS G8000(config-ip-if)#
ip netmask 255.255.255.0
RS G8000(config-ip-if)#
enable
RS G8000(config-ip-if)#
exit
RS G8000(config)#
ip router-id 10.10.10.1
RS G8000(config)#
router ospf
RS G8000(config-router-ospf)#
enable
RS G8000(config-router-ospf)#
area 0 area-id 0.0.0.0
RS G8000(config-router-ospf)#
area 0 type transit
RS G8000(config-router-ospf)#
area 0 enable
Switch 2
Switch 2
Switch 1
Switch 1
Содержание RackSwitch G8000
Страница 1: ...RackSwitch G8000 Application Guide...
Страница 2: ......
Страница 3: ...RackSwitch G8000 Application Guide...
Страница 16: ...16 RackSwitch G8000 Application Guide...
Страница 22: ...20 RackSwitch G8000 Application Guide...
Страница 23: ...Copyright IBM Corp 2011 21 Part 1 Getting Started...
Страница 24: ...22 RackSwitch G8000 Application Guide...
Страница 54: ...52 RackSwitch G8000 Application Guide...
Страница 55: ...Copyright IBM Corp 2011 53 Part 2 Securing the Switch...
Страница 56: ...54 RackSwitch G8000 Application Guide...
Страница 92: ...90 RackSwitch G8000 Application Guide...
Страница 94: ...92 RackSwitch G8000 Application Guide...
Страница 144: ...142 RackSwitch G8000 Application Guide...
Страница 145: ...Copyright IBM Corp 2011 143 Part 4 Advanced Switch ing Features...
Страница 146: ...144 RackSwitch G8000 Application Guide...
Страница 148: ...146 RackSwitch G8000 Application Guide...
Страница 182: ...180 RackSwitch G8000 Application Guide...
Страница 184: ...182 RackSwitch G8000 Application Guide...
Страница 212: ...210 RackSwitch G8000 Application Guide...
Страница 258: ...256 RackSwitch G8000 Application Guide...
Страница 286: ...284 RackSwitch G8000 Application Guide...
Страница 294: ...292 RackSwitch G8000 Application Guide...
Страница 298: ...296 RackSwitch G8000 Application Guide...
Страница 310: ...308 RackSwitch G8000 Application Guide...
Страница 311: ...Copyright IBM Corp 2011 309 Part 7 Network Management...
Страница 312: ...310 RackSwitch G8000 Application Guide...
Страница 320: ...318 RackSwitch G8000 Application Guide...
Страница 332: ...330 RackSwitch G8000 Application Guide...
Страница 334: ...332 RackSwitch G8000 Application Guide...
Страница 345: ...Copyright IBM Corp 2011 343 Part 9 Appendices...
Страница 346: ...344 RackSwitch G8000 Application Guide...
Страница 357: ...Copyright IBM Corp 2011 Appendix C Notices 355 Taiwan Class A compliance statement...
Страница 358: ...356 RackSwitch G8000 Application Guide...