Configure ARP entry update upon MAC address change on S series switch

principals of ARP entry update upon MAC address change on S series switches (except S1700):
Every device on a network has an IP address, which is used to communicate with other devices.
On an Ethernet, hosts, switches, or routers send and receive Ethernet data frames based on MAC addresses.
ARP provides mappings between IP addresses and MAC addresses. When devices on different network segments communicate, ARP entries must be used to map IP addresses to correct MAC addresses and outbound interfaces.

If you change the location of a host to connect the host to another interface of a switch, the host's MAC address will be learned on this interface and the outbound interface corresponding to the MAC address will change. However, the outbound interface in the ARP entry will be updated only after the aging time expires. Before the aging time expires, the switch will use the incorrect ARP entry for communication.

After the mac-address update arp command is configured in the system view, the outbound interface in an ARP entry can be updated based on the outbound interface in an MAC address entry.

Precautions:
1. This command is valid only for dynamic ARP entries instead of static ARP entries.
2. The mac-address update arp command will not take effect after the arp anti-attack entry-check enable command is executed to configure fixed ARP.
3. After ARP entry update upon MAC address change is enabled, an ARP entry is updated only when the outbound interface in the corresponding MAC address entry changes.
4. Configuring ARP entry update upon MAC address change will cause the gratuitous ARP packet discarding function to become ineffective.
5. S series switches running versions earlier than V100R006C00 do not support ARP entry update upon MAC address change.

Scroll to top