SGS-6340 Series User Manual

Table Of Contents
2. Display co
nfigurations about gratuitous ARP
Command Explanation
Admin, Global and VLAN Interface Mode
show ip gratuitous-arp [interface VLAN
<1-4094>]
To display configurations about gratuitous
ARP.
30.3 Gratuitous ARP Configuration Example
PC3 PC4 PC5
Switch
Interface vlan10
192.168.15.254
255.255.255.0
PC1 PC2
Figure 30
-1:
Gratuitous ARP Configuration Example
For the network to
pology shown in the figure above, interface VLAN10 whose IP address is
192.168.15.254 and network address mask is 255.255.255.0 in the switch system. Five PCs –
PC1, PC2, PC3, PC4, PC5 are connected to the interface. Gratuitous ARP can be enabled
through the following configuration:
1. Configure global gratuitous ARP
Switch(config)#ip gratuitous-arp 300
Switch(config)#exit
2. Configure interface gratuitous ARP
Switch(config)#interface vlan 10
Switch(Config-if-Vlan10)#ip gratuitous-arp 300
Switch(Config-if-Vlan10)#exit
Switch(config) #exit
30-58