Atlantis Land A02-RA(Atmos)_ME01 manual 10.3 arp, Syntax, Description, Example

Models: A02-RA(Atmos)_ME01

1 112
Download 112 pages 14.35 Kb
Page 73
Image 73

mymachine> ip abort 3

10.3arp

10.3.1Syntax

arp add <i/f> <IP address> <MAC address> arp delete <i/f> <IP address>

arp flush arp [list]

arp help [all<cmd>]

10.3.2 Description

Allows display and manipulation of the ARP table: the list of IP addresses and corresponding MAC addresses obtained by ARP (see the ATMOS TCP/IP Functional Specification, DO-007285-PS) on Ethernet-like interfaces. Normally there is no need to add entries to the table with arp add, since they should be discovered by the ARP protocol. Displaying the table with arp list (or just arp) is sometimes useful, and deleting an entry with arp delete, or the whole table with arp flush, can sometimes speed up recovery from temporary problems if something unusual has happened.

Entries added with arp add do not time out like those discovered by use of the ARP protocol, but they are deleted by arp flush and will not survive a restart (they are not saved by configuration saving).

Note that the ARP table is used only for destinations on directly connected Ethernet-like networks, not for those reached through routers (although the ARP table may be used to discover the MAC address of the router).

10.3.3 Example

mymachine> ip arp add ether 192.168.50.1 8:0:20:19:9A:D9

mymachine> ip arp

 

 

arp add flane

192.168.2.63

00:20:2b:e0:03:87 # 8m58s

arp add flane

192.168.2.108

00:20:2b:03:0a:72 # 7m02s

arp add flane

192.168.2.109

00:20:2b:03:08:b1 # 2m24s

arp add flane

192.168.2.156

00:20:2b:03:09:c4 # 1m01s

arp add ether

192.168.50.1

08:00:20:19:9a:d9 # forever

arp add ether

192.168.50.57

00:20:af:2e:fa:3c # 3m25s

mymachine> ip arp delete flane 192.168.2.109

mymachine> ip arp list

 

arp add flane

192.168.2.63

00:20:2b:e0:03:87 # 8m46s

arp add flane

192.168.2.108

00:20:2b:03:0a:72 # 6m50s

arp add flane

192.168.2.156

00:20:2b:03:09:c4 # 49s

Page 73
Image 73
Atlantis Land A02-RA(Atmos)_ME01 manual 10.3 arp, Syntax, Description, Example