rarp

Assigns a static IP RARP entry for static routes.
Syntax
rarp index mac-address ip-address
no rarp index mac-address ip-address
Command Default

RARP entry is not configured.

Parameters
index
Specifies the static IP RARP entry's index. You can specify an unused number from 1 to the maximum number of RARP entries supported on the device.
mac-address
Specifies the static IP RARP entry's MAC address.
ip-address
Specifies the static IP RARP entry's IP address.
Modes

Global configuration mode

Usage Guidelines

You must configure the RARP entries for the RARP table. The Layer 3 switch can send an IP address in reply to a client RARP request only if create a RARP entry for that client.

The no form of the command removes the static IP RARP entry.

Examples

The following example creates a RARP entry for a client with MAC address 0000.0054.2348. When the Layer 3 switch receives a RARP request from this client, the Layer 3 switch replies to the request by sending IP address 192.53.4.2 to the client.

device(config)# rarp 1 0000.0054.2348 192.53.4.2