Configuring SNMP Version 3 Trap Notifications

You can configure SNMP views to receive SNMP trap notifications and the UDP port to receive SNMP traps.
  1. Enter global configuration mode.
    device# configure terminal
  2. Define an SNMP group and specify the view for trap notification.
    device(config)# snmp-server group admin v3 auth read all write all
    notify all
  3. Define the UDP port for SNMPv3 traps.
    device(config)# snmp-server host 192.168.4.11 version v3 auth security-name port 162
    In the example, the UDP port 162 on the host 192.168.4.11 receives the traps and only authenticated packets are allowed to access the specified view with password authentication.

The following example shows how to configure SNMPv3 traps.

device# configure terminal
device(config)# snmp-server group admin v3 auth read all write all
notify all
device(config)# snmp-server host 192.168.4.11 version v3 auth security-name port 162