set metric (EIGRP)
To set the metric value for Enhanced Interior Gateway Routing Protocol (EIGRP) in a route map, use the set metric route-map configuration command. To return to the default metric value, use the no form of this command.
set metric bandwidth delay reliability loading mtu
no set metric bandwidth delay reliability loading mtu
Syntax Description
bandwidth |
Metric value or EIGRP bandwidth of the route in kbps. The range is from 0 to 4294967295. |
delay |
Route delay (in tens of microseconds). It can be in the range from 0 to 4294967295. |
reliability |
Likelihood of successful packet transmission expressed as a number from 0 to 255. The value 255 means 100 percent reliability; 0 means no reliability. |
loading |
Effective bandwidth of the route expressed as a number from 0 to 255 (255 is 100 percent loading). |
mtu |
Minimum maximum transmission unit (MTU) size of the route, in bytes. It can be in the range from 0 to 4294967295. |
Command Default
No metric will be set in the route map.
Command Modes
Route-map configuration (config-route-map)
Command History
Release |
Modification |
---|---|
10.0 |
This command was introduced. |
12.2(33)SRA |
This command was integrated into Cisco IOS Release 12.2(33)SRA. |
Cisco IOS XE Release 2.1 |
This command was integrated into Cisco IOS XE Release 2.1. |
12.2SX |
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware. |
12.2(33)XNE |
This command was integrated into Cisco IOS Release 12.2(33)XNE. |
Usage Guidelines
We recommend you consult your Cisco technical support representative before changing the default value.
Use the route-map global configuration command, and the match and set route-map configuration commands, to define the conditions for redistributing routes from one routing protocol into another. Each route-map command has a list of match and set commands associated with it. The match commands specify the match criteria --the conditions under which redistribution is allowed for the current route-map command. The set commands specify the set actions --the particular redistribution actions to perform if the criteria enforced by the match commands are met. The no route-map command deletes the route map.
The set route-map configuration commands specify the redistribution set actions to be performed when all of the match criteria for a router are met. When all match criteria are met, all set actions are performed.
Examples
The following example sets the bandwidth to 10,000, the delay to 10, the reliability to 255, the loading to 1, and the MTU to 1500:
Router(config-route-map)# set metric 10000 10 255 1 1500