AIS AI2524 Manuel D’Utilisation

Page de 418
Chapter 8: AI2524 Protocol Configuration Steps
August 1997
Page 8-17
2524UM
information. To define a neighboring router with which to exchange 
point-to-point routing information, type this command in router con-
figuration mode:
neighbor 
ip-address
To control the set of interfaces with which to exchange routing up-
dates, you can disable the sending of routing updates on specified in
terfaces by configuring the passive interface command. 
Specify a RIP Version
By default, the software receives RIP Versi on1 and Vers ion2 pack-
ets, but sends only Vers ion1 packets. You can configure the softwar
to receive and send only Ver sion1 packets. Alternatively, you can 
configure the software to receive and send only Vers ion2 packets. To 
configure the software to receive and send only RIP Ver sion1 or only 
RIP Version 2 packets, type this command in router configuration 
mode:
version {1 | 2}
The preceding task controls the default behavior of RIP. You can over-
ride that behavior by configuring a particular interface to behave dif-
ferently. To control which RIP version an interface sends, perform one 
of these tasks in interface configuration mode:
z
Configure an interface to send only RIP Ver sion1 packets. 
ip rip send version 1
z
Configure an interface to send only RIP Ver sion2 packets. 
ip rip send version 2
z
Configure an interface to send RIP Ver sion1 and Ve rsion2 pack-
ets.
ip rip send version 1 2
Similarly, to control how packets received from an interface are pro-
cessed, perform one of these tasks in interface configuration mode:
z
Configure an interface to accept only RIP Ver sion1 packets. 
ip rip receive version 1
z
Configure an interface to accept only RIP Ver sion2 packets. 
ip rip receive version 2
z
Configure an interface to accept either RIP Ve rsion1 or 2 packets. 
ip rip receive version 1 2