match metric

Syntax

match metric <VALUE>

no match metric <VALUE>

Description

Matches the MED value of the route with the value configured in the match clause.

The no form of this command restores the default behavior of not matching the MED value of the route.

Command context

config-route-map

Parameters

<VALUE>

Specifies the value to be matched with the route entry MED.

Authority

Administrators

Example

Configuring a match clause in the route map to match the metric of the route:

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