match metric (redistribution)

Use this command to match a route metric or range of route metrics.

Syntax

match metric {cost | range min-cost max-cost}
no match metric {cost | range min-cost max-cost}

Parameters

cost Specifies a metric cost to be matched for this route-map. Valid values: 1 - 4294967295. Default Value: None.
range min-cost max-cost Specifies a range of metric costs to be matched for this route-map:
  • min-cost - Specifies the low end cost of the range.
  • max-cost - Specifies the high end cost of the range.

Valid values: 1 - 4294967295. Default Value: None.

Defaults

None.

Mode

Route-map configuration.

Usage

The “no” form of this command removes the match for the specified cost or range of costs.

Example

This example shows how to match a range of costs starting at 100 and ending at 200 for redistribution route-map rm5:

System(rw-config)->route-map redistribution rm5
System(rw--config-route-map)->match metric range 100 200
System(rw--config-route-map)->