Configuring Gratuitous Arp; Displaying And Debugging Arp - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

When most clients acquire IP addresses through DHCP and some clients use static IP addresses,
you need to enable DHCP snooping and configure static IP binding entries on the switch. These
functions can cooperate with ARP attack detection to check the validity of packets. For more
information about DHCP snooping, refer to DHCP Operation in this manual.
Generally, the uplink port of a switch is configured as a trusted port.
Before enabling ARP restricted forwarding, make sure you have enabled ARP attack detection and
configured ARP trusted ports.
You are not recommended to configure ARP attack detection on the ports of an aggregation group.
Currently, the VLAN ID of an IP-to-MAC binding configured on a port of an S5100-SI/EI series
Ethernet switch is the same as the default VLAN ID of the port. If the VLAN tag of an ARP packet is
different from the default VLAN ID of the receiving port, the ARP packet cannot pass the ARP
attack detection based on the IP-to-MAC bindings.

Configuring Gratuitous ARP

Follow these steps to configure gratuitous ARP:
To do...
Enter system view
Enable the gratuitous ARP
packet learning function
The sending of gratuitous ARP packets is enabled as long as an S5100-SI/EI switch operates. No
command is needed for enabling this function. That is, the device sends gratuitous ARP packets
whenever a VLAN interface is enabled (such as when a link is enabled or an IP address is configured
for the VLAN interface) or whenever the IP address of a VLAN interface is changed.

Displaying and Debugging ARP

To do...
Display specific ARP mapping
table entries
Display the ARP mapping
entries related to a specified
string in a specified way
Display the number of the ARP
entries of a specified type
Use the command...
system-view
gratuitous-arp-learning
enable
Use the command...
display arp [ static | dynamic |
ip-address ]
display arp [ dynamic | static ]
| { begin | include | exclude }
regular-expression
display arp count [ [ dynamic
| static ] [ | { begin | include |
exclude } regular-expression ] |
ip-address ]
1-7
Remarks
Optional
Enabled by default.
Remarks
Available in any view

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents