10G Core Routing Switch User Manual
陈泽科技有限公司
- - 38 - -
www.stephen-tele.com
RIP-2 supports two authentication modes: Simple authentication and MD5 authentication. MD5 authentication uses
two packet formats: One follows RFC2453 and another one follows the RFC2082.
The simple authentication does not ensure security. The authentication key not encrypted is sent together with the
packet, so the simple authentication cannot be applied to the case with high security requirements.
Beginning in privileged EXEC mode, follow these steps to set rip-2 packet authentication.
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
Interface vlan
ifname
Enter interface configuration mode, and specify the
interface to configure.
ip rip authentication string
sting
Enable RIP authentication.
ip rip authentication mode
{md5|text}
Configure the interface to use plain text
authentication (the default) or MD5 digest
authentication.
Step 3
exit
Return to global configuration mode.
Step 4
exit
Return to privileged EXEC mode.
Step 4
show running-config
Verify your entries.
Step 6
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.
To restore clear text authentication, use the
no ip rip authentication mode
interface configuration command. To
prevent authentication, use the
no ip rip authentication string
interface configuration command.
Setting Additional Routing Metric
Additional routing metric is the input or output routing metric added to an RIP route. It does not change the metric
value of the route in the routing table, but adds a specified metric value when the interface receives or sends a route.
Beginning in privileged EXEC mode, follow these steps to set additional routing metric.
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
Router rip
Enable a RIP routing process, and enter router
configuration mode.
Step 3
default-metric
vlaue
Setting additional routing metric 1to 16.
Step 4
exit
Return to global configuration mode.
Step 5
exit
Return to privileged EXEC mode.
Step 6
show running-config
Verify your entries.
Step 7
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.
By default, the additional routing metric added to the route when RIP sends the packet is 1. The additional routing
metric when RIP receives the packet is 0 by default.