xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
427
Example Usage:
To enable send a gratuitous ARP request when a duplicate IP is detected:
D G S - 3 4 2 6 : 5 # c o n f i g g r a t u i t o u s _ a r p s e n d d u p l i c a t e _ i p _ d e t e c t e d e n a b l e
C o m m a n d : c o n f i g g r a t u i t o u s _ a r p s e n d d u p l i c a t e _ i p _ d e t e c t e d e n a b l e
S u c c e s s .
D G S - 3 4 2 6 : 5 #
config gratuitous_arp learning
Purpose
Used to enable/disable learning of ARP entries in the ARP cache based on the received
gratuitous ARP packets.
Syntax
config gratuitous_arp learning [enable|disable]
Description
The command is used to enable or disable updating the ARP cache based on the
received gratuitous ARP packets. The gratuitous ARP packet is sent by a source IP
address that is identical to the IP that the packet is queries for. Note that, with the
gratuitous ARP learning, the system will not learn new entry but only do the update on the
ARP table based on the received gratuitous ARP packet. By default, the state is disabled.
Parameters
enable
−
Enable learning of ARP entry based on the received gratuitous ARP packet.
disable
−
Disable learning of ARP entry based on the received gratuitous ARP packet.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable learning of ARP entry based on the received gratuitous ARP packet:
D G S - 3 4 2 6 : 5 # c o n f i g g r a t u i t o u s _ a r p l e a r n i n g e n a b l e
C o m m a n d : c o n f i g g r a t u i t o u s _ a r p l e a r n i n g e n a b l e
S u c c e s s .
D G S - 3 4 2 6 : 5 #
enable gratuitous_arp
Purpose
Used to enable gratuitous ARP trap and log state.
Syntax
enable gratuitous_arp {ipif <ipif_name 12>} {trap |log} (1)
Description
The command is used to enable gratuitous ARP trap and log state. The switch can trap
and log the IP conflict event to inform the administrator. By default, trap is disabled and
event log is disabled.
Parameters
ipif <ipif_name 12>
−
The name of the IP interface the end node or station for which the
ARP table entry was made, resides on.
{trap|log}
−
Select gratuitous ARP trap and/or log state.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable system interface’s gratuitous ARP log and trap
:
D G S - 3 4 2 6 : 5 # e n a b l e g r a t u i t o u s _ a r p S y s t e m t r a p l o g
C o m m a n d : e n a b l e g r a t u i t o u s _ a r p S y s t e m t r a p l o g
S u c c e s s .
D G S - 3 4 2 6 : 5 #