peer

Use peer to specify a RIP neighbor in the NBMA network, where routing updates destined for the neighbor are only unicasts and not multicast or broadcast.

Use undo peer to remove a RIP neighbor.

Syntax

peer ip-address

undo peer ip-address

Default

RIP does not unicast updates to any neighbor.

Views

RIP view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the IP address of a RIP neighbor, in dotted decimal notation.

Usage guidelines

Do not use the peer ip-address command when the neighbor is directly connected. Otherwise, the neighbor might receive both unicast and multicast (or broadcast) messages with the same routing information.

This command must be executed together with the undo validate-source-address command, which disables source IP address check on inbound RIP routing updates.

Examples

# Configure RIP to unicast updates to peer 202.38.165.1.

<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] peer 202.38.165.1

Related commands

validate-source-address