EasyManuals Logo

Allied Telesis IE340 Series User Manual

Allied Telesis IE340 Series
3474 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1637 background imageLoading...
Page #1637 background image
C613-50631-01 Rev A Command Reference for IE340 Series 1637
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
ROUTE MAP COMMANDS
SET
METRIC
set metric
Overview Use this command to add a metric set clause to a route map entry.
When a route or BGP update message matches the route map entry, the device
takes one of the following actions:
• changes the metric (or for BGP, the MED attribute value) to the specified
value, or
• adds or subtracts the specified value from the metric or MED attribute, if you
specify + or - before the value (for example, to increase the metric by 2, enter
+2)
Use the no variant of this command to remove the set clause.
Syntax
set metric {+<metric-value>|-<metric-value>|<metric-value>}
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 notes For BGP, if you want the device to compare MED values in update messages from
peers in different ASes, also enter the command bgp always-compare-med. You do
not need to enter this command if you only want the device to compare MED
values in update messages from peers in the same AS, because it always does.
This command is valid for:
•OSPF routes
• routes in BGP update messages
•RIP routes.
Note that defining the OSPF metric in a route map supersedes the metric defined
using a redistribute (OSPF) or a redistribute (IPv6 OSPF) command. For more
information, see the OSPFv3 Feature Overview and Configuration Guide and the
OSPF Feature Overview and Configuration Guide.
Parameter Description
+ Increase the metric or MED attribute by the specified amount.
- Decrease the metric or MED attribute by the specified amount.
<metric-value> <0-4294967295>
The new metric or MED attribute value, or the amount by which
to increase or decrease the existing value.

Table of Contents

Other manuals for Allied Telesis IE340 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allied Telesis IE340 Series and is the answer not in the manual?

Allied Telesis IE340 Series Specifications

General IconGeneral
BrandAllied Telesis
ModelIE340 Series
CategorySwitch
LanguageEnglish

Related product manuals