Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 2 RIP Configuration Commands
2-16
[Sysname] rip 1
[Sysname-rip-1] peer 202.38.165.1
2.1.15 preference
Syntax
preference
[
route-policy route-policy-name
]
value
undo preference
[
route-policy
]
View
RIP view
Parameters
route-policy-name
: Routing policy name with 1 to 19 characters.
value
: Priority for RIP route, in the range of 1 to 255. The smaller the value, the higher
the priority.
Description
Use the
preference
command to specify the RIP route priority.
Use the
undo preference
route-policy
command to restore the default.
By default, the priority of RIP route is 100.
You can specify a routing policy using keyword
route-policy
to set the specified priority
to routes matching the routing policy.
z
If a priority is set for matched routes in the routing policy, the priority applies to
these routes. The priority of other routes is the one set by the
preference
command.
z
If no priority is set for matched routes in the routing policy, the priority of all routes
is the one set by the
preference
command.
Examples
# Set the RIP route priority to 120.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] preference 120
2.1.16 reset rip statistics
Syntax
reset rip process-id
statistics