GS-4210-Series (V2) User Manual

Table Of Contents
Command Guide of GS-4210 Series
126
The example shows how to set interface gi1 to trust. You can verify settings by the following show ip arp inspection
interface command.
switch(config)# interface gi1
switch(config)# ip arp inspection trust
switch(config)# do show ip arp inspection interface gi1
Interfaces | Trust State | Rate (pps) | SMAC Check | DMAC Check | IP Check/Allow Zero |
------------+--------------+--------------+----------------|-----------------+-------------------------+
gi1 | Trusted | None | disabled | disabled | disabled/disabled
4.8.4 ip arp inspection validate
Command:
ip arp inspection validate src-mac
ip arp inspection validate dst-mac
ip arp inspection validate ip [allow-zeros]
no ip arp inspection validate src-mac
no ip arp inspection validate dst-mac
no ip arp inspection validate ip [allow-zeros]
Default:
Default is disabled of all validation
Mode:
Interface Configuration
Usage Guide:
Use the ip arp inspection validate command to enable validate function on interface.
The “src-mac” drop ARP requests and reply packets that arp-sender-mac and ethernet-source-mac is not match.
The “dst-mac drop ARP reply packets that arp-target-mac and ethernet-dst-mac is not match. The “ip drop ARP
request and reply packets that sender-ip is invalid such as broadcastmulticastall zero IP address and drop ARP
reply packets that target-ip is invalid. The “allow-zeros” means won’t drop all zero IP address. Use the no form of this
command to disable validation.