Cisco Cisco Packet Data Interworking Function (PDIF)
Context Configuration Mode Commands I-M
▀ ip routing maximum-paths
▄ Command Line Interface Reference, StarOS Release 16
2492
ip routing maximum-paths
Enables Equal Cost Multiple Path (ECMP) routing support and specifies the maximum number of ECMP paths that can
be submitted by a routing protocol in the current context.
be submitted by a routing protocol in the current context.
Product
All products that support Cost Multiple Path (CMP)
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration
configure > context context_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-ctx)#
Syntax
ip routing maximum-paths [ max_num ]
[ default | no ] ip routing maximum-paths
default
Resets the command to its default setting of 4.
no
Disables ECMP for the current context.
max_num
The maximum number of ECMP paths that can be submitted by a routing protocol.
max_num
must be an
integer from 1 through 10 (releases prior to 18,2) or 1 through 32 (release 18.2+). Default: 4
Usage
Use this command to enable ECMP for routing and set the maximum number of ECMP paths that can be
submitted by a routing protocol.
submitted by a routing protocol.
Example
To enable ECMP and set the maximum number of paths that may be submitted by a routing protocol in the
current context to
current context to
10
, enter the following command:
ip routing maximum-paths 10
To disable ECMP in the current context, enter the following command:
no ip routing maximum-paths