![]() |
Table Of Contents
MSDP MD5 Password Authentication
Prerequisites for MSDP MD5 Password Authentication
Information About MSDP MD5 Password Authentication
How MSDP MD5 Password Authentication Works
Benefits of MSDP MD5 Password Authentication
How to Configure MSDP MD5 Password Authentication
Configuring MSDP MD5 Password Authentication
Configuration Examples for MSDP Password Authentication
Configuring MSDP MD5 Password Authentication: Example
MSDP MD5 Password Authentication
The MSDP MD5 password authentication feature is an enhancement to support Message Digest 5 (MD5) signature protection on a TCP connection between two Multicast Source Discovery Protocol (MSDP) peers. This feature provides added security by protecting MSDP against the threat of spoofed TCP segments being introduced into the TCP connection stream.
History for the MSDP MD5 Password Authentication Feature
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for MSDP MD5 Password Authentication
•
Information About MSDP MD5 Password Authentication
•
How to Configure MSDP MD5 Password Authentication
•
Configuration Examples for MSDP Password Authentication
Prerequisites for MSDP MD5 Password Authentication
Before configuring MSDP MD5 password authentication, you should be familiar with MSDP concepts and configuration tasks. For more information, refer to the "Related Documents" section.
Information About MSDP MD5 Password Authentication
To configure MSDP MD5 password authentication, you must be familiar with the following concepts:
•
How MSDP MD5 Password Authentication Works
•
Benefits of MSDP MD5 Password Authentication
How MSDP MD5 Password Authentication Works
Developed in accordance with RFC 2385, the MSDP MD5 password authentication feature is used to verify each segment sent on the TCP connection between MSDP peers. The ip msdp password peer command is used to enable MD5 authentication for TCP connections between two MSDP peers. When MD5 authentication is enabled between two MSDP peers, each segment sent on the TCP connection between the peers is verified. MD5 authentication must be configured with the same password on both MSDP peers; otherwise, the connection between them will not be made. Configuring MD5 authentication causes the Cisco IOS software to generate and verify the MD5 digest of every segment sent on the TCP connection.
Benefits of MSDP MD5 Password Authentication
•
Protects MSDP against the threat of spoofed TCP segments being introduced into the TCP connection stream.
•
Uses the industry-standard MD5 algorithm for improved reliability and security.
How to Configure MSDP MD5 Password Authentication
This section contains the following required configuration task:
•
Configuring MSDP MD5 Password Authentication (required)
Configuring MSDP MD5 Password Authentication
This task explains how to configure MSDP MD5 password authentication.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip msdp peer {peer-name | peer-address} [connect-source interface-type interface-number] [remote-as as-number]
4.
ip msdp [vrf name] password peer {peer-name | peer-address} [encryption-type] string
5.
end
6.
show ip msdp peer
DETAILED STEPS
Troubleshooting Tips
If a router has a password configured for an MSDP peer, but the MSDP peer does not, a message such as the following will appear on the console while the routers attempt to establish a MSDP session between them:
%TCP-6-BADAUTH: No MD5 digest from [peer's IP address]:11003 to [local router'sIP address]:179Similarly, if the two routers have different passwords configured, a message such as the following will appear on the screen:
%TCP-6-BADAUTH: Invalid MD5 digest from [peer's IP address]:11004 to [local router'sIP address]:179The debug ip tcp transactions command is used to display information on significant TCP transactions such as state changes, retransmissions, and duplicate packets. In the context of monitoring or troubleshooting MSDP MD5 password authentication, use the debug ip tcp transactions command to verify that the MD5 password is enabled and that the keepalive message is received by the MSDP peer.
Configuration Examples for MSDP Password Authentication
This section contains the following configuration example:
•
Configuring MSDP MD5 Password Authentication: Example
Configuring MSDP MD5 Password Authentication: Example
The following example shows how to enable MD5 password authentication for a TCP connection between two MSDP peers:
Router A
!ip msdp peer 10.3.32.154ip msdp password peer 10.3.32.154 0 test!Router B
!ip msdp peer 10.3.32.153ip msdp password peer 10.3.32.153 0 test!Additional References
The following sections provide references related to MSDP MD5 password authentication.
Related Documents
Related Topic Document TitleMSDP concepts and configuration tasks
Cisco IOS IP Multicast Configuration Guide, Release 12.4
Multicast commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples
Cisco IOS IP Multicast Command Reference, Release 12.4
Standards
Standard TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
Technical Assistance
Command Reference
This section documents new and modified commands only.
ip msdp password peer
To enable Message Digest 5 (MD5) password authentication for TCP connections between two Multicast Source Discovery Protocol (MSDP) peers, use the ip msdp password peer command in global configuration mode. To disable this function, use the no form of this command.
ip msdp [vrf name] password peer {peer-name | peer-address} [encryption-type] string
no ip msdp [vrf name] password peer {peer-name | peer-address} [encryption-type] string
Syntax Description
Command Default
MD5 password authentication for TCP connections between MSDP peers is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
The ip msdp password peer command is used to enable MD5 authentication for TCP connections between two MSDP peers. When MD5 authentication is enabled between two MSDP peers, each segment sent on the TCP connection between the peers is verified. MD5 authentication must be configured with the same password on both MSDP peers; otherwise, the connection between them will not be made. Configuring MD5 authentication causes the Cisco IOS software to generate and verify the MD5 digest of every segment sent on the TCP connection.
If a router has a password configured for an MSDP peer, but the MSDP peer does not, a message such as the following will appear on the console while the routers attempt to establish a MSDP session between them:
%TCP-6-BADAUTH: No MD5 digest from [peer's IP address]:11003 to [local router'sIP address]:179Similarly, if the two routers have different passwords configured, a message such as the following will appear on the screen:
%TCP-6-BADAUTH: Invalid MD5 digest from [peer's IP address]:11004 to [local router'sIP address]:179Configuring an MD5 Password in an Established MSDP Session
If you configure or change the password or key used for MD5 authentication between two MSDP peers, the local router will not tear down the existing session after you configure the password. The local router will attempt to maintain the peering session using the new password until the keepalive period expires. If the password is not entered or changed on the remote router before the keepalive period expires, the session will time out and the MSDP session will reset.
Examples
The following example shows how to configure an MD5 password for TCP connections to the MSDP peer at 10.3.32.152:
ip msdp password peer 10.3.32.152 0 testRelated Commands
show ip msdp peer
To display detailed information about Multicast Source Discovery Protocol (MSDP) peers, use the show ip msdp peer command in user EXEC or privileged EXEC mode.
show ip msdp [vrf vrf-name] peer [peer-address | peer-name] [accepted-sas | advertised-sas]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show ip msdp peer command:
Router# show ip msdp peer 224.135.250.116MSDP Peer 224.135.250.116 (rtp5-rp1.cisco.com), AS 109 (configured AS)Description:Connection status:State: Up, Resets: 9, Connection source: Loopback2 (228.69.199.17)Uptime(Downtime): 1d10h, Messages sent/received: 436765/429062Output messages discarded: 0Connection and counters cleared 1w2d agoSA Filtering:Input (S,G) filter: none, route-map: noneInput RP filter: none, route-map: noneOutput (S,G) filter: none, route-map: noneOutput RP filter: none, route-map: noneSA-Requests:Input filter: noneSending SA-Requests to peer: disabledPeer ttl threshold: 0SAs learned from this peer: 32, SAs limit: 500Input queue size: 0, Output queue size: 0Table 1 describes the significant fields shown in the display.
Related Commands
Glossary
encryption—Encryption is the translation of data into a secret code. Encryption is a way to achieve data security. Encryption prevents the password or key from being easily readable in the configuration file.
MD5—Message Digest 5. An algorithm that is used to create digital signatures. MD5 is a one-way hash function, meaning that it takes a message and converts it into a fixed string of digits, also called a message digest. When a one-way hash function is used, a calculated message digest is compared against the received message digest to verify that the message has not been tampered with. This comparison is called a hashcheck.
Note
See Internetworking Terms and Acronyms for terms not included in this glossary.
© 2005 Cisco Systems, Inc. All rights reserved.