Juniper JUNOS OS 10.3 - SOFTWARE Manual page 3931

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

Additional Information
Table 507: Match Conditions for the monitor traffic Command
Match
Type
Condition
Entity
host {address | hostname
net address
net addressmask mask
port [port-number
| port-name]
Copyright © 2010, Juniper Networks, Inc.
Chapter 135: Operational Mode Commands for General Network Management and Monitoring
—(Optional) Suppress the display of the domain portion of hostnames.
no-domain-names
With the
no-domain-names
only team for the hostname
—(Optional) Do not put the interface into promiscuous mode.
no-promiscuous
no-resolve
—(Optional) Suppress reverse lookup of the IP addresses.
—(Optional) Suppress timestamps on displayed packets.
no-timestamp
print-ascii
—(Optional) Display each packet in ASCII format.
—(Optional) Display each packet, except the link-level header, in hexadecimal
print-hex
format.
resolve-timeout timeout
—(Optional) Amount of time the router or switch waits for each
reverse lookup before timing out. You can set the timeout for between 1 and
4,294,967,295 seconds. The default is 4 seconds. To display each packet, use the
,
, or
print-ascii
print-hex
size size
—(Optional) Read but not display up to the specified number of bytes for each
packet. When set to
brief
for capturing IP, ICMP, UDP, and TCP packet data. When set to
output, the default packet size is 1514. The
displayed packets if the matched data exceeds the configured size.
In the
command, you can specify an expression to match by using the
monitor traffic
matching
option and including the expression in quotation marks:
monitor traffic matching "expression"
Replace
with one or more of the match conditions listed in Table 507 on
expression
page 3835.
Description
]
Matches packets that contain the specified address or hostname.
The
match condition can be prepended with the protocol match conditions
host
,
, or
arp
ip
rarp
Matches packets with source or destination addresses containing the specified
network address.
Matches packets containing the specified network address and subnet mask.
Matches packets containing the specified source or destination TCP or UDP port
number or port name.
In place of the numeric port address, you can specify a text synonym, such as
(179),
dhcp
option enabled, the
team.company.net
.
option.
extensive
output, the default packet size is 96 bytes and is adequate
monitor traffic
, or any of the directional match conditions.
(67), or
(53) (the port numbers are also listed).
domain
command displays
monitor traffic
and
detail
extensive
command truncates
bgp
3835

Advertisement

Table of Contents
loading

Table of Contents