set metric (redistribution)

Use this command to set a route metric to be used for redistribution by the source packet matched in this route-map.

Syntax

set metric cost
no set metric cost

Parameters

cost Specifies a route cost to be used for redistribution by the source packet matched in this route-map. Valid values: 1 - 4294967295. Default Value: None.

Defaults

None.

Mode

Route-map configuration.

Usage

The “no” form of this command deletes this route metric set clause.

Example

This example shows how to set the route cost to 200 for redistribution by the source packet matched in the rm5 route-map:

System(rw-config)->route-map redistribution rm5
System(rw-config-route-map)->set metric 200
System(rw-config-route-map)->