Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/monitor-traffic.html




monitor traffic interface ge-1/1/7.456 extensive no-resolve


Code Block
titlemx104
collapsetrue
root@mx104-1> monitor traffic interface ge-1/1/7.456 extensive no-resolve

...

 
Address resolution is OFF.

...


Listening on ge-1/1/7.456, capture size 1514 bytes

...



18:01:39.873306 Out

...

 
Juniper PCAP Flags [Ext], PCAP Extension(s) total length 22

...


Device Media Type Extension TLV #3, length 1, value: Ethernet (1)

...


Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14)

...


Device Interface Index Extension TLV #1, length 2, value: 40960

...


Logical Interface Index Extension TLV #4, length 4, value: 340

...


Logical Unit Number Extension TLV #5, length 4, value: 456

...


-----original packet-----

...


0c:86:10:c6:5b:85 > 0c:86:10:c6:5b:86, ethertype 802.1Q (0x8100), length 102: vlan 456, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 426

...


48, offset 0, flags [none], proto: ICMP (1), length: 84) 192.168.56.15 > 192.168.56.18: ICMP echo request, id 10710, seq 0, length 64

...


18:01:39.873995 In

...

 
Juniper PCAP Flags [Ext, no-L2, In], PCAP Extension(s) total length 22

...


Device Media Type Extension TLV #3, length 1, value: Ethernet (1)

...


Logical Interface Encapsulation Extension TLV #6, length 1, value: Ethernet (14)

...


Device Interface Index Extension TLV #1, length 2, value: 40960

...


Logical Interface Index Extension TLV #4, length 4, value: 340

...


Logical Unit Number Extension TLV #5, length 4, value: 456

...


-----original packet-----

...


PFE proto 2 (ipv4): (tos 0x0, ttl 64, id 42651, offset 0, flags [none], proto: ICMP (1), length: 84) 192.168.56.18 > 192.168.56.15: I

...


CMP echo reply, id 10710, seq 0, length 64






EX switch
DHCP

monitor traffic interface ge-0/0/1 layer2-headers matching "port 67"
monitor traffic interface ge-0/0/1 layer2-headers matching "port 67" detail


Layer2 Headermonitor traffic interface ge-0/0/1 layer2-headers
monitor traffic interface ge-0/0/1 layer2-headers detail