rip version

Function

The rip version command sets the version of RIP running on an interface.

The undo rip version command restores the default RIP version.

By default, the version running on an interface is 1.

Format

rip version { 1 | 2 }

undo rip version

Parameters

Parameter Description Value
1

Indicates RIP-1.

-

2

Indicates RIP-2.

-

Views

100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, Global VE sub-interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
rip write

Usage Guidelines

Usage Scenario

The versions of request and response packets vary with the configured RIP version.

  • If the version of RIP is not set, a device sends RIP-1 packets in broadcast mode and receives the RIP-1 and RIP-2 packets that are sent in broadcast mode.
  • If the RIP version is set to RIP-1, a device sends only RIP-1 packets in broadcast mode and receives the RIP-1 packets that are sent in broadcast mode.
  • If the RIP version is set to RIP-2, a device sends only RIP-2 packets in multicast mode and receives RIP-2 packets that are sent in multicast or broadcast mode.

Precautions

You can also set a RIP version in a RIP process, but the RIP version that is set on an interface has a higher priority.

RIP-1 ensures lower security than RIP-2. Therefore, configuring RIP-2 is recommended.

Example

# Configure GE 0/1/0 to send RIP-2 packets.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] rip version 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >