Set Metric - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

R
M
C
OUTE
AP
OMMANDS

SET METRIC

set metric
Overview
Use this command to add a metric set clause to a route map entry.
When a route matches the route map entry, the device takes one of the following
actions:
Use the no variant of this command to remove the set clause.
set metric {+<metric-value>|-<metric-value>|<metric-value>}
Syntax
no set metric [+<metric-value>|-<metric-value> |<metric-value>]
Default
The default metric value for routes redistributed into OSPF and OSPFv3 is 20.
Mode
Route-map Configuration
Usage
This command is valid for:
Note that defining the OSPF metric in a route map supersedes the metric defined
using a
information, see the
OSPF Feature Overview and Configuration
To use entry 3 of the route map called rmap1 to give matching routes a metric of
Examples
600, use the commands:
awplus#
awplus(config)#
awplus(config-route-map)#
C613-50170-01 Rev B
changes the metric to the specified value, or
adds or subtracts the specified value from the metric, if you specify +or-
before the value (for example, to increase the metric by 2, enter +2)
Parameter
Description
+
Increase the metric by the specified amount.
-
Decrease the metric by the specified amount.
<metric-value>
<0-4294967295>
The new metric value, or the amount by which to increase or
decrease the existing value.
OSPF routes
RIP routes.
redistribute (OSPF)
OSPFv3 Feature Overview and Configuration Guide
configure terminal
route-map rmap1 permit 3
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
or a
redistribute (IPv6 OSPF)
Guide.
set metric 600
command. For more
and the
1184

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents