Usage guidelines
To report critical port security events to an NMS, enable SNMP notifications for port security. For port
security event notifications to be sent correctly, you must also configure SNMP on the device. For
more information about SNMP configuration, see the network management and monitoring
configuration guide for the device.
If you do not specify a notification, this command enables all SNMP notifications for port security.
Examples
# Enable SNMP notifications about MAC address learning.
<Sysname> system-view
[Sysname] snmp-agent trap enable port-security address-learned
Related commands
display port-security
port-security enable
229