Configuring a rip version – H3C Technologies H3C S10500 Series Switches User Manual

Page 42

Advertising
background image

27

To do…

Use the command…

Remarks

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

Configuring a RIP version

You can configure a RIP version in RIP view or interface view under the following conditions.

If neither global nor interface RIP version is configured, the interface sends RIPv1 broadcasts and
can receive the following packets: RIPv1 broadcast, RIPv1 unicast, RIPv2 broadcast, RIPv2 multicast,

and RIPv2 unicast.

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:

To do…

Use the command…

Remarks

Enter system view

system-view

––

Enter RIP view

rip [ process-id ] [ vpn-instance
vpn-instance-name ]

––

Specify a global RIP version

version { 1 | 2 }

Optional
By default, if an interface has a RIP

version specified, the version takes

precedence over the global one. If
no RIP version is specified for an

interface, the interface can send

RIPv1 broadcasts, and receive

RIPv1 broadcasts and unicasts,
and RIPv2 broadcasts, multicasts,

and unicasts.

Return to system view

quit

Enter interface view

interface interface-type
interface-number

––

Advertising