1172 CHAPTER 77: RIP CONFIGURATION COMMANDS

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 0.0.0.0 command to enable RIP on all interfaces.

RIP is disabled on an interface by default.

Examples # 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

Syntax peer ip-address

undo peer ip-address

View RIP view

Parameters ip-address: RIP peer IP address, in dotted decimal format.

Description Use the peer command to specify a neighbor in the non-broadcast multi-access (NBMA) network. With this command used, routing updates destined to the peer are unicast, rather than multicast or broadcast.

Use the undo peer command to remove a neighbor.

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.

Examples # 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

Syntax preference [ route-policy route-policy-name] value

undo preference [ route-policy ]

View RIP view

Page 1172
Image 1172
3Com MSR 30, MSR 50 manual Syntax peer ip-address