Solved

Regarding command “deactivate snmp traceoptions” in Juniper

Posted on 2016-11-14
3
61 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 29

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 29

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WatchGuard T50 - Internet Priority Based on VLAN or User 1 78
Cisco 3560 Switch with Multiple Gateways 10 83
Setting up static routes to  sonicwll 4 94
Ping in Fortigate 2 40
New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
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…

730 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