Configuration commands
Configure MD5 authentication for RIPv2 and MD5 keychain for RIPv2 interfaces by using the following commands.
Syntax
no ip rip authentication-type none|text|md5
Enable, disable or configure RIP on the VLAN 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.
Using MD5
switch(vlan-10)# ip rip authentication-type md5
Using none
switch(vlan-10)# ip rip authentication-type none
Syntax
no ip rip md5-auth-key-chain keychain-name
Used to enable, disable or configure Routing Internet Protocol (RIP) 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 authentication for RIP interfaces is the default configuration.
Using MD5-auth-key-chain
switch(vlan-10)# ip rip md5-auth-key-chain
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.