
253
3.3 Commands for ECMP
3.3.1 maximum-paths
Command: maximum-paths <1-32>
no maximum-paths
Function:
This command is used to configure the maximum-paths which support the
equivalence multi-paths. The no command restores the default configuration.
Parameter: <1-32>:
At present, users can configure the multi-paths number from 1 to 32. When
configure 1, it is equal to disable ECMP function. In addition, the actual configuration number is
the power of 2 that approaches and is bigger than the user input value.
Command mode:
Global Mode.
Default:
The default number is 4.
Usage Guide:
None.
Example:
Configure the maximum-paths of the equivalence multi-paths as 8.
Switch(config)#
maximum-paths 8
3.4 ECMP Typical Example
Fig 3-2 the application environment of ECMP
As it is shown in the figure, the R1 connect to R2 and R3 with the interface address
100.1.1.1/24 and 100.1.2.1/24. The R2 and R3 connect to R1 with the interface address
100.1.1.2/24 and 100.1.2.2/24. The R4 connect to R2 and R3 with interface address
100.2.1.1/24 and 100.2.2.1/24. The R2 and R3 connect to R4 with the interface address
100.2.1.2/24, 100.2.2.2/24. The loopback address of R4 is 5.5.5.5/32.
3.4.1 Static Route Implements ECMP