1172
C
77: RIP C
HAPTER
Examples
peer
Syntax
View
Parameters
Description
Examples
preference
Syntax
View
C
ONFIGURATION
OMMANDS
RIP runs only on the interfaces attached to the specified network. For an interface
not on the specified network, RIP neither receives/sends routes on it nor forwards
interface route through it. Therefore, you need to specify the network after
enabling RIP to validate RIP on a specific interface.
Use the
network
RIP is disabled on an interface by default.
# Enable RIP on the interface attached to the network 129.102.0.0.
<Sysname> system-view
[Sysname] rip 100
[Sysname-rip-100] network 129.102.0.0
peer ip-address
undo peer ip-address
RIP view
ip-address: RIP peer IP address, in dotted decimal format.
Use the
command to specify a neighbor in the non-broadcast multi-access
peer
(NBMA) network. With this command used, routing updates destined to the peer
are unicast, rather than multicast or broadcast.
Use the
undo peer
By default, no neighbor is specified.
In general, it is not recommended to use the peer command, because the
neighbor may receive both the unicast and multicast (or broadcast) update of the
same route. When you need to use the command, configure the mode of related
interface as silent.
# Specify to send unicast updates to peer 202.38.165.1.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] peer 202.38.165.1
preference [ route-policy route-policy-name ] value
undo preference [ route-policy ]
RIP view
0.0.0.0 command to enable RIP on all interfaces.
command to remove a neighbor.