Configuration commands

Configure MD5 authentication for RIPv2 and MD5 key chain for RIPv2 interfaces by using the following commands.

Syntax:


ip rip authentication-type <none|text|md5>
no ip rip authentication-type <none|text|md5>

Configure RIP authentication type as None, text and md5 on an interface.

When no is specified, the command disables RIP on the interface.

This command can be followed by a RIP configuration command. This is a VLAN context command that can be entered in a VLAN context or following the vlan enable/disable/configure RIP command on the VLAN interface.

none

Do not use authentication.

text

Use simple password.

MD5

Use MD5 authentication.

Using MD5

switch(vlan-10)# ip rip authentication-type md5

Using none

switch(vlan-10)# ip rip authentication-type none

Syntax:


ip rip md5-auth-key-chain <keychain-name>
no ip rip md5-auth-key-chain <keychain-name>

Configure Routing Internet Protocol (RIP) md5 key chain on the VLAN interface.

When no is specified, the command disables RIP on the interface. The command can be followed by a RIP configuration command. This is a VLAN context command that can be entered in a VLAN context or following the vlan <vlan-id> command.

no ip rip md5-auth-key-chain

No authentication for RIP interfaces is the default configuration.

md5-auth-key-chain: Set the RIP MD5 authentication key chain (maximum 32 characters).

Using MD5-auth-key-chain

switch(vlan-10)# ip rip md5-auth-key-chain <abc>
NOTE:

simple and none authentication is supported on all RIP interfaces. MD5 authentication is supported for RIPv2 interfaces. With MD5 authentication, MD5-keyed digest is put into the packet instead secret password. This mechanism better protects RIPv2 routing message from any eavesdropping than simple or none.