Specifications

Chapter 5. IBM System Networking RackSwitch implementation 207
5. 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 ip ospf area <index> and ip ospf enable under the interface configuration
mode, as shown in Example 5-51.
If authentication with MD5 is used, assign an MD5 key ID to OSPF interfaces by running
ip ospf message-digest-key <index>.
Example 5-51 Attach an area to a network
AGG-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#interface ip 100
AGG-1(config-ip-if)#ip ospf area 0
AGG-1(config-ip-if)#ip ospf enable
AGG-1(config-ip-if)#ip ospf message-digest-key 1
AGG-1(config-ip-if)#^Z
AGG-1#
6. Configure route redistribution.
We use basic redistribution of directly connected (fixed) networks in OSP. For more
details and advanced configuration, see 5.5, “More information” on page 238.
Run redistribute {ebgp|fixed|ibgp|rip|static} {export|route_map} <metric> <AS
external metric type> to redistribute routes. We do not use route maps, but a simple
export. Example 5-52 shows the fixed routes redistribution.
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-52 Fixed routes redistribution
AGG-1#conf t
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#router ospf
AGG-1(config-router-ospf)#redistribute fixed export 2 1
AGG-1(config-router-ospf)#^Z
AGG-1#
ACC-1#conf t
Enter configuration commands, one per line. End with Ctrl/Z.
ACC-1(config)#router ospf
ACC-1(config-router-ospf)#redistribute fixed export 2 1
ACC-1(config-router-ospf)#^Z
ACC-1#
AGG-2#conf t
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-2(config)#router ospf
AGG-2(config-router-ospf)#redistribute fixed export 5 1
AGG-2(config-router-ospf)#^Z
AGG-2#
Important: This operation is performed for all four Layer 3 switches (AGG-1, AGG-2,
ACC-1, and ACC-2) for the IP interfaces 100, 101, 102, 103, and 104.