beautypg.com

Neighbor password – Enterasys Networks X-Pedition XSR CLI User Manual

Page 294

background image

BGP Configuration Commands

6-98 Configuring the Border Gateway Protocol

Example

The following example sets the router at 192.168.1.1 as the next hop:

XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 next-hop-self

neighbor password

This command sets a password for Message Digest 5 (MD5) authentication on the TCP connection 
between the XSR that this command is entered on and a BGP neighbor. The same password must 
be configured on both routers. When a password is configured for a neighbor, the existing session 
is replaced by a new session.

Syntax

neighbor {ip-address | peer-group-name} password password-value

Syntax of the “no” Form

This command’s no form removes the password for the specified router:

no neighbor {ip-address | peer-group-name} password password-value

Mode

Router configuration: 

XSR(config-router)#

Default

No authentication

Example

The following example adds a password for the specified router:

XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 password 123456

ip-address

Neighbor’s IP address.

peer-group-name

BGP peer group by name. Range: 1 to 64 characters.

password-value

Alphanumeric password. Range is 1‐30 characters.