375
introducing routes from the other routing protocols to RIP. When using “redistribute”
command to introduce routes of the other protocols without specifying detailed route
metric, the default route metric set by “default-metric” command applies.
Example: Set the default route metric for introducing routes of the other protocols into RIP
to 3.
Switch(Config-router-rip)#default-metric 3
Related command: redistribute
15.3.2.2.3 ip rip authentication key
Command: ip rip authentication key <name-of- key >
no ip rip authentication key
Function: Specify the key to use for RIP authentication; the “no ip rip authentication
key-chain” command cancels the RIP authentication.
Parameter: <name-of- key > is a string, up to 16 characters are allowed.
Default: RIP authentication is disabled by default.
Command mode: Interface Mode
Usage Guide: Instead of deleting the RIP authentication key, the “no ip rip
authentication key-chain” command cancels the RIP authentication.
Related command: ip rip authentication
15.3.2.2.4 ip rip authentication mode
Command: ip rip authentiaction mode {text|md5 type {cisco|usual}}
no ip rip authentication mode
Function: Set the authentication method; the “no ip rip authentication mode” command
restores the default plain text authentication method.
Parameter: “text” for text authentication; “md5” for MD5 authentication. There two MD5
authentication methods, Cisco MD5 and conventional MD5.
Default: The default setting is text authentication.
Command mode: Interface Mode
Usage Guide: RIP-I does not support authentication, RIP-II support 2 authentication
methods: text authentication (Simple authentication) and packets authentication (MD5
authentication). There 2 packets types used in MD5 authentication, one format complies
with RFC1723 (RIP Version 2 Carrying Additional Information), the other format conforms
to RFC2082 (RIP-II MD5 Authentication).
Example: Set Cisco MD5 authentication on interface vlan1, the authentication key is
“switch”.
Switch(Config-If-Vlan1)#ip rip authentication mode md5 type cisco
Switch(Config-If-Vlan1)#ip rip authentication key switch