ip rip authentication key-chain

To enable authentication for the Routing Information Protocol (RIP) Version 2 packets and to specify the set of keys that can be used on an interface, use the ip rip authentication key-chain command. To prevent authentication, use the no form of this command.

ip rip authentication key-chain name-of-chain

no ip rip authentication key-chain [name-of-chain]

Syntax Description


Group of valid keys.

Command Default

No authentication is provided for RIP packets.

Command Modes

Interface configuration mode

Command History



This command was introduced.

Usage Guidelines

This command does not require a license.

Note Make sure the LAN Base Services license is installed on the switch to enable Layer 3 interfaces.


This example shows how to configure the interface to accept and send any key that belongs to the key-chain trees:

switch(config)# interface ethernet 1/2
switch(config-if)# no switchport
switch(config-if)# ip rip authentication key-chain trees

Related Commands


copy running-config startup-config

Saves the configuration to the startup configuration file.


Creates a set of keys that can be used by an authentication method.

show ip rip

Displays a summary of RIP information for all RIP instances.