Changes between Version 12 and Version 13 of netmon2017snmp
- Timestamp:
- Nov 16, 2017, 2:27:55 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
netmon2017snmp
v12 v13 67 67 68 68 # Default community when using SNMP v2c 69 defCommunity NetManage69 defCommunity <class passowrd> 70 70 }}} 71 71 Creating 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: 72 72 {{{ 73 snmpstatus -v3 -l authNoPriv -a SHA -u admin -A NetManagepcX73 snmpstatus -v3 -l authNoPriv -a SHA -u admin -A <class passowrd> pcX 74 74 }}} 75 75 … … 87 87 {{{ 88 88 Router(config)# access-list 99 permit 192.248.6.0 255.255.255.0 89 Router(config)# snmp-server community NetManagero 9989 Router(config)# snmp-server community <class passowrd> ro 99 90 90 Router(config)# snmp-server group ReadGroup v3 auth access 99 91 91 Router(config)# snmp-server user admin ReadGroup v3 auth sha <Class Password> … … 107 107 {{{ 108 108 [Router]acl number 2000 109 [Router-acl-basic-2000]rule 0 permit source 192.248. 0.0 0.0.255.255109 [Router-acl-basic-2000]rule 0 permit source 192.248.6.0 0.0.0.255 110 110 [Router]snmp-agent 111 [Router]snmp-agent community read NetManage111 [Router]snmp-agent community read <class passowrd> 112 112 [Router]snmp-agent sys-info version all 113 113 [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> 115 115 }}} 116 116 … … 149 149 150 150 # For SNMPv2: Configure Read-Only community and restrict who can connect 151 rocommunity NetManage 10.10.0.0/16152 rocommunity NetManage127.0.0.1151 rocommunity <class passowrd> 192.248.6.0/24 152 rocommunity <class passowrd> 127.0.0.1 153 153 154 154 # Information about this host 155 sysLocation NSRC Network ManagementWorkshop156 sysContact sysadm@ pcX.ws.nsrc.org155 sysLocation LEARN Workshop 156 sysContact sysadm@ws.ac.lk 157 157 158 158 # Which OSI layers are active in this host