Routing UCMP can be deployed in two methods.
The system view is displayed.
Run load-balance unequal-cost enable
UCMP is enabled globally.
By default, UCMP is not enabled in the system.
When the UCMP is enabled globally, the UCMP takes effect on Ethernet interfaces, Gigabit Ethernet interfaces, Eth-Trunk interfaces, and TE tunnel interfaces.
The configuration is committed.
The system view is displayed.
The interface view is displayed.
Run load-balance unequal-cost enable
UCMP is enabled on the interface.
This command cannot be enabled on logical interfaces. It can be enabled only on physical interfaces.
The interface is restarted so that the UCMP configuration takes effect.
Routes and FIB entries are refreshed only when you restart the interface after UCMP is enabled or disabled on the interface.
The configuration is committed.
Views |
Command Format |
Function and Scenarios |
---|---|---|
System view |
load-balance mpls unequal-cost enable |
Enables UCMP for LSPs on an MPLS P node (excluding BGP P nodes) If UCMP is enabled and the MPLS P nodes (excluding BGP P nodes) have multiple outbound interfaces, UCMP is performed among the outbound interfaces based on bandwidth weights. If UCMP is disabled and the MPLS P nodes have multiple outbound interfaces, ECMP is performed among the outbound interfaces. To enable UCMP for MPLS P nodes (excluding BGP P nodes), run the load-balance mpls unequal-cost enable command. In an SR-MPLS TE Policy scenario, you can also enable UCMP on the ingress of an SR-MPLS TE Policy. |
Run the save command to save the current configuration to the configuration file when a set of configuration is finished and the expected functions have been achieved.