Zte ZXR10 8900 Series Command Manual page 41

10g routing switch
Hide thumbs Also See for ZXR10 8900 Series:
Table of Contents

Advertisement

Parameter
dip2
<ipaddress4>
ipproto
tcp|udp|icmp
sport1
<port1>
sport2
<port2>
dport1
<port3>
dport2
<port4>
type1
<port5>
type2
<port6>
To add one packet capture rule on eth0 port, execute the
Example
following command.
is 500K, tcp packets sent from 192.168.83.2-192.168.83.200
(MAC 00:08:2E:1A:06:80)
(MAC 00:08:2D:1A:19:80) need to be captured with source port
to be 4000-5000 and destination port to be 8000-9000.
# dbfilt add maxlen 500 dev eth0 smac 00:08:2E:1A:06:80
dmac 00:08:2D:1A:19:80 l2proto ip sip1 192.168.83.2 sip2
192.168.83.200 dip1 192.168.1.163 dip1 192.168.1.225
ipproto tcp sport1 4000 sport2 5000 dport1 8000 dport2
9000
Description
This sets the end address of packet destination
IP.
This is one string, indicating IP address, in
format of A.B.C.D.
This sets protocol type. Three options are
available: tcp, udp and icmp.
Here tcp indicates TCP protocol, udp indicates
UDP protocol and icmp indicates ICMP
protocol. When selecting tcp or udp, user also
needs to set source port and destination port
of packet; when selecting ICMP, user needs
to set ICMP type code.
This sets the start port of packet source
port (this parameter needs being set when
selecting tcp or udp as protocol type).
This is one number, indicating port id.
This sets the end port of packet source
port (this parameter needs being set when
selecting tcp or udp as protocol type).
This is one number, indicating port id.
This sets the start port of packet destination
port (this parameter needs being set when
selecting tcp or udp as protocol type).
This is one number, indicating port id.
This sets the end port of packet destination
port (this parameter needs being set when
selecting tcp or udp as protocol type).
This is one number, indicating port id.
This sets the start port of ICMP port (this
parameter needs being set when selecting
ICMP as protocol type).
This is one number, indicating ICMP port id.
This sets the end port of ICMP port (this
parameter needs being set when selecting
ICMP as protocol type).
This is one number, indicating ICMP port id.
In this rule, the max length of packet
Confidential and Proprietary Information of ZTE CORPORATION
to
192.168.1.163-192.168.1.225
Chapter 3 debug
25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents