70
Usage guidelines
Do not use the
peer
ip-address
command when the neighbor is directly connected. Otherwise, the
neighbor might receive both unicast and multicast (or broadcast) messages with the same routing
information.
This command must be executed together with the
undo validate-source-address
command, which
disables source IP address check on inbound RIP routing updates.
Examples
# Configure RIP to unicast updates to peer 202.38.165.1.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] peer 202.38.165.1
Related commands
validate-source-address
preference
Use
preference
to specify a preference for RIP routes.
Use
undo preference
to restore the default.
Syntax
preference
[
route-policy
route-policy-name
]
value
undo preference
Default
The preference of RIP routes is 100.
Views
RIP view
Predefined user roles
network-admin
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.