Set Weight - Allied Telesis AR2050V Command Reference Manual

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

R
M
C
OUTE
AP
OMMANDS

SET WEIGHT

set weight
Overview
Use this command to add a weight set clause to a route map entry.
The weight value assists in best path selection of BGP routes. It is stored with the
route in the BGP routing table, but is not advertised to peers. When there are
multiple routes with a common destination, the device uses the route with the
highest weight value.
When a route matches the route map entry, the device sets its weight to the
specified value.
Use the no variant of this command to remove the set clause.
Syntax
set weight <weight>
no set weight [<weight>]
Mode
Route-map Configuration
Usage
This command is valid for BGP routes only.
To use entry 3 of the route map called rmap1 to give matching routes a weight of
Example
60, use the commands:
awplus#
awplus(config)#
awplus(config-route-map)#
Related
route-map
Commands
show route-map
C613-50186-01 Rev B
Parameter
Description
<weight>
<0-4294967295>
The weight value.
configure terminal
route-map rmap1 permit 3
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
set weight 60
1419

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents