A1 and Router C2 to Router A1, native UCMP is preferred. As a result, local UCMP is used only on single
hop destinations, and native UCMP is used for multi-hop destinations.
Figure 23: Unequal Cost Multipath for Static Routing
To configure UCMP for static routing, use the following steps:
1
Enter the global configuration mode.
RP/0/0/CPU0:Router# configure
2
Enter the static routing mode.
RP/0/0/CPU0:Router(config)# router static
3
Configure UCMP with load metric for IPv4 or IPv6 address family.
RP/0/0/CPU0:Router(config-static)# address-family ipv4 unicast
RP/0/0/CPU0:Router(config-static-afi)# 10.10.10.1/32 GigabitEthernet 0/0/0/1 metric 10
In this example, we have configured UCMP for IPv4 address family. To configure UCMP for IPv6 address
family, use the following sample configuration.
RP/0/0/CPU0:Router(config-static)# address-family ipv6 unicast
RP/0/0/CPU0:Router(config-static-afi)# 10:10::1/64 GigabitEthernet 0/0/0/1 metric 10
4
Exit the static configuration mode and commit your configuration.
RP/0/0/CPU0:Router(config-static-afi)# exit
RP/0/0/CPU0:Router(config-static)# exit
RP/0/0/CPU0:Router(config)# commit
Fri Feb 19 06:16:33.164 IST
RP/0/0/CPU0:Feb 19 06:16:34.273 : ipv4_static[1044]:
%ROUTING-IP_STATIC-4-CONFIG_NEXTHOP_ETHER_INTERFACE :
Route for 10.10.10.1 is configured via ethernet interface
Repeat this procedure on all routers that need to be configured with UCMP.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
643
Implementing Static Routes
Configure Native UCMP for Static Routing