How to do a packet capture of monitor traffic interface

monitor traffic interface <interface-name> displays the packet send/received by Routing Engine in that interface.

For example, in below output we can see the STP packets received and LLDP packets send out of the interface ge-0/0/0.

Note :that monitor traffic interface can be used only for kernel traffic. For transit traffic we have to rely on port mirroring

We can capture the output of Monitor traffic interface in a packet capture. This can be helpful in troubleshooting

To collect the output of monitor traffic interface as a packet capture use the following syntax monitor traffic interface <interface-name> write-file <location to which file needs to be saved/Name of file>

About the author

James Palmer

Leave a Comment