How to check router logs on a Juniper router | Junos OS

If you are use to running Cisco commands, it can be frustrating when you find yourself on a Juniper router battling the Junos OS differences.

No fear, I have you back.

Here are some log commands to run which will help you with troubleshooting this bad boy juniper berry.


View error logs

show log messages | match error

Check log for chassis events

show log chassisd | no-more

Check log messages

show log messages | no-more

View log messages for an interface

show log messages | match <interface>
show log link.up.down | match <interface>

Check user log in history

show log user

Enjoy those logs.