IOS configuration
Router(config)# ip access-list standard SNMP_MANAGERS
Router(config-std-nacl)# permit host 192.168.1.100
Router(config-std-nacl)# permit host 192.168.1.101
Router(config)# snmp-server view READ_VIEW iso included
Router(config)# snmp-server group READ_GROUP v3 priv read READ_VIEW access SNMP:MANAGERS
Router(config)# snmp-server user SNMPv3_USER READ_GROUP v3 auth md5 MD5_auth_KEY priv des DES_priv_KEY
Check
# snmpwalk -v 3 -u SNMPv3_USER -l authPriv -a md5 -A MD5_auth_KEY -x des -X DES_priv_KEY 192.168.50.1 .1
No comments:
Post a Comment