show arpinspection access-list
17-24 DHCP Snooping and Dynamic ARP Inspection
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
ARPACLsareusedtodefinestaticmappingsforDAI.ARPACLsarecompletelyindependentof
ACLsusedforQoS.Amaximumof100ARPACLscanbeconfigured.WithinanACL,a
maximumof20rulescanbeconfigured.
AstaticmappingassociatesanIPaddresstoaMACaddress
onaVLAN.DAIconsultsitsstatic
mappingsbeforeitconsultstheDHCP snoopingbindingsdatabase—thus,staticmappingshave
precedenceoverDHCP snoopingbindings.
Example
ThisexamplecreatesanACLnamedstaticARPandcreatesapermitruleforIPaddress
192.168.1.10.Then,theACLisassignedtoaVLANasastaticmapping.
C2(su)->set arpinspection filter staticARP permit ip host 192.168.1.10 mac host
00:01:22:33:44:55
C2(su)->set arpinspection filter staticARP vlan 10 static
show arpinspection access-list
UsethiscommandtodisplayARPaccesslistconfigurationinformation.
Syntax
show arpinspection access-list [acl-name]
Parameters
Defaults
IfaspecificACLisnotspecified,informationaboutallconfiguredARPACLsisdisplayed.
Mode
Switchcommand,read‐write.
Example
ThisexampledisplaysinformationabouttheARPACLnamedstaticARP.
C2(su)->show arpinspection access-list staticARP
machost
sender‐macaddr
SpecifiestheMACaddressintherulebeingcreated.
vlanvlan‐range SpecifiestheVLANorVLANstowhichthisARPACLisassigned.
static (Optional)SpecifiesthatthisARPACLconfiguresstaticmappingsfor
theVLANorVLANs.
acl‐name (Optional)SpecifiestheARPACLtodisplay.