Solved

Regarding command “deactivate snmp traceoptions” in Juniper

Posted on 2016-11-14
3
20 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 26

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 26

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now