monitor traffic
Syntax
monitor traffic
<absolute-sequence>
<brief | detail | extensive>
<count count>
<interface interface-name>
<layer2-headers>
<matching matching>
<no-domain-names>
<no-promiscuous>
<no-resolve>
<no-timestamp>
<print-ascii>
<print-hex>
<resolve-timeout>
<size size>
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description
Display packet headers or packets received and sent from the Routing Engine.
NOTE:
Using the monitor traffic command can degrade router or switch
performance.
Delays from DNS resolution can be eliminated by using the no-resolve option.
Options
none
—(Optional) Display packet headers transmitted through fxp0. On a TX Matrix Plus
router, display packet headers transmitted through
em0
.
brief | detail | extensive
—(Optional) Display the specified level of output.
absolute-sequence
—(Optional) Display absolute TCP sequence numbers.
count
count
—(Optional) Specify the number of packet headers to display (0 through
1,000,000). The monitor traffic command quits automatically after displaying the
number of packets specified.
interface
interface-name
—(Optional) Specify the interface on which the
monitor traffic
command displays packet data. If no interface is specified, the
monitor traffic
command displays packet data arriving on the lowest-numbered interface.
layer2-headers
—(Optional) Display the link-level header on each line.
matching
matching
—(Optional) Display packet headers that match a regular expression.
Use matching expressions to define the level of detail with which the
monitor traffic
command filters and displays packet data.
Copyright © 2010, Juniper Networks, Inc.
3834
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...