Creating, displaying, adding, deleting ARP entries and modifying ARP timers
An Address Resolution Protocol (ARP) entry allows an interface to communicate with another interface even if they are not in the same multicast group.
An ARP entry can be created manually using the arp -t ib command.
To display all ARP entries,
run the$ arp -t ib -a command. If you want
to display a specific number of ARP entries, you can specify
the number. For example, $ arp -t ib -a 5
displays
5 ARP entries.
$ arp -t ib -s IB interface name dlid <16 bits DLID> dqp
16 bits hex Destination Queue Pair Number
ipaddr <Destination IP Address>
where:
Item | Description |
---|---|
DLID | is the Destination Local ID. |
DGID | is the Destination Global ID. |
$ arp -t ib -d IP Address
arp –t ib –i <number in complete minutes to remove incomplete ARP entries>
-c <number in complete minutes to remove complete ARP entries>
The current default time for incomplete ARP entries to be removed is 3 minutes. For complete ARP entries, the default time is 24 hours. If the values need to be changed, the execution of the command will change only the values for all the current interfaces configured (or in defined state). If new interfaces are configured, the command must be executed again. The values are also changed in ODM.
The values can be changed dynamically to one specific interface by running the ifconfig command:
To change the incomplete ARP entry timer
ifconfig ib0 inc_timer 4
ifconfig ib0 com_timer 60