D-Link CLI Reference Guide
Page 148
arp
The
arp
Global Configuration mode command adds a permanent entry in the Address Resolution Protocol (ARP)
cache. To remove an entry from the ARP cache, use the
no
form of this command.
Syntax
arp
ip_addr hw_addr
{
ethernet
i
nterface-number
|
vlan
vlan-id
|
port-channel
port-channel number.
}
no arp
ip_addr
{
ethernet
i
nterface-number
|
vlan
vlan-id
|
port-channel
port-channel number.
}
Parameters
•
ip_addr
— Valid IP address or IP alias to map to the specified MAC address.
•
hw_addr
— Valid MAC address to map to the specified IP address or IP alias.
•
interface-number
— Valid Ethernet port.
•
vlan-id
— Valid VLAN number
.
•
port-channel number.
— Valid
port-channel number.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
The software uses ARP cache entries to translate 32-bit IP addresses into 48-bit hardware addresses. Because
most hosts support dynamic resolution, static ARP cache entries do not generally have to be specified.
Example
The following example adds IP address 198.133.219.232 and MAC address 00:00:0c:40:0f:bc to the ARP table.
Console(config)#
arp
198.133.219.232 00:00:0c:40:0f:bc
ethernet
1/6
Summary of Contents for DXS-3227 - xStack Switch - Stackable
Page 12: ...Page 11 ...
Page 46: ...ACL Commands Page 45 ...
Page 68: ...Address Table Commands Page 67 ...
Page 124: ...Ethernet Configuration Commands Page 123 ...
Page 134: ...GVRP Commands Page 133 ...
Page 144: ...IGMP Snooping Commands Page 143 ...
Page 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Page 166: ...IP Addressing Commands Page 165 ...
Page 186: ...Line Commands Page 185 ...
Page 194: ...Management ACL Commands Page 193 ...
Page 200: ...PHY Diagnostics Commands Page 199 ...
Page 208: ...Port Monitor Commands Page 207 ...
Page 216: ...Power over Ethernet Commands Page 215 ...
Page 272: ...RMON Commands Page 271 ...
Page 334: ...Spanning Tree Commands Page 333 ...
Page 428: ...VLAN Commands Page 427 ...
Page 466: ...802 1x Commands Page 465 ...