Command Line Interface
10471553-KDU 137 365 Uen D 2006-06-16
7.26.15 ip rip authentication key
This command enables authentication for RIPv2 packets and to specify the key
that must be used on an interface. Use the no form to prevent authentication.
Syntax
ip rip authentication key <key-string>
no ip rip authentication
key-string - A password used for authentication.
(Range: 1-16 characters, case sensitive)
Command Mode
Interface Configuration (VLAN)
Default Setting
No authentication
Command Usage
• This command can be used to restrict the interfaces that can exchange
RIPv2 routing information. (Note that this command does not apply to
RIPv1.)
• 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)#