276
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
password (BGP)
password (BGP)
To configure the 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
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# configure terminal
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# configure terminal
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)#
auth-key (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:
• 0—Specifies an unencrypted (cleartext) key
• 3—Specifies a 3-DES encrypted key
• 7—Specifies a Cisco Type 7 encrypted key
The key can be from 1 to 16 characters.
string Neighbor password.
Release Modification
5.0(3)A1(1) This command was introduced.