DEV Community

Büşra for Açıklab

Posted on

Network Cihazlarında SNMPv3 Nasıl Açılır ?

  • Cisco L2 Switch
vIOS-L2-01#conf t
vIOS-L2-01(config)#snmp-server group btgroup v3 auth                
vIOS-L2-01(config)#snmp-server user btuser btgroup v3 auth md5 123456bt
vIOS-L2-01(config)#end
vIOS-L2-01#wr
Enter fullscreen mode Exit fullscreen mode

snmpwalk -v3 -u btuser -l authNoPriv -A 123456bt <ip_address>

Image description

  • Cisco Router
R6#conf t
R6(config)#snmp-server group btgroup v3 auth
R6(config)#snmp-server user btuser btgroup v3 auth md5 123456bt
R6(config)#
R6(config)#end
R6#wr
Enter fullscreen mode Exit fullscreen mode

snmpwalk -v3 -u btuser -l authNoPriv -A 123456bt <ip_address>

Image description

  • Juniper Switch-Router
root# set snmp v3 usm local-engine user superuser authentication-md5 authentication-password 12345678
root#set snmp v3 usm local-engine user superuser privacy-aes128 privacy-password 12345678
root# set snmp v3 vacm access group supergroup default-context-prefix security-model usm security-level authentication context-match exact
root# set snmp v3 vacm access group supergroup default-context-prefix security-model usm security-level authentication read-view readview
root# set snmp v3 vacm access group supergroup default-context-prefix security-model usm security-level authentication write-view writeview
root# set snmp v3 vacm access group supergroup default-context-prefix security-model usm security-level authentication notify-view notifyview
root# set snmp v3 vacm security-to-group security-model usm security-name superuser group supergroup
root# set snmp view readview oid .1 include
root# set snmp view writeview oid .1 include
root# set snmp view notifyview oid .1 include
Enter fullscreen mode Exit fullscreen mode

snmpwalk -v3 -u superuser -l authNoPriv -A 12345678 <ip_address>

Image description

Top comments (0)