< Home

rip version

Function

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

The undo rip version command restores the default setting.

By default, an interface sends only RIP-1 packets, but it can receive both RIP-1 and RIP-2 packets.

Format

rip version { 1 | 2 [ broadcast | multicast ] }

undo rip version

Parameters

Parameter Description Value
1 Indicates RIP-1 packets. -
2 Indicates RIP-2 packets. -
broadcast Indicates that RIP-2 packets are sent in broadcast mode. -
multicast Indicates that RIP-2 packets are sent in multicast mode.
NOTE:

By default, RIP-2 packets are sent in multicast mode.

-

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view, Virtual-Template interface view

Default Level

2: Configuration level

Usage Guidelines

If no RIP version is set on an interface, the global RIP version is used.

The RIP-1 protocol poses a security risk, and therefore the RIP-2 protocol is recommended.

Example

# Send RIP-2 packets in broadcast mode.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] rip version 2 broadcast
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >