
BGP and BGP4+ Commands
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>]
Parameter | Description |
|
|
| |
<neighborid> | ||
|
|
|
| Specify the address of an IPv4 BGP neighbor, in | |
|
| dotted decimal notation A.B.C.D. |
|
|
|
|
| Specify the address of an IPv6 BGP4+ neighbor, |
|
| entered in hexadecimal in the format X:X::X:X. |
|
|
|
| <peer- | Enter the name of an existing |
| group> | information on how to create peer groups, refer to |
|
| the neighbor |
|
| (BGP and BGP+) command on page 3.144, and |
|
| neighbor |
|
| command on page 3.159. When this parameter is |
|
| used with this command, the command applies |
|
| on all peers in the specified group. |
|
| |
<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
The weights assigned using the set weight command overrides the weights assigned using this command.
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
3.190 | AlliedWare PlusTM Operating System - Software Version |