• For authentication to function properly, both the sending and receiving
interface must be configured with the same password.
Example
This example sets an authentication password of “small” to verify incoming routing
messages and to tag outgoing routing messages.
Console(config)#interface vlan 1
Console(config-if)#ip rip authentication key small
Console(config-if)#
Related Commands
ip rip authentication mode (42-15)
ip rip authentication mode
This command specifies the type of authentication that can be used on an interface.
Note that the current firmware version only supports a simple password. Use the
no
form to restore the default value.
Syntax
ip rip authentication mode {text | md5}
no ip rip authentication mode
• text - Indicates that a simple password will be used.
• md5 - Message Digest 5 (MD5) authentication
Command Mode
Interface Configuration (VLAN)
Default Setting
No authentication
Command Usage
• The password to be used for authentication is specified in the ip rip
authentication key
command (page 42-14).
• This command requires the interface to exchange routing information with
other routers based on an authorized password. (Note that this command only
applies to RIPv2.)
• For authentication to function properly, both the sending and receiving
interface must be configured with the same password or authentication key.
• MD5 is a one-way hash algorithm is that takes the authentication key and
produces a 128 bit message digest or “fingerprint.” This makes it
computationally infeasible to produce two messages having the same
message digest, or to produce any message having a given prespecified
target message digest.
42-15
Routing Information Protocol (RIP)
42