The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Border Gateway Protocol (BGP) commands that begin with P.
To configure Border Gateway Protocol (BGP) to use MD5 authentication, use the password command. To disable this function, use the no from of this command.
password [ auth-key string | string ]
no password [ auth-key string | string ]
(Optional) MD5 authentication key. You can enter an unencrypted (cleartext) key, or one of these values followed by a space and the MD5 authentication key: |
|
BGP neighbor configuration mode
|
|
This example shows how to enable an unencrypted key for a BGP neighbor:
switch(config)#
router bgp 101
switch(config-router)#
neighbor 192.0.2.1 remote-as 1.2
switch(config-route-neighbor)#
password 0 myauthkey
switch(config-route-neighbor)#
This example shows how to disable an unencrypted authentication key for a BGP neighbor:
switch(config)#
router bgp 101
switch(config-router)#
neighbor 192.0.2.1 remote-as 1.2
switch(config-route-neighbor)#
no password 0 myauthkey
switch(config-route-neighbor)#
|
|
---|---|