380
Function: Set the route priority of RIP; the “no rip preference” command restores the
default setting.
Parameter: < value> is the priority value, ranging from 0 to 255.
Default: The default RIP priority is 120.
Command mode: RIP configuration mode
Usage Guide: Each routing protocol has its own priority, the value of which is decided by
the specific routing policy. The priority determines the best route of what routing protocol
will be the route in the core route table. This command can be used to manually adjust
RIP priority; the adjustment will apply to new routes. Due to the nature of RIP, the RIP
priority should not be set too high.
Example: Set the RIP priority to 10.
Switch(Config-router-rip)#rip prefenrence 10
15.3.2.2.17 router rip
Command: router rip
no router rip
Function: Enable RIP and enter RIP configuration mode; the “no router rip” command
disables RIP.
Default: RIP is disabled by default.
Command mode: Global Mode
Usage Guide: This command is the enabling switch for RIP, it must be run before other
configurations to RIP can be made.
Example: Enable RIP configuration mode
Switch(Config)#router rip
Switch(Config-Router-Rip)#
15.3.2.2.18 timer basic
Command: timer basic <update> <invalid> <holddown>
no timer basic
Function: Adjust the time of RIP timers for update, expire, and hold down; the “no timer
basic” command restores the default setting.
Parameter <update> stands for the interval in seconds to send update packets, ranging
from 1 to 2,147,483,647; <invalid> for the interval in seconds to declare a RIP route
invalid, ranging from 1 to 2,147,483,647; <holddown> for the interval in seconds to keep
a RIP route after it is declared to be invalid, ranging from 1 to 2,147,483,647.
Default: The default value for <update> is 30; 180 for <invalid>; and 120 for
<holddown>.