18.2.5 Configuring SNMPv3 to send Traps
- Points to note
-
After configuring a MIB view and an SNMP security user, configure an SNMP security group, and then configure the SNMP trap mode.
Command examples
-
(config)# snmp-server view "ALL_TRAP_VIEW" * included
Configures a MIB view.
-
Registers all subtrees in the ALL_TRAP_VIEW view.
-
-
(config)# snmp-server user "ADMIN" "ADMIN_GROUP" v3 auth md5 "ABC*_1234" priv des "XYZ/+6789"
Configures an SNMP security user.
-
SNMP security user name: ADMIN
-
SNMP security group name: ADMIN_GROUP
-
Authentication protocol: HMAC-MD5
-
Authentication password: ABC*_1234
-
Privacy Protocol: CBC-DES
-
Privacy Password: XYZ/+6789
-
-
(config)# snmp-server group "ADMIN_GROUP" v3 priv notify "ALL_TRAP_VIEW"
Configures an SNMP security group.
-
SNMP security group name: ADMIN_GROUP
-
Security level: Authentication required, encryption required
-
Notify view name: ALL_TRAP_VIEW
-
-
(config)# snmp-server host 10.1.1.1 traps "ADMIN" version 3 priv snmp
Configure SNMPv3 to send normal traps to SNMP Manager.
-
IP address of the SNMP manager: 10.1.1.1
-
SNMP security user name: ADMIN
-
Security level: Authentication required, encryption required
-
Traps to send: coldStart,warmStart,linkDown,linkUp,authenticationFailure
-