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
Solved

Regarding command “deactivate snmp traceoptions” in Juniper

Posted on 2016-11-14
3
55 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 28

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 28

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VoIP and Data on single switch, with SonicWall 6 71
WAN Site Edge Routers 15 62
Classlful vs Classless subneting 18 73
SSG50 Firewall Rules 17 28
It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
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…

839 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