Console#configure
console(config)#snmp-server view test_view internet included
Parameter | Description |
test_view | name we create locally on the switch for the SNMP view |
internet | MIB family which we select from the OID subtree. |
console(config)#snmp-server group test_group v3 ‘noauth/auth/priv’ ‘read/write’ test_view
Parameter | Description |
test_group | name we create locally on the switch for the SNMP group |
noauth/auth/priv | authentication type |
test_view | Associating the SNMPV3 group with the SNMPV3 view created earlier. |
auth - Specifies authentication of a packet without encrypting it.
noauth - Specifies no authentication of a packet.
priv - Specifies authentication of a packet with encryption.
The next step after creating a SNMPv3 group is to create a SNMPv3 user and associate it with the group that has been created.
console(config)#snmp-server user test_user test_group auth-md5 password1 priv-3des password2
Parameter | Description |
test_user | name we create locally on the switch for the SNMP user |
test_group | Associating the SNMPV3 user with the SNMPV3 group created earlier |
Auth | Authentication password |
Priv | Encryption key |
snmp-server view "test_view" internet included
snmp-server group "test_group" v3 priv read "test_view"
snmp-server user "test_user" test_group auth-md5-key 240826d65a17fe9d8826630917f60b0f priv-3des-key 240826d65a17fe9d8826630917f60b0f400dd0592395032de9b2ad0759c017e9