C
HAPTER
45
| IP Routing Commands
Routing Information Protocol (RIP)
– 1035 –
ip rip authentication
string
This command specifies an authentication key for RIPv2 packets. Use the
no form to delete the authentication key.
SYNTAX
ip rip authentication string key-string
no ip rip authentication string
key-string - A password used for authentication.
(Range: 1-16 characters, case sensitive)
DEFAULT SETTING
No authentication key
COMMAND MODE
Interface Configuration (VLAN)
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, and
authentication enabled by the ip rip authentication mode command.
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 string small
Console(config-if)#
RELATED COMMANDS
ip rip authentication mode (1034)
ip rip receive
version
This command specifies a RIP version to receive on an interface. Use the
no form to restore the default value.
SYNTAX
ip rip receive version {1 | 2}
no ip rip receive version
1 - Accepts only RIPv1 packets.
2 - Accepts only RIPv2 packets.