Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[WLC] How to configure and use Net-SNMP (Windows)

0

0

Article ID: KB25949 KB Last Updated: 03 Oct 2012Version: 1.0
Summary:
This article provides information on how to configure and use Net-SNMP with Juniper (Trapeze) MIBs.

Symptoms:
Net-SNMP is a suite of freeware software for using and deploying the SNMP protocol (v1, v2c and v3).
Cause:

Solution:
  1. Install Net-SNMP:

    Obtain the installation package from the Net-SNMP site and install by using all default settings. By default, Net-SNMP is installed under C:\usr.

  2. Configuration:

    1. Open a DOS prompt window and type snmpconf –i:

      If the following message is displayed, the Perl module must be installed:


    2. Retype snmpconf –i and then select 1: C:/usr/etc/snmp/snmp.conf to read the default setting:


    3. Select 1: snmpd.conf; this is the configuration file for the Net-SNMP SNMP agent:


    4. Select 1: Access Control Setup:


    5. Select 3: a SNMPv1/SNMPv2c read-only access community name:


    6. Type public as the community string (you can enter any string) and then press the Enter key for both to accept this community name from and should be restricted to:


    7. Select 4: a SNMPv1/SNMPv2c read-write access community name:


    8. Type public as the community string and then press the Enter key for both to accept this community name from and should be restricted to:


    9. To exit and save snmpd.conf, type finished > finished > quit:


    10. Download the MIBs from the Juniper Web Portal and copy all MIB files (*.my) to the default MIB directory, which should be under c:/usr/share/snmp/mibs.

    11. Type the following lines in the snmp.conf file, which should be under c:/usr/etc/snmp:
      mibs +TRAPEZE-NETWORKS-AP-CONFIG-MIB
      mibs +TRAPEZE-NETWORKS-AP-IF-MIB
      mibs +TRAPEZE-NETWORKS-AP-STATUS-MIB
      mibs +TRAPEZE-NETWORKS-AP-TC
      mibs +TRAPEZE-NETWORKS-AP-UNCONFIGURED-MIB
      mibs +TRAPEZE-NETWORKS-BASIC-MIB
      mibs +TRAPEZE-NETWORKS-BASIC-TC
      mibs +TRAPEZE-NETWORKS-CLIENT-SESSION-MIB
      mibs +TRAPEZE-NETWORKS-CLIENT-SESSION-TC
      mibs +TRAPEZE-NETWORKS-CLUSTER-MIB
      mibs +TRAPEZE-NETWORKS-EXTERNAL-SERVER-MIB
      mibs +TRAPEZE-NETWORKS-INFO-RF-DETECT-MIB
      mibs +TRAPEZE-NETWORKS-LICENSE-FEATURE-TC-MIB
      mibs +TRAPEZE-NETWORKS-PORT-MIB
      mibs +TRAPEZE-NETWORKS-QOS-CONFIG-MIB
      mibs +TRAPEZE-NETWORKS-REGISTRATION-CHASSIS-MIB
      mibs +TRAPEZE-NETWORKS-REGISTRATION-DEVICES-MIB
      mibs +TRAPEZE-NETWORKS-RF-BLACKLIST-MIB
      mibs +TRAPEZE-NETWORKS-RF-DETECT-TC
      mibs +TRAPEZE-NETWORKS-RF-NOISE-TC-MIB
      mibs +TRAPEZE-NETWORKS-ROOT-MIB
      mibs +TRAPEZE-NETWORKS-SYSTEM-MIB
      mibs +TRAPEZE-NETWORKS-TRAP-MIB
      mibs +TRAPEZE-NETWORKS-TRAPLOG-MIB
      


  3. Using local MIBs:

    1. Net-SNMP can translate numeric object identifies (OIDs) into textual object identifiers and vice versa (using the MIB description files):
      > snmptranslate -On TRAPEZE-NETWORKS-PORT-MIB::trpzPortConfigTable

    2. snmpwalk on a single OID will display a list of all results from the sub-tree of this OID:
      snmpwalk -v 2c -c test 10.144.124.8 .1.3.6.1.4.1.14525.4.6.1.1.1
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search