C613-50631-01 Rev A Command Reference for IE340 Series 1616
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
ROUTE MAP COMMANDS
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.
A BGP update message matches the route map if its MED attribute value 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 notes This command is valid for:
•OSPF routes
• routes in BGP update messages
•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
route-map
set metric
show route-map
Parameter Description
<metric> <0-4294967295> Specifies the metric value.