• No related posts.

      • No related posts.

        • No related posts.

          • No related posts.

              No related posts.

            Configure SNMP on Juniper

            set snmp location “My home Network”
            set snmp contact “giany at x83.net”
            set snmp community nMSuser authorization read-only
            set snmp community nMSuser clients 10.2.2.1/32
            set snmp community nMSuser clients 10.0.9.0/24

            [root@box ~]# snmpwalk -v 1 -c ‘nMSuser’ 10.2.2.2 | head
            SNMPv2-MIB::sysDescr.0 = STRING: Juniper Networks, Inc. olive internet router, kernel JUNOS 7.4R2.6 #0: 2006-01-20 14 Build date: 2006-01-20 14:19:29 UTC Copyright (c) 1996-2006 Juniper Networks, Inc.
            SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2636.1.1.1.2.1
            DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (158417) 0:26:24.17
            SNMPv2-MIB::sysContact.0 = STRING: giany at x83.net
            SNMPv2-MIB::sysName.0 = STRING: olive.x83.net
            SNMPv2-MIB::sysLocation.0 = STRING: My home Network
            SNMPv2-MIB::sysServices.0 = INTEGER: 4

            Its a good policy to restrict to only a few clients. If I use snmpwalk from a restricted ip /var/log/security prints:

            Aug 1 16:45:59 olive.x83.net snmpd[2658]: SNMPD_AUTH_RESTRICTED_ADDRESS: validate_SNMP_community: request from address 10.1.1.1 not allowed

            Related posts:

            1. SNMP Simple Network Management Protocol
            2. First steps configuring Juniper Routers
            3. Configure syslog
            This entry was posted in Juniper and tagged , , , , .

            Leave a Reply