BGP Configuration Commands
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
ip-address
peer-group-name
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:
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
6-98 Configuring the Border Gateway Protocol
Neighbor's IP address.
BGP peer group by name. Range: 1 to 64 characters.
Alphanumeric password. Range is 1‐30 characters.
XSR(config-router)#