version (RIP view)

Function

The version command specifies a global RIP version.

The undo version command restores the default version.

By default, the global RIP version is RIP-2.

Format

version version-num

undo version

Parameters

Parameter Description Value
version-num

Indicates a RIP version.

The value can be 1 or 2.

Views

RIP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
rip write

Usage Guidelines

Usage Scenario

If the RIP version is RIP-1, a device sends and receives only RIP-1 packets.

If the RIP version is RIP-2, a device sends RIP-2 packets in multicast mode and receives RIP-2 packets in multicast or broadcast mode.

Procedure

If the version of RIP running on a device is changed, the routing information in a routing table is deleted and needs to be learned again.

Configuration Impact

If the version of RIP running on a device is changed, the routing information in a routing table is deleted and needs to be learned again.

Example

# Enable RIP to send and receive RIP-2 packets.
<HUAWEI> system-view
[~HUAWEI] rip 100
[*HUAWEI-rip-100] version 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >