Add ip arp – Allied Telesis AT-S63 User Manual

Page 390

Advertising
background image

Chapter 22: Internet Protocol Version 4 Packet Routing Commands

390

Section VII: Internet Protocol Routing

ADD IP ARP

Syntax

add ip arp=

ipaddress

interface=

interface

port=

port

ethernet=

macaddress

Parameters

arp

Specifies the IP address of the host. The IP address
must be a member of a local subnet or network that
has a routing interface on the stack.

interface

Specifies the name of the interface from where the
host is reached. 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).

port

Specifies the physical port on the stack where the
host is reached. 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 the 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 adds a static ARP entry to the ARP cache. This is typically
used to add entries for local hosts that do not support ARP or to speed up
the address resolution function for a host. The ARP entry must not already
exist in the cache. The stack can support up to 1024 static ARP entries.

Examples

This command adds a static ARP entry for a host with an IP address of
149.42.67.8 and a MAC address of 00:06:5B:BB:72:88. The host is a
member of the subnet of the VLAN8-0 interface and is located on port
2.15:

add ip arp=149.42.67.8 interface=vlan8-0 port=2.15
ethernet=00:06:5b:bb:72:88

Advertising