198
C
HAPTER
25: ARP C
ONFIGURATION
By sending gratuitous ARP packets, a network device can:
■
Determine whether or not IP address conflicts exist between it and other network
devices.
■
Trigger other network devices to update its hardware address stored in their
caches.
When the gratuitous ARP packet learning function is enabled on a switch and the
switch receives a gratuitous ARP packet, the switch updates the existing ARP entry
(contained in the cache of the switch) that matches the received gratuitous ARP
packet using the hardware address of the sender carried in the gratuitous ARP packet.
A switch operates like this whenever it receives a gratuitous ARP packet.
ARP Configuration
ARP entries in an S4200G series Ethernet switch are classified into static entries and
dynamic entries, as described in Table 166.
Adding a Static ARP
Mapping Entry Manually
CAUTION:
Static ARP mapping entries are valid as long as the Ethernet switch operates. But
operations that invalidate ARP entries, such as changing/removing VLAN interfaces,
removing VLANs, or removing ports from VLANs, may cause the corresponding ARP
entries being removed automatically.
As for the
arp static
command, the value of the vlan-id argument must be the ID of
an existing VLAN, and the port identified by the interface-type and interface-number
arguments must belong to the VLAN.
Configuring the ARP
Aging Timer for
Dynamic ARP Entries
The ARP aging timer applies to all dynamic ARP mapping entries.
Table 166
ARP entries
ARP entry
Generation Method
Maintenance Mode
Static ARP entry
Manually configured
Manual maintenance
Dynamic ARP entry
Dynamically generated
ARP entries of this type age with
time. The aging period is set by the
ARP aging timer.
Table 167
Add a static ARP mapping entry manually
Operation
Command
Description
Enter system view
system-view
Add a static ARP
mapping entry
manually
arp static
ip-address mac-address
[
vlan-id
interface-type
interface-number ]
Required
The ARP mapping table is empty
when a switch is just started. And
the address mapping entries are
created by ARP.
Table 168
Configure the ARP aging timer for dynamic ARP entries
Operation
Command
Description
Enter system view
system-view
Configure the ARP
aging timer
arp timer aging
aging-time
Optional
By default, the ARP aging timer is
set to 20 minutes.
Summary of Contents for 3CR17660-91
Page 10: ...8 CONTENTS ...
Page 14: ...4 ABOUT THIS GUIDE ...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM ...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS ...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION ...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION ...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION ...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION ...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT ...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET ...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION ...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION ...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION ...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION ...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION ...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES ...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION ...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging ...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER ...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING ...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging ...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST ...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS ...