5
Step Command Remarks
3. Create a RIB IPv4 address
family and enter its view.
address-family ipv4
By default, no RIB IPv4
address family is created.
4. Configure the maximum
lifetime for IPv4 routes in the
FIB.
fib lifetime
seconds
By default, the maximum
lifetime for routes in the FIB
is 600 seconds.
To configure the maximum lifetime for routes in the FIB (IPv6):
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter RIB view.
rib
N/A
3. Create a RIB IPv6 address
family and enter its view.
address-family ipv6
By default, no RIB IPv6
address family is created.
4. Configure the maximum
lifetime for IPv6 routes in the
FIB.
fib lifetime
seconds
By default, the maximum
lifetime for routes in the FIB
is 600 seconds.
Configuring the maximum number of ECMP
routes
This configuration takes effect at reboot. Make sure the reboot does not impact your network.
To set the maximum number of ECMP routes:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Set the maximum number of
ECMP routes.
max-ecmp-num
number
By default, the maximum
number of ECMP routes is 8.
Enabling the enhanced ECMP mode
When one or multiple ECMP routes fail, the default ECMP mode enables the device to reallocate all
traffic to the remaining routes.
The enhanced ECMP mode enables the device to reallocate only the traffic of the failed routes to the
remaining routes, which ensures forwarding continuity.
This configuration takes effect at reboot. Make sure the reboot does not impact your network.
To enable the enhanced ECMP mode:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enable the enhanced ECMP
mode.
ecmp mode enhanced
By default, the enhanced
ECMP mode is disabled.