Notification Configurations
User Guide
781
The following example shows how to configure the switch to enable DHCP filter trap:
Switch#configure
Switch(config)#snmp-server traps security
dhcp-filter
Switch(config)#end
Switch#copy running-config startup-config
■
Enabling the ACL Trap Globally
Step 1
configure
Enter Global Configuration Mode.
Step 2
snmp-server traps security
acl
Enable the ACL trap. By default, it is disabled.
The trap monitors matched ACL information, including the matched ACL ID, rule ID and the
number of the matched packets. With both this trap and the Logging feature in the ACL rule
settings enabled, the switch will check the matched ACL information every five minutes and
send SNMP traps if there is any updated information.
Step 3
end
Return to Privileged EXEC Mode.
Step 4
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the switch to enable ACL trap:
Switch#configure
Switch(config)#snmp-server traps acl
Switch(config)#end
Switch#copy running-config startup-config
■
Enabling the IP Traps Globally
Step 1
configure
Enter Global Configuration Mode.
Step 2
snmp-server traps ip
{ change | duplicate }
Enable the IP traps. By default, all IP traps are disabled.
change:
Monitors the changes of interfaces’ IP addresses. The trap can be triggered when
the IP address of any interface is changed.
duplicate:
Triggered when the switch detects an IP conflict.
Downloaded from