The ecmp-prefer command configures whether the routes with a TE tunnel interface or an IPv4 interface as the outbound interface are preferentially selected to load-balance IS-IS traffic.
The undo ecmp-prefer command restores the default configuration.
By default, routes are equally selected to load-balance IS-IS traffic, regardless of whether the outbound interface is a TE tunnel interface or an IPv4 interface.
Parameter | Description | Value |
---|---|---|
te-tunnel |
Indicates that the routes with a TE tunnel interface as the outbound interface are preferentially selected to load-balance IS-IS traffic. |
- |
intact |
Indicates that the routes with a TE tunnel interface as the outbound interface and at least one route with an IPv4 interface as the outbound interface are selected to load-balance IS-IS traffic. |
- |
Usage Scenario
When an IGP Shortcut-enabled TE tunnel is configured on an IS-IS network, you can specify one of the following parameters in the ecmp-prefer command based on the network type to configure whether the routes with a TE tunnel interface or an IPv4 interface as the outbound interface are preferentially selected to load-balance IS-IS traffic.
Prerequisites
An IS-IS process has been created and the IS-IS view has been displayed using the isis command.