You are capturing logs to troubleshoot an issue with IS-IS; however, the logs are Increasing In size too quickly. Referring to the exhibit, which configuration statement would solve this problem?
A.
delete protocols isis traceoptions flag normal
B.
set protocols isis traceoptions flag hello detail
C.
delete protocols isis traceoptions file is-is-logs.log
Why not A?
Ref: traceoptions (Protocols IS-IS) | Junos OS | Juniper Networks
"traceoptions (Protocols IS-IS)
...
Options
...
Global Tracing Flags
...
normal—All normal operations, including adjacency changes
..."
Wouldn't it be useful to avoid tracing "normal" operation and log only "hello" and IS-IS protocol packets, to save disk space and have lighter log files?
link : https://www.juniper.net/documentation/us/en/software/junos/is-is/topics/ref/statement/traceoptions-edit-protocols-isis.html
IS-IS Protocol-Specific Tracing Flags-
flag-modifier—(Optional) Modifier for the tracing flag. You can specify one or more of these modifiers: - detail
D. set protocols isis traceoptions file files 10
This configuration statement limits the number of log files that are stored for IS-IS tracing to 10. By specifying a maximum number of log files, you can control the amount of storage space consumed by the logs and prevent them from growing indefinitely.
Option B would solve this problem: set protocols isis traceoptions flag hello detail. By specifying the detail flag, only detailed logs related to IS-IS hello messages will be captured, reducing the amount of data being logged and the rate at which the logs increase in size.
The default value for the number of log files stored for IS-IS tracing is not 10. The default value is 5. Therefore, if you want to limit the number of log files to the default value, you don't need to add any additional configuration statement.
If you want to change the default value and set it to 10, you can use the following configuration statement:
set protocols isis traceoptions file files 10
This configuration statement will limit the number of log files stored for IS-IS tracing to 10.
According to this, the default is 10, not 5.
https://www.juniper.net/documentation/us/en/software/junos/is-is/topics/ref/statement/traceoptions-edit-protocols-isis.html
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
GreatDane
Highly Voted 1 year, 11 months agosticksnfingers
Most Recent 7 months, 1 week agoMayTin
10 months agoNasredd
1 year, 4 months agoleecharxos
1 year, 2 months agoCradical
1 year, 6 months agoEngNawaf
1 year, 7 months ago[Removed]
1 year, 7 months agoHerrmann
1 year, 9 months agoEngNawaf
1 year, 7 months agoCradical
1 year, 6 months agoRTL_dude
1 year, 4 months agojj970us
1 year, 10 months agoFathySalah
1 year, 11 months agoSPARNABUS
1 year, 11 months ago