46
Parameters
route-policy
route-policy-name
: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
characters.
value
: Specifies a preference for RIP routes, in the range of 1 to 255. The smaller the value, the higher the
preference.
Usage guidelines
You can specify a routing policy by using the keyword
route-policy
to set a preference for matching RIP
routes.
•
The preference set by the routing policy applies to all matching RIP routes. The preference of other
routes is set by the
preference
command.
•
If no preference is set by the routing policy, the preference of all RIP routes is set by the
preference
command.
Examples
# Set a preference of 120 for RIP routes.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] preference 120
reset rip process
Use
reset rip process
to reset a RIP process.
Syntax
reset rip
process-id
process
Views
User view
Predefined user roles
network-admin
Parameters
process-id
: Specifies a RIP process by its ID in the range of 1 to 65535.
Usage guidelines
After executing the command, you are prompted to confirm the operation.
Examples
# Reset RIP process 100.
<Sysname> reset rip 100 process
Reset RIP process? [Y/N]:y
reset rip statistics
Use
reset rip statistics
to clear statistics for a RIP process.
Syntax
reset rip
process-id
statistics