Cisco Nexus 6000 Series NX-OS Unicast Routing Command Reference
P Commands
Downloads: This chapterpdf (PDF - 68.0KB) The complete bookPDF (PDF - 7.33MB) | Feedback

Table of Contents

P Commands

password (BGP)

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

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

(Optional) Neighbor password.

 
Command Default

None

 
Command Modes

BGP neighbor configuration mode

 
Command History

Release
Modification

6.0(2)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

Command
Description

show ip bgp

Displays information about BGP routes.