C613-50170-01 Rev B
Command Reference for x510 Series
1178
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTE
M
AP
C
OMMANDS
MATCH
METRIC
match metric
Overview
Use this command to add a metric match clause to a route map entry. Specify the
metric value to match.
A route matches the route map if its metric matches the route map’s metric.
Each entry of a route map can only match against one metric value in one metric
match clause. If the route map entry already has a metric match clause, entering
this command replaces that match clause with the new clause.
Use the
no
variant of this command to remove the metric match clause from the
route map entry.
Syntax
match metric <
metric
>
no match metric [<
metric
>]
Mode
Route-map Configuration
Usage
This command is valid for:
•
OSPF routes
•
RIP routes.
Example
To stop entry
3
of the route map called
myroute
from processing routes with a
metric of
888999
, use the commands:
awplus#
configure terminal
awplus(config)#
route-map myroute permit 3
awplus(config-route-map)#
no match metric 888999
Related
Commands
Parameter
Description
<metric>
<
0-4294967295
> Specifies the metric value.