262 CHAPTER 27: RIP CONFIGURATION
n
■ If you make some RIP configurations in interface view before enabling RIP,
those configurations will take effect after RIP is enabled.
■ RIP runs only on the interfaces residing on the specified networks. Therefore,
you need to specify the network after enabling RIP to validate RIP on a specific
interface.
■ You can enable RIP on all interfaces using the command network 0.0.0.0.
Configuring the interface behavior
Follow these steps to configure the interface behavior:
Configuring a RIP version
You can configure a RIP version in RIP or interface view.
■ If neither global nor interface RIP version is configured, the interface sends
RIPv1 broadcasts and can receive RIPv1 broadcast and unicast packets, and
RIPv2 broadcast, multicast, and unicast packets.
■ If an interface has no RIP version configured, it uses the global RIP version;
otherwise it uses the RIP version configured on it.
■ With RIPv1 configured, an interface sends RIPv1 broadcasts, and can receive
RIPv1 broadcasts and RIPv1 unicasts.
■ With RIPv2 configured, a multicast interface sends RIPv2 multicasts and can
receive RIPv2 unicasts, broadcasts and multicasts.
■ With RIPv2 configured, a broadcast interface sends RIPv2 broadcasts and can
receive RIPv1 unicasts, and broadcasts, and RIPv2 broadcasts, multicasts and
unicasts.
Follow these steps to configure a RIP version:
Enable RIP on the interface attached to
the specified network
network network-address Required
Disabled by default
To do… Use the command… Remarks
To do… Use the command… Remarks
Enter system view system-view --
Enter RIP view rip [ process-id ] --
Disable an or all interfaces from
sending routing updates (the
interfaces can still receive updates)
silent-interface { all |
interface-type
interface-number }
Optional
All interfaces can send
routing updates by
default.
Return to system view quit -
Enter interface view interface interface-type
interface-number
-
Enable the interface to receive RIP
messages
rip input Optional
Enabled by default
Enable the interface to send RIP
messages
rip output Optional
Enabled by default