C H A P T E R 13 RIP and OSPF
251
configure vlan A5_160_26_26 ipaddress 160.26.26.1
255.255.255.0
create ospf area 0.0.0.5
create ospf area 0.0.0.6
enable ipforwarding
configure ospf area 0.0.0.6 stub nosummary stub-
default-cost 10
configure ospf vlan A6_161_48_2 area 0.0.0.6
configure ospf vlan A5_160_26_26 area 0.0.0.5
configure ospf add virtual-link 160.26.25.1 0.0.0.5
configure ospf add vlan all
enable ospf
Configuration for IR1
The following is the configuration for the router labeled IR1:
configure vlan A0_10_0_1 ipaddress 10.0.1.2
255.255.255.0
configure vlan A0_10_0_2 ipaddress 10.0.2.2
255.255.255.0
configure ospf add vlan all
enable ipforwarding
enable ospf