Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Regarding command “deactivate snmp traceoptions” in Juniper

Posted on 2016-11-14
3
Medium Priority
?
124 Views
Last Modified: 2016-11-16
Hi What will happen if the command “deactivate snmp traceoptions” is added in Juniper EX?
I think it would disable all SNMP function for this router, do you think so? Thank you
0
Comment
Question by:eemoon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 31

Expert Comment

by:Predrag
ID: 41886749
That should keep settings in configuration, however it should mark snmp as inactive:snmp the same way as you would shutdown interface.
Example1
Example2
 - not with snmp, but it is explanation what deactivate is doing.
However traceoptions are equal to Cisco debugging.
So, I guess it should just turn off snmp debugging, not to turn off snmp completely, but I am not sure. :)
SRX Getting Started -- Configuring Traceoptions for Debugging and Trimming Output
Stop Traceoptions

    The debug trace can be stopped in a couple different ways.
        Enter the “deactivate <option> traceoptions” to stop the trace.  This is a good option if you need to activate the trace in the future.  Use the 'activate <option>' to start capturing debugs again.
        # deactivate interfaces traceoptions
        # deactivate security flow traceoptions
        # commit

        OR
        Enter the "delete <option> traceoptions” command to delete.
        # delete interfaces traceoptions
        # delete security flow traceoptions
        # commit

    You can remove the log with the operational mode command “file delete interface.txt”.
    You can clear the contents of the file with the command “clear log interface.txt”.
0
 

Author Comment

by:eemoon
ID: 41886996
Thank you so much for your fast reply.
So, after I add  command “deactivate snmp traceoptions” , the below commands would lose their functionality, can we say it like this?

set snmp traceoptions file files 2
set snmp traceoptions file size 10m
set snmp traceoptions file world-readable
set snmp traceoptions flag all
set snmp traceoptions flag pdu
0
 
LVL 31

Accepted Solution

by:
Predrag earned 2000 total points
ID: 41887327
Yes. I tested it in VM. :)

normal
after-deactivate
So, if picture is worth a 1000 words, more than 2000 words in this post.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question