Solved

Regarding command “deactivate snmp traceoptions” in Juniper

Posted on 2016-11-14
3
46 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
  • 2
3 Comments
 
LVL 27

Expert Comment

by:Predrag Jovic
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 27

Accepted Solution

by:
Predrag Jovic earned 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
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…

831 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