Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Introduction
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
C613-50032-01 REV D AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 1.27
BGP and BGP4+ Weights
A weight is a number that you can assign to a route so that you can control the route
selection process. The administrative weight is local to the router. A weight can be a
number from 0 to 65535. If you have particular neighbors that you want to prefer for most
of your traffic, you can assign a higher weight to all routes learned from that neighbor.
To assign a weight to a BGP route, use the following commands in Router Configuration
mode:
To assign a weight to a BGP4+ route, use the following commands in Address Family
Configuration mode:
awplus(config)#
router bgp <asn>
This command enters Router Configuration mode
awplus(router-config)#
neighbor <neighborid> weight
<weight>
This command adds a weight to a BGP route specified in the
required <neighborid> parameter.
awplus(config)#
router bgp <asn>
This command enters Router Configuration mode
awplus(config-router)#
address-family ipv6 [unicast]
This command enters Address Family Configuration mode
awplus(router-config-af)#
neighbor <neighborid> weight
<weight>
This command adds a weight to a BGP4+ route specified in the
required <neighborid> parameter.