Changes between Version 12 and Version 13 of netmon2017snmp


Ignore:
Timestamp:
Nov 16, 2017, 2:27:55 PM (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • netmon2017snmp

    v12 v13  
    6767
    6868# Default community when using SNMP v2c
    69 defCommunity NetManage
     69defCommunity <class passowrd>
    7070}}}
    7171Creating this configuration file means you won't have to enter your credentials everytime you use one of the SNMP utilities. Otherwise you would have to add all these values on the command line like this:
    7272{{{
    73 snmpstatus -v3 -l authNoPriv -a SHA -u admin -A NetManage pcX
     73snmpstatus -v3 -l authNoPriv -a SHA -u admin -A <class passowrd> pcX
    7474}}}
    7575
     
    8787{{{
    8888Router(config)# access-list 99 permit 192.248.6.0 255.255.255.0
    89 Router(config)# snmp-server community NetManage ro 99
     89Router(config)# snmp-server community <class passowrd> ro 99
    9090Router(config)# snmp-server group ReadGroup v3 auth access 99
    9191Router(config)# snmp-server user admin ReadGroup v3 auth sha <Class Password>
     
    107107{{{
    108108[Router]acl number 2000
    109 [Router-acl-basic-2000]rule 0 permit source 192.248.0.0 0.0.255.255
     109[Router-acl-basic-2000]rule 0 permit source 192.248.6.0 0.0.0.255
    110110[Router]snmp-agent
    111 [Router]snmp-agent community read NetManage
     111[Router]snmp-agent community read <class passowrd>
    112112[Router]snmp-agent sys-info version all
    113113[Router]snmp-agent group v3 ReadGroup authentication acl 2000
    114 [Router]snmp-agent usm-user v3 admin ReadGroup authentication-mode sha ]X'HZJP&@!!'OJC-8#V/`,NY%"E!
     114[Router]snmp-agent usm-user v3 admin ReadGroup authentication-mode sha <class passowrd>
    115115}}}
    116116
     
    149149
    150150# For SNMPv2: Configure Read-Only community and restrict who can connect
    151 rocommunity NetManage  10.10.0.0/16
    152 rocommunity NetManage  127.0.0.1
     151rocommunity <class passowrd>  192.248.6.0/24
     152rocommunity <class passowrd>  127.0.0.1
    153153
    154154# Information about this host
    155 sysLocation    NSRC Network Management Workshop
    156 sysContact     sysadm@pcX.ws.nsrc.org
     155sysLocation    LEARN Workshop
     156sysContact     sysadm@ws.ac.lk
    157157
    158158# Which OSI layers are active in this host