23
display max-ecmp-num
Use
display max-ecmp-num
to display the maximum number of ECMP routes.
Syntax
display max-ecmp-num
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the maximum number of ECMP routes.
<Sysname> display max-ecmp-num
Max-ECMP-Num in use: 6
Max-ECMP-Num at the next reboot: 10
Table 7
Command output
Field Description
Max-ECMP-Num in use
Maximum number of current ECMP routes in use.
Max-ECMP-Num at the next reboot
Maximum number of ECMP routes at the next reboot of the device.
max-ecmp-num
Use
max-ecmp-num
to configure the maximum number of ECMP routes.
Use
undo max-ecmp-num
to restore the default.
Syntax
max-ecmp-num
number
undo max-ecmp-num
Default
The maximum number of ECMP routes is 8.
Views
System view
Predefined user roles
network-admin
Parameters
number
: Specifies the maximum number of ECMP routes, in the range of 1 to 32.
Examples
# Configure the maximum number of ECMP routes as 10.