peer password

Use peer password to configure the device to perform MD5 authentication when establishing a TCP connection with an MSDP peer.

Use undo peer password to configure the device not to perform MD5 authentication when establishing a TCP connection with an MSDP peer.

Syntax

peer peer-address password { cipher | simple } string

undo peer peer-address password

Default

The device does not perform MD5 authentication when establishing a TCP connection with an MSDP peer.

Views

MSDP view

Predefined user roles

network-admin

Parameters

peer-address: Specifies an MSDP peer by its IP address.

cipher: Specifies a key in encrypted form.

simple: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form will be stored in encrypted form.

string: Specifies the key. Its plaintext form is a case-sensitive string of 33 to 137 characters. Its encrypted form is a case-sensitive string of 1 to 80 characters.

Usage guidelines

For the TCP connection to be successfully established, you must configure the same key for MD5 authentication on both MSDP peers.

Examples

# Configure the router to perform MD5 authentication when establishing a TCP connection with MSDP peer 10.1.100.1 and set the key to aabbcc in plaintext on the public network.

<Sysname> system-view
[Sysname] msdp
[Sysname-msdp] peer 10.1.100.1 password simple aabbcc