neighbor weight

Syntax

neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} weight <WEIGHT-VALUE>

no neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} weight <WEIGHT-VALUE>

Description

Assigns a weight to a neighbor connection. When the weight is applied to a peer-group then all the neighbors that are part of the peer-group will inherit the value configured.

The no form of this command removes a weight assignment.

Command context

config-router

Parameters

<IP-ADDRESS>

Specifies an IP address.

<PEER-GROUP-NAME>

Specifies a peer group.

<WEIGHT-VALUE>

Specifies the weigh to be associated with the routes received from the neighbor. Range: 0-65535.

Authority

Administrators

Examples

switch(config-router)# neighbor 1.1.1.1 weight 500
switch(config-router)# no neighbor 1.1.1.1 weight
switch(config-router)# neighbor pg weight 600
switch(config-router)# no neighbor pg weight