ZXR108900SeriesCommandManual(FWVolume)
dbfiltmodify
Command
Function
Thiscommandisusedtomodifyonepacketcapturerule.
CommandFormatdbfiltmodifyid<number1>maxlen<number2>dev
<string1>smac<macaddress1>dmac<macaddress2>l2proto
<arp|ip|number3>[sip1<ipaddress1>sip2<ipaddress2>
dip1<ipaddress3>dip2<ipaddress4>ipproto<tcp|udp|icmp
|number3>sport1<port1>sport2<port2>dport1<port3>
dport2<port4>[type1<port5>type2<port6>]]
Parameter
Description
Parameter
Description
modifyThismodifiesonepacketcapturerule.
id
ThisspecifiestheIDofruletobemodified.
<number1>
Thisisonenumber,indicatingIDofpacket
capturerule.
maxlen
Thismodifiespacketlength.
<number2>Thisisonenumber,whichispacketlength.
dev
Thismodifiestheinterfacethatcaptures
packet.
<string1>
Thisisonestring,indicatinginterfacename.
smac
ThismodifiessourceMACaddressofpacket.
<macaddress1>Thisisonestring,indicatingMACaddress,in
formatof00:00:00:00:00:00.
dmac
ThismodifiesdestinationMACaddressof
packet.
<macaddress2>Thisisonestring,indicatingMACaddress,in
formatof00:00:00:00:00:00.
l2proto
ThisspecifiesthetypeofprotocoltobeL2
protocol.
arp|ip|number3
WhensettingIPtypeforuser,italsoneeds
tosetsource/destinationIPandotherdata
ofpacket.
sip1
Thismodifiesthestartaddressofpacket
souceIP.
<ipaddress1>Thisisonestring,indicatingIPaddress,in
formatofA.B.C.D.
sip2
Thismodifiestheendaddressofpacketsouce
IP.
<ipaddress2>Thisisonestring,indicatingIPaddress,in
formatofA.B.C.D.
dip1
Thismodifiesthestartaddressofpacket
destinationIP.
<ipaddress3>Thisisonestring,indicatingIPaddress,in
formatofA.B.C.D.
dip2
Thismodifiestheendaddressofpacket
destinationIP.
26ConfidentialandProprietaryInformationofZTECORPORATION