Configuration Guide Vol. 1


18.2.13 Configuring SNMPv3 to Send Traps to VRF [SL-L3A]

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. The VRF ID registered as an SNMP security user must be the same as the VRF ID set in SNMP trap mode.

Command examples

  1. (config)# snmp-server view "ALL_TRAP_VIEW" * included

    Configures a MIB view.

    • Registers all subtrees in the ALL_TRAP_VIEW view.

  2. (config)# snmp-server user "ADMIN" "ADMIN_GROUP" v3 auth md5 "ABC*_1234" priv des "XYZ/+6789" vrf 2

    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

    • VRF ID:2

  3. (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

  4. (config)# snmp-server host 10.1.1.1 vrf 2 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

    • VRF ID:2