Set Metric - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

Route Map Commands

set metric

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:
Use the no parameter to remove the set clause.
Syntax
set metric {+<metric-value>|-<metric-value>|<metric-value>}
no set metric [+<metric-value>|-<metric-value> |<metric-value>]
Parameter
+
-
<metric-value>
Route-map mode
Mode
For BGP, if you want the device to compare MED values in update messages from peers in
Usage
different ASes, also enter the command bgp always-compare-med. The device always
compares MED values in update messages from peers in the same AS.
This command is valid for BGP update messages, and OSPF and RIP routes.
To use entry 3 of the route map called rmap1 to give matching routes a metric of 600, use the
Examples
commands:
awplus(config-route-map)#
To use entry 3 of the route map called rmap1 to increase the metric of matching routes by 2,
use the commands:
awplus(config-route-map)#
match metric
Related Commands
route-map
show
39.32
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)
Description
Increase the metric or MED attribute by the specified amount.
Decrease the metric or MED attribute by the specified amount.
<0-4294967295>
The new metric or MED attribute value, or the amount by which
to increase or decrease the existing value.
awplus#
awplus(config)#
awplus#
awplus(config)#
route-maps
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
configure terminal
route-map rmap1 permit 3
set metric 600
configure terminal
route-map rmap1 permit 3
set metric +2
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents