73 neighbor weight, 72 neighbor version – CANOGA PERKINS 9175 Command Reference User Manual

Page 293

Advertising
background image

CanogaOS Command Reference

16-48

16.72 neighbor version

Use this command to configure the software to accept only a particular BGP version.

Use the no parameter with this command to use the default version level of a neighbor.

Command Syntax

(no) neighbor NEIGHBORID version VERSION

NEIGHBORID = A.B.C.D|X:X::X:X|TAG

A.B.C.D Specifies the address of the BGP neighbor in IPv4 format.

X:X::X:X Specifies the address of the BGP neighbor in IPv6 format.

TAG Name of an existing peer-group. For information on how to create peer groups, refer to the

neighbor peer-group and neighbor remote-as commands. When this parameter is used with a command,

the command applies on all peers in the specified group.

VERSION= 4 | 4- Specifies the BGP version number.

4 Border Gateway Protocol 4

Command Mode

Router mode

Usage

By default, the system uses BGP version 4 and on request dynamically negotiates down to version 2. Using

this command disables the router’s version-negotiation capability and forces the router to use only a specified

version with the neighbor.

Examples

Switch# configure terminal

Switch(config)# router bgp 12

Switch(config-router)# neighbor 10.10.10.10 version 4

16.73 neighbor weight

Use this command to set default weights for routes from this neighbor.

Use the no parameter with this command to remove a weight assignment.

Command Syntax

(no) neighbor NEIGHBORID weight WEIGHT

NEIGHBORID = A.B.C.D|X:X::X:X|TAG

A.B.C.D Specifies the address of the BGP neighbor in IPv4 format.

X:X::X:X Specifies the address of the BGP neighbor in IPv6 format.

TAG Name of an existing peer-group. For information on how to create peer groups, refer to the

neighbor peer-group and neighbor remote-as commands. When this parameter is used with a command,

the command applies on all peers in the specified group.

WEIGHT= <0-65535> Specifies the weight this command assigns to the route.

Advertising