-
Access global configuration
mode.
device# configure terminal
-
Create an ACL to enable ARP
Guard.
device(config)# mac access-list extended arp_guard_enable_1
This example creates an ACL
named arp_guard_enable_1.
-
In the ACL, create the rules
that you want to implement.
device(conf-macl-ext)# permit host 0014.2211.1111 any vlan 100 arp arp-guard
device(conf-macl-ext)# permit host 0014.2211.1112 any vlan 101 arp arp-guard
device(conf-macl-ext)# deny any any arp
device(conf-macl-ext)# permit any any
-
Access interface configuration
mode.
device(conf)# interface ethernet 1/2
-
Access Layer 2 mode.
device(conf-if-eth-1/2)# switchport
-
Specify the ACL and the in
direction.
device(conf-if-eth-1/2)# mac access-group arp_guard_enable_1 in
The following example summarizes the commands in this
procedure.
device# configure terminal
device(config)# mac access-list extended arp_guard_enable_1
device(conf-macl-ext)# permit host 0014.2211.1111 any vlan 100 arp arp-guard
device(conf-macl-ext)# permit host 0014.2211.1112 any vlan 101 arp arp-guard
device(conf-macl-ext)# deny any any arp
device(conf-macl-ext)# permit any any
device(conf)# interface ethernet 1/2
device(conf-if-eth-1/2)# switchport
device(conf-if-eth-1/2)# mac access-group arp_guard_enable_1 in