Topic: tech juniper general next

tech juniper general > Logging Commands

Juniper Logging Commands

Juniper ‘term mon’ equivalent;

monitor start /var/log/messages

To stop output;

monitor stop

OSPF Debug etc.

As a minimum;

set protocols ospf traceoptions
file ospf-log
set protocols ospf traceoptions file size 10k
set protocols ospf traceoptions file files 5
set protocols ospf traceoptions flag event

Add as needed;

set protocols ospf traceoptions flag lsa-ack
set protocols ospf traceoptions flag database-description
set protocols ospf traceoptions flag hello
set protocols ospf traceoptions flag lsa-update
set protocols ospf traceoptions flag lsa-request
set protocols ospf traceoptions flag error

To view;

show log ospf-log