Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Commands
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
3.190 AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 C613-50032-01 REV D
neighbor weight (BGP and BGP4+)
Use this command to set default weights for routes from this BGP or BGP4+ neighbor.
Use the no variant of this command to remove a weight assignment.
Syntax [BGP/BGP4+] neighbor <neighborid> weight <weight>
no neighbor <neighborid> weight [<weight>]
Mode [BGP]
Router Configuration or IPv4 Address Family Configuration for a VRF instance
Mode [BGP4+] IPv6 Address Family Configuration
Usage [BGP/BGP4+] Use this command to specify a weight value to all routes learned from a BGP or BGP4+
neighbor. The route with the highest weight gets preference when there are other routes
on the network.
Unlike the local-preference attribute, the weight attribute is relevant only to the local
router.
The weights assigned using the set weight command overrides the weights assigned
using this command.
Parameter Description
<neighborid> {<ip-address>|<ipv6-addr>|<peer-group>}
<ip-address>
Specify the address of an IPv4 BGP neighbor, in
dotted decimal notation A.B.C.D.
<ipv6-addr> Specify the address of an IPv6 BGP4+ neighbor,
entered in hexadecimal in the format X:X::X:X.
<peer-
group>
Enter the name of an existing peer-group. For
information on how to create peer groups, refer to
the neighbor peer-group (add a neighbor)
(BGP and BGP+) command on page 3.144, and
neighbor route-map (BGP and BGP4+)
command on page 3.159. When this parameter is
used with this command, the command applies
on all peers in the specified group.
<weight> <0-65535> Specifies the weight this command assigns to the route.