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

name-of-chain

Group of valid keys.


Command Default

No authentication is provided for RIP packets.

Command Modes

Interface configuration mode

Command History

Release
Modification

5.0(3)N1(1)

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.


Examples

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
switch(config-if)#

Related Commands

Command
Description

copy running-config startup-config

Saves the configuration to the startup configuration file.

key-chain

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.