Example: Configuring ARP fast-reply
Network configuration
As shown in Figure 7, all clients are in VLAN 2, and access the network through the switch. They have obtained IP addresses through DHCP.
Enable ARP snooping and ARP fast-reply for VLAN 2. The switch directly returns an ARP reply without broadcasting received ARP requests in the VLAN.
Figure 7: Network diagram
Procedure
IMPORTANT: By default, interfaces on the device are disabled (in ADM or Administratively Down state). To have an interface operate, you must use the undo shutdown command to enable that interface. | ||
# Enable ARP snooping for VLAN 2 on the switch.
<Switch> system-view [Switch] vlan 2 [Switch-vlan2] arp snooping enable
# Enable ARP fast-reply for VLAN 2 on the switch.
[Switch-vlan2] arp fast-reply enable [Switch-vlan2] quit