set protocols bgp neighbor password


The set protocols bgp neighbor password command enables message digest5 (MD5) authentication on a TCP connection between two BGP neighbors. When the password is applied to a peer-group, all the neighbors that are part of peer-group inherit the configured
setting. The neighbor connection must be reset using clear ip bgp to allow this configuration to take effect.


The delete protocols  bgp neighbor password command disables this feature.


Command Syntax

set protocols bgp [vrf <vrf-name>{neighbor <ip>| peer-group <peer-group> | interface <interface>} password <text-password>

delete protocols bgp [vrf <vrf-name>{neighbor <ip>| peer-group <peer-group> | interface <interface>password


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

neighbor <ip>Specifies the IPv4/IPv6 address of a peer.
peer-group <peer-group>Specifies a peer group.
interface <interface>Specifies an L3 interface for BGP connection. The value could be a VLAN interface name, loopback interface name, routed interface or sub-interface name.
password <text-password>Specifies the txt password.


Example
• This example enables message digest5 (MD5) authentication on a TCP connection between two BGP neighbors.

admin@XorPlus# set protocols bgp neighbor 2.2.2.2 password picos12345
admin@XorPlus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.