How to set the debug file in juniper device for ospf
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 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
show log ospf-log | last 10
Feb 6 05:35:09.041161 OSPF hello from 194.154.4.28 (IFL 81, area 0.0.0.0) absorbed
Feb 6 05:35:09.046626 OSPF periodic xmit from 194.154.4.232 to 224.0.0.5 (IFL 81 area 0.0.0.0)
Feb 6 05:35:09.926405 OSPF periodic xmit from 194.154.4.232 to 224.0.0.5 (IFL 81 area 0.0.0.0)
Feb 6 05:35:09.951517 OSPF hello from 194.154.4.28 (IFL 81, area 0.0.0.0) absorbed
Feb 6 05:35:10.712453 OSPF hello from 194.154.4.28 (IFL 81, area 0.0.0.0) absorbed
Feb 6 05:35:10.893468 OSPF periodic xmit from 194.154.4.232 to 224.0.0.5 (IFL 81 area 0.0.0.0)
NOTE
root@> show pfe route summary
================ master ================
IPv4 Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 109 10024
1 12 1100
2 6 548
3 9 824
5 5 456
MPLS Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 5 456
7 1 88
IPv6 Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 4 388
1 4 388
5 4 388
CLNP Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 1 88
5 1 88
MSTP-instance Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 1 88
root@>
The Routing Engine copies the forwarding table to the Packet Forwarding Engine, the part of the router that is responsible for forwarding packets. To display the entries in the Packet Forwarding Engine's forwarding table, use the show pfe route command.
================ master ================
IPv4 Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 109 10024
1 12 1100
2 6 548
3 9 824
5 5 456
MPLS Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 5 456
7 1 88
IPv6 Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 4 388
1 4 388
5 4 388
CLNP Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 1 88
5 1 88
MSTP-instance Route Tables:
Index Routes Size(b)
-------- ---------- ----------
Default 1 88
root@>