beautypg.com

Ip arpadd, Ip commands, Syntax – Technicolor - Thomson ST585 V6 User Manual

Page 453: Example: related commands

background image

E-DOC-CTC-20061027-0004 v1.0

IP Commands

429

ip arpadd

Add an entry to the ARP cache of a broadcast Internet Protocol (IP) interface.

SYNTAX:

where:

EXAMPLE:

RELATED COMMANDS:

ip arpadd

intf =
ip =
[hwaddr = ]

intf

The IP interface name.

REQUIRED

ip

The IP address (or range) of the entry to be added to the Address
Resolution Protocol (ARP) cache.

REQUIRED

hwaddr

The hardware address (for example the Ethernet MAC address) of the
entry to be added.

OPTIONAL

=>ip arplist
Interface

IP-address

HW-address

Type

2

eth0

10.0.0.1

00:10:a4:ad:32:cf STATIC

=>ip arpadd intf=eth0 ip=10.0.0.2
=>ip arplist
Interface

IP-address

HW-address

Type

2

eth0

10.0.0.1

00:10:a4:ad:32:cf STATIC

2

eth0

10.0.0.2

00:00:00:00:00:00 DYNAMIC

=>ip arpadd intf=eth0 ip=10.0.0.3 hwaddr=00:a0:24:ae:66:e1
=>ip arplist
Interface

IP-address

HW-address

Type

2

eth0

10.0.0.1

00:10:a4:ad:32:cf STATIC

2

eth0

10.0.0.2

00:00:00:00:00:00 DYNAMIC

2

eth0

10.0.0.3

00:a0:24:ae:66:e1 STATIC

=>

ip arpdelete

Delete an entry from the ARP cache.

ip arplist

Display the ARP cache.