weight
To set the default weight for routes from this neighbor, use the weight command. To restore the default values, use the no form of this command.
weight weight
no weight weight
Syntax Description
weight |
Specifies the default weight. The range is from 0 to 65535. |
Command Default
None.
Command Modes
neighbor address-family configuration mode
Command History
Release |
Modification |
---|---|
6.1(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
This example shows how to set the default weight for routes from this neighbor:
switch(config)# router bgp 100
switch(config-router)# neighbor 201.0.17.2 remote-as 101
switch(config-router-neighbor)# address-family ipv4 unicast
switch(config-router-neighbor-af)# weight 100
switch(config-router-neighbor-af)#