5–12 MULTINET4 MULTI-PORT SERIAL SERVER & MANAGED SWITCH – INSTRUCTION MANUAL
THE CLI AND PROTOCOL MONITOR CHAPTER 5: THE CLI AND PROTOCOL MONITOR
MN4# monitor e3 filter display ip
MN4
# monitor e3 filter linenum 4
MN4
# monitor e3 set mode terse
MN4
# monitor e3 start
Monitor Started
The Protocol Monitor Command Set
The table below explains the commands available for configuring and operating the
Protocol Monitor when the MN4(monitor)# prompt is displayed or from the MN4# prompt
using a monitor prefix.
Table 5–9: Protocol Monitor Command Set
CMD Synopsis Description
filter filter [no]
params...
The param arguments to the filter command specify the types of
information to be included. Only one filter may be configured on a
single command line. In addition, only a single filter of each type
may be specified.
• dstip ipaddr – Display packets that have the matching
destination IP address in the IP header. The IP address
is specified in standard dotted notation, for example,
192.168.1.1.
• dstmac macaddr – Display packets that have the matching
destination MAC address in the Ethernet header. The
MAC address is specified as hex octets separated by
colons, for example, 00:20:61:54:3A:CD.
• dstport portnum – Display packets that have the matching
destination port in the TCP or UDP header. The port is
specified as an integer between 1 and 65535.
•
srcip ipaddr – Display packets that have the matching
source IP address in the IP header.
• srcmac macaddr – Display packets that have the matching
source MAC address in the Ethernet header.
•
srcport portnum – Display packets that have the matching
source port in the TCP or UDP header.
•
protocol icmp | tcp | udp – Display packets that have
the matching protocol specified in the IP header.
To cancel a previously specified filtering option precede the
specification with
no. For example:
MN4
(monitor)# filter no destip