Chapter3debug
Parameter
Description
<ipaddress4>Thisisonestring,indicatingIPaddress,in
formatofA.B.C.D.
ipproto
Thismodifiesprotocoltype.Threeoptionsare
available:tcp,udpandicmp.
tcp|udp|icmpHeretcpindicatesTCPprotocol,udpindicates
UDPprotocolandicmpindicatesICMP
protocol.Whenselectingtcporudp,useralso
needstosetsourceportanddestinationport
ofpacket;whenselectingICMP,userneeds
tosetICMPtypecode.
sport1
Thismodifiesthestartportofpacketsource
port(thisparameterneedsbeingsetwhen
selectingtcporudpasprotocoltype).
<port1>
Thisisonenumber,indicatingportid.
sport2
Thismodifiestheendportofpacketsource
port(thisparameterneedsbeingsetwhen
selectingtcporudpasprotocoltype).
<port2>
Thisisonenumber,indicatingportid.
dport1
Thismodifiesthestartportofpacket
destinationport(thisparameterneedsbeing
setwhenselectingtcporudpasprotocol
type).
<port3>
Thisisonenumber,indicatingportid.
dport2
Thismodifiestheendportofpacket
destinationport(thisparameterneedsbeing
setwhenselectingtcporudpasprotocol
type).
<port4>
Thisisonenumber,indicatingportid.
type1
ThismodifiesthestartportofICMPport(this
parameterneedsbeingsetwhenselecting
ICMPasprotocoltype).
<port5>
Thisisonenumber,indicatingICMPportid.
type2
ThismodifiestheendportofICMPport(this
parameterneedsbeingsetwhenselecting
ICMPasprotocoltype).
<port6>
Thisisonenumber,indicatingICMPportid.
ExampleT omodifypacketcapturerulewhoseidis8224sothatthemax
lengthofpacketcanbe300K,executethefollowingcommand:
#dbfiltmodifyid8224maxlen300deveth0smac
00:08:2E:1A:06:80dmac00:08:2D:1A:19:80l2protoipsip1
192.168.83.2sip2192.168.83.200dip1192.168.1.163dip1
192.168.1.225ipprototcpsport14000sport25000dport1
8000dport29000
dbfiltdelete
Command
Function
Thiscommandisusedtodeleteonepacketcapturerule.
ConfidentialandProprietaryInformationofZTECORPORATION27