ZXR108900SeriesCommandManual(FWVolume)
dbfilt
Thissetofcommandsareusedtomanagepacketcapturerulesof
FW.Usercanusethesecommandstoadd,modifyordeletepacket
capturerules.
dbfiltadd
Command
Function
Thiscommandisusedtoaddonepacketcapturerule.
CommandFormatdbfiltaddmaxlen<number1>dev<string1>smac<macaddr
ess1>dmac<macaddress2>l2proto<arp|ip|number2>[sip1
<ipaddress1>sip2<ipaddress2>dip1<ipaddress3>dip2<ipa
ddress4>ipproto<tcp|udp|icmp|number3>sport1<port1>
sport2<port2>dport1<port3>dport2<port4>[type1<por
t5>type2<port6>]]
Parameter
Description
Parameter
Description
addThisaddsonepacketcapturerule.
maxlenThissetspacketlength.
<number1>Thisisonenumber,whichispacketlength.
dev
Thisspecifiesinterfacename.
<string1>
Thisisonestring,indicatinginterfacename.
smac
ThissetssourceMACaddressofpacket.
<macaddress1>Thisisonestring,indicatingMACaddress,in
formatof00:00:00:00:00:00.
dmac
ThissetsdestinationMACaddressofpacket.
<macaddress2>Thisisonestring,indicatingMACaddress,in
formatof00:00:00:00:00:00.
l2proto
ThisspecifiesthetypeofprotocoltobeL2
protocol.
arp|ip|number2
WhensettingIPtypeforuser,italsoneeds
tosetsource/destinationIPandotherdata
ofpacket.
sip1
Thissetsthestartaddressofpacketsource
IP.
<ipaddress1>Thisisonestring,indicatingIPaddress,in
formatofA.B.C.D.
sip2
ThissetstheendaddressofpacketsouceIP.
<ipaddress2>Thisisonestring,indicatingIPaddress,in
formatofA.B.C.D.
dip1
Thissetsthestartaddressofpacket
destinationIP.
<ipaddress3>Thisisonestring,indicatingIPaddress,in
formatofA.B.C.D.
24ConfidentialandProprietaryInformationofZTECORPORATION