3 commands for arp configuration, 1 arp, 2 clear arp-cache – Accton Technology ES4626 User Manual

Page 316: 3 ip proxy-arp

Advertising
background image

316

9.5.3 Commands for ARP Configuration

9.5.3.1 Arp

Command: arp <ip_address> <mac_address> {[ethernet] <portName>}

no arp <ip_address>

Function:

Configures a static ARP entry; the “no arp <ip_address> command deletes

a static ARP entry.

Parameters:

<ip_address> is the IP address; <mac_address> is the MAC address;

ethernet

stands for Ethernet port; <portName> for the name of layer2 port.

Default:

No static ARP entry is set by default.

Command mode:

Interface Mode

Usage Guide:

Static ARP entries can be configured in the switch.

Example:

Configuring static ARP for interface VLAN1.

Switch(Config-If-Vlan1)#arp 1.1.1.1 00-03-0f-f0-12-34 eth 1/2

9.5.3.2 clear arp-cache

Command: clear arp-cache

Function:

Clears arp table.

Parameters:

N/A.

Command mode:

Admin Mode

Usage Guide:

Clears the content of current ARP table, but it does not clear the current

static ARP table.

Example

Switch#clear arp-cache

9.5.3.3 ip proxy-arp

Command: ip proxy-arp

no ip proxy-arp

Function:

Enables proxy ARP for VLAN interface; the “no ip proxy-arp” command

disables proxy ARP.

Default:

Proxy ARP is disabled by default.

Command mode:

Interface Mode

Usage Guide:

When an ARP request is received on the layer 3 interface, requesting an

IP address in the same IP segment of the interface but not the same physical network,

and the proxy ARP interface has been enabled, the interface will reply to the ARP with its

own MAC address and forward the actual packets received. Enabling this function allows

machines to physically be separated but in the same IP segment and communicate via

the proxy ARP interface as if in the same physical network. Proxy ARP will check the

Advertising
This manual is related to the following products: