Set ip arp – Allied Telesis AT-S63 User Manual

Page 572

Advertising
background image

Chapter 33: Internet Protocol Version 4 Packet Routing Commands

572

Section VII: Internet Protocol Routing

SET IP ARP

Syntax

set ip arp=

ipaddress

[interface=

interface

] [port=

port

]

[ethernet=

macaddress

]

Parameters

arp

Specifies the IP address of the static route entry to be
modified.

interface

Specifies the interface where the host is located. An
interface name consists of “VLAN” followed by the
name or ID (VID) of the VLAN and the interface
number (e.g., vlan-Sales-0 or vlan4-0). The interface
must already exist on the switch.

port

Specifies a new physical port on the switch where the
host is located.

ethernet

Specifies a new MAC address of the host. The MAC
address can be entered in either of the following
formats:

xxxxxxxxxxxx or xx:xx:xx:xx:xx:xx

Description

This command modifies an existing static ARP entry in the ARP cache.
You can change all of the settings of an entry, except the IP address. To
change the IP address, you must delete the entry and add it again. To
view the ARP entries, refer to “SHOW IP ARP” on page 582.

This command is not available on the AT-9408LC/SP, AT-9424T/GB, and
AT-9424T/SP switches.

Examples

This command modifies the port number for the static ARP entry with the
IP address 149.42.67.8:

set ip arp=149.42.67.8 port=24

This command changes the MAC address for the static ARP entry with the
IP address 149.124.85.14:

set ip arp=149.124.85.14 ethernet=00:06:7a:22:11:24

Advertising