CLI Reference Guide-R04

Table Of Contents
Chapter 9
| General Security Measures
ARP Inspection
– 365 –
ip arp inspection This command enables ARP Inspection globally on the switch. Use the no form to
disable this function.
Syntax
[no] ip arp inspection
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
When ARP Inspection is enabled globally with this command, it becomes active
only on those VLANs where it has been enabled with the ip arp inspection vlan
command.
When ARP Inspection is enabled globally and enabled on selected VLANs, all
ARP request and reply packets on those VLANs are redirected to the CPU and
their switching is handled by the ARP Inspection engine.
When ARP Inspection is disabled globally, it becomes inactive for all VLANs,
including those where ARP Inspection is enabled.
When ARP Inspection is disabled, all ARP request and reply packets bypass the
ARP Inspection engine and their manner of switching matches that of all other
packets.
Disabling and then re-enabling global ARP Inspection will not affect the ARP
Inspection configuration for any VLANs.
When ARP Inspection is disabled globally, it is still possible to configure ARP
Inspection for individual VLANs. These configuration changes will only become
active after ARP Inspection is globally enabled again.
Example
Console(config)#ip arp inspection
Console(config)#
ip arp inspection filter This command specifies an ARP ACL to apply to one or more VLANs. Use the no
form to remove an ACL binding. Use the no form to remove an ACL binding.
Syntax
ip arp inspection filter arp-acl-name vlan {vlan-id | vlan-range} [static]
no ip arp inspection filter arp-acl-name vlan {vlan-id | vlan-range}