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
Command Default
None
Command Modes
BGP neighbor configuration mode
Command History
|
|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
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
|
|
---|---|
show ip bgp |
Displays information about BGP routes. |