Set ip arp – Allied Telesis AT-S63 User Manual

Page 400

Advertising
background image

Chapter 22: Internet Protocol Version 4 Packet Routing Commands

400

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 stack.

port

Specifies the new physical port on the stack where
the host is located. Port numbers are entered in the
following format:

module ID.port number

For instructions, refer to “Port Numbers in

Commands” on page 42.

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 408.

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

Advertising