M Commands
This chapter describes the Cisco NX-OS Enhanced Interior Gateway Routing Protocol (EIGRP) commands that begin with M.
maximum-paths (EIGRP)
To control the maximum number of parallel routes that the Enhanced Interior Gateway Routing Protocol (EIGRP) can support, use the maximum-paths command. To remove the maximum-paths command from the configuration file and restore the default, use the no form of this command.
Syntax Description
Maximum number of parallel routes that EIGRP can install in a routing table. The range is from 1 to 16 routes. |
Command Default
Command Modes
Address-family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the maximum-paths command to allow EIGRP to install multiple paths into the routing table for each prefix. Multiple paths are installed for both internal and external routes that are learned in the same autonomous system and that have an equal cost (according to the EIGRP best path algorithm).
Examples
This example shows how to allow a maximum of 10 paths to a destination:
Related Commands
|
|
---|---|
Saves the configuration changes to the startup configuration file. |
|
metric maximum-hops
To advertise that those Enhanced Interior Gateway Routing Protocol (EIGRP) routes with a higher hop count than you specified are unreachable, use the metric maximum-hops command. To reset the value to the default, use the no form of this command.
metric maximum-hops hops-number
Syntax Description
Command Default
Command Modes
Address-family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the metric maximum-hops command to provide a safety mechanism that causes EIGRP to advertise routes with a hop count greater than the value assigned to the hops-number argument as unreachable.
Examples
This example shows how to configure a hop count to 200:
Related Commands
|
|
---|---|
metric weights
To tune the Enhanced Interior Gateway Routing Protocol (EIGRP) metric calculations, use the metric weights command. To reset the values to their defaults, use the no form of this command.
metric weights tos k1 k2 k3 k4 k5
Syntax Description
Constants that convert an EIGRP metric vector into a scalar quantity. The arguments are as follows: |
Command Default
Command Modes
Address-family configuration mode
Router configuration mode
Router VRF configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the metric weights command to alter the default behavior of EIGRP routing and metric computation and allow the tuning of the EIGRP metric calculation for a particular type of service (ToS).
Examples
This example shows how to set the metric weights to change the default values: