RtArp
RtArp displays and modifies the IP-to-Physical address translation tables used by the address resolution protocol (ARP) and the IPv6 Neighbor Discovery protocol.
Usage
RtArp uses these commands.
To add an entry:
Rtssrun RtArp.rtss -s inet_addr
eth_addr interface [-t
TTL]
To delete an entry:
Rtssrun RtArp.rtss -d inet_addrinterface
To display the current entries:
Rtssrun RtArp.rtss -a
Note: RtArp will return 1 if any errors occur while executing.
Options
| Option | Description |
|---|---|
|
-a |
Displays the current ARP table entries and the IPv6 Neighbor Discovery table entries. |
|
-d |
Deletes the host specified by inet_addr. Note: Only IPv4 addresses can be deleted with this option. |
|
-s |
Adds the host and associates the IP Address inet_addr with the Physical Address eth_addr. The Physical Address is given as 6 hexadecimal bytes separated by hyphens or colons. The Unicast Address must be on the same Subnet as the interface. Note: Only IPv4 addresses can be added with this option. |
|
-t |
The duration, in seconds, that an entry will live. The default is 0, which results in a permanent static entry. To set a timeout value of 0xFFFFFFFF, set the value to -1. For example: Note: You can specify any number within the range of 1 and 4294967295. |
|
inet_addr |
Specifies an IPv4 Address in dotted decimal notation. |
|
eth_addr |
Specifies a Physical Address. The Physical Address is given as 6 hexadecimal bytes separated by hyphens. |
|
interface |
The interface whose address translation table should be modified. |
Examples
Adding an entry:
Rtssrun RtArp.rtss -s 192.168.21.2 11-22-33-44-55-66 RtI226
Rtssrun RtArp.rtss -s 192.168.21.2 11:22:33:44:55:66 RtI226
Deleting an entry:
Rtssrun RtArp.rtss -d 192.168.21.2 RtI226
Displaying the entries of the ARP table and the IPv6 Neighbor Discovery table:
Rtssrun RtArp.rtss -a
Related topics:
- RtTcpIpCtrl Utility
- RtIpConfig
- RtPing
- RtRoute