set metric

Syntax

set metric <VALUE>

no set metric <VALUE>

Description

Modifies the metric value of the route with the value configured in the set clause.

The no form of this command restores the default behavior of not modifying the metric value of the route.

Command context

config-route-map

Parameters

<VALUE>

Specifies the value to be set as the metric value of the route. Range: 0 to 4294967295.

Authority

Administrators

Example

Configuring a set clause in the route map to modify the metric value of the route:

switch(config)# route-map GlobalMap permit seq 11
switch(config-route-map-GlobalMap-11)# set metric 10