beautypg.com

Neighbor weight (bgp) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 556

background image

518

Network OS Command Reference

53-1003115-01

neighbor weight (BGP)

2

neighbor weight (BGP)

Specifies a weight that the device will add to routes that are received from the specified BGP
neighbor.

Synopsis

neighbor {ip-address | peer-group-name} weight num

no neighbor {ip-address | peer-group-name} weight num

Operands

ip-address

IPv4 address of the neighbor.

peer-group-name

Name of the peer group.

num

Value from 1 through 65535.

Defaults

The default for num is 0.

Command Modes

BGP address-family IPv4 unicast configuration mode

Description

Use this command to specify a weight that the device will add to routes that are received from the
specified BGP neighbor. BGP4 prefers larger weights over smaller weights.

Usage Guidelines

Use the no form of the command to restore the defaults.

Examples

switch(config)# rbridge-id 10

switch(config-rbridge-id-10)# router bgp

switch(config-bgp-router)# address-family ipv4 unicast

switch(config-bgp-ipv4u)# neighbor 10.11.12.13 weight 100

See Also

None