Specifications
Chapter 5. IBM System Networking RackSwitch implementation 213
4. Attach an area to a network.
After an OSPF area is defined, it must be associated with a network. To attach the area to
a network, you must assign the OSPF area index to an IP interface that participates in the
area. Run ipv6 ospf area <index> and ipv6 ospf enable in interface configuration mode
(Example 5-51 on page 207).
Example 5-59 Attach an area to a network
ACC-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
ACC-1(config)#interface ip 111
ACC-1(config-ip-if)#ipv6 ospf area 0
ACC-1(config-ip-if)#ipv6 ospf enable
ACC-1(config-ip-if)#^Z
ACC-1#
5. Configure route redistribution.
We use basic redistribution of directly connected (fixed) networks in OSPF. For more
details and advanced configuration, see 5.5, “More information” on page 238.
Run redistribute {connected|static} export <metric> <AS external metric type> to
redistribute routes (Example 5-60).
Use equal metric for AGG-1 and ACC-1 and higher metrics for AGG-2 and ACC-2,
because we want the traffic from SRV-1 to SRV-3 to go through AGG-1 and ACC-1.
Example 5-60 Connected routes redistribution
AGG-1#conf t
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#ipv6 router ospf
AGG-1(config-router-ospf3)#redistribute connected export 2 1
AGG-1(config-router-ospf3)#^Z
AGG-1#
ACC-1#conf t
Enter configuration commands, one per line. End with Ctrl/Z.
ACC-1(config)#ipv6 router ospf
ACC-1(config-router-ospf3)#redistribute connected export 2 1
ACC-1(config-router-ospf3)#^Z
ACC-1#
AGG-2#conf t
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-2(config)#ipv6 router ospf
AGG-2(config-router-ospf3)#redistribute connected export 5 1
AGG-2(config-router-ospf3)#^Z
AGG-2#
ACC-2#conf t
Enter configuration commands, one per line. End with Ctrl/Z.
ACC-2(config)#ipv6 router ospf
ACC-2(config-router-ospf3)#redistribute connected export 10 1
Important: This operation is performed for all four Layer 3 switches (AGG-1, AGG-2,
ACC-1, and ACC-2) for the IP interfaces 110, 111, 112, 113, and 114.