P Commands
This chapter describes the Cisco NX-OS Border Gateway Protocol (BGP) commands that begin with P.
password (BGP)
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 ]
Syntax Description
(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: |
|
Command Default
Command Modes
Command Modes
BGP neighbor configuration mode
Command History
|
|
Usage Guidelines
Examples
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)#
Related Commands
|
|
---|---|