11.2.6 Configuring Multipathing
- Points to note
-
By adjusting cost values, you can establish an equal-cost multipath to a destination regardless of the number of routers through which the route passes.
Figure 11-7: Configuration of multipathing - Command examples
-
This procedure establishes an equal-cost multipath on Switch A.
-
(config)# router ospf 1
(config-router)# network 10.0.0.0 0.255.255.255 area 0
(config-router)# exit
Associates interfaces in the 10.0.0.0/8 network range with area 0.
-
(config)# interface vlan 1
(config-if)# ip ospf cost 2
Sets the cost value of VLAN 1 to 2. This gives routes through VLAN 1 the same cost as routes through VLAN 2.