Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

monitor pfe traffic interface

Syntax

Description

Display packet headers or packets that are received and sent from the packet forwarding engine for monitoring and verifying the functionality of on-box packet sniffing capabilities.

Options

absolute-sequence

Display absolute TCP sequence numbers.

brief | detail | extensive

Display the specified level of output.

byte-offset

Display the specified level of output.

count count

Specify the number of packet headers to display (0 through 1,000,000).

egress

Egress data traffic monitoring.

egress-interface

Specify the egress interface where loopback is enabled.

ingress

Ingress data traffic monitoring.

inner-dmac | inner-dst-ipv4 | inner-smac | inner-src-ipv4

Display the inner header addresses to monitor traffic and packet headers.

layer2-headers

Display the link-level header on each line.

no-domain-names

Suppress the display of the domain portion of hostnames.

no-promiscuous

Do not put the interface into promiscuous mode.

no-resolve

Do not attempt to convert host addresses to names.

no-timestamp

Suppress timestamps on displayed packets.

outer-dmac | outer-dst-ipv4 | outer-smac | outer-src-ipv4

Display the outer header addresses to monitor traffic and packet headers.

print-ascii

Display each packet in ASCII format.

print-hex

Display each packet in hexadecimal format.

resolve-timeout timeout

Amount of time the router or switch waits for each reverse lookup before timing out. You can set the timeout for 1 through 4,294,967,295 seconds.

size size

Snap length of the frame to be captured, in bytes.

vlan-id

VLAN identifier to monitor traffic.

vnid

VXLAN identifier to monitor traffic.

write-file filename

Write packets to the file specified.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To view this statement in the configuration.

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

monitor pfe traffic interface interface-name ingress outer-dmac destination MAC address

monitor pfe traffic interface interface-name egress egress-interface interface-name vnid 1000 byte-offset 12

Release Information

Command introduced before Junos OS Release 24.4R1.