ZXR102900ESeriesCongurationGuide
CommandFunction
zte(cfg)#setarp-inspectionvalidate{ip|dst-mac|
src-mac}{enable|disable}
Enablesordisablestheinspection
ofeacheldofanARPpacket.
zte(cfg)#setarp-inspectionvlan<vlanlist>{enable|disable}EnablesordisablesDAIfunction
basedontheVLAN.
zte(cfg)#setarp-inspectionport<portlist>{trust|untrust}Setsaporttoatrustedoruntrusted
port.
zte(cfg)#setarp-inspectionport<portlist>limit{<1-100>|
infinite}
SetsthemaximumnumberofARP
packetsintheunittime.
showarp-inspection(allcongurationmodes)DisplaysDAIfunctionconguration
information.
DAICongurationInstance
lCongurationDescription
WhenDHCPsnoopingisenabled,checkARPpacketvalidityandthecorresponding
relationbetweenMAC,IPandVLAN.Anillegalpacketisdropped,andthespeedof
sendingARPpacketsonanon-trustedporttotheCPUislimited.SeeFigure5-19.
Figure5-19DAICongurationInstanceTopology
lCongurationProcedure
zte(cfg)#setdhcpsnooping-and-option82enable
zte(cfg)#setdhcpsnoopingaddport49,50
zte(cfg)#setdhcpport49client
zte(cfg)#setdhcpport50server
zte(cfg)#showdhcpsnooping
DHCPsnoopingisenabledonthefollowingport(s):
PortIdPortType
--------------
49Client
50Server
zte(cfg)#setarp-inspectionvlan1enable
zte(cfg)#setarp-inspectionport49untrust
5-70
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential