< Home

peer (RIP)

Function

The peer command specifies the IP addresses of the RIP neighbors in an NBMA network. After this command is configured, Update packets are sent to the peer in unicast instead of multicast or broadcast mode.

The undo peer command deletes the specified neighbor IP address.

By default, RIP does not specify the IP addresses of the neighbors.

Format

peer ip-address

undo peer ip-address

Parameters

Parameter Description Value
ip-address Specifies the IP address of a neighbor. The value is in dotted decimal notation.

Views

RIP view

Default Level

2: Configuration level

Usage Guidelines

Generally, it is not recommended to use the peer command because an interface may receive the same packets but in multicast (or broadcast) and unicast mode. Therefore, it is recommended to change the mode of the interface to the silent mode when configuring the peer command.

The maximum number of neighbors varies according to products. You can set the value after purchasing the corresponding license.

Example

# Specify the IP address of the neighbor to 10.0.0.1.

<sysname> system-view
[sysname] rip 1
[sysname-rip-1] peer 10.0.0.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >