Enabling port security traps

You can configure the port security module to send traps for the following categories of events:

To enable port security traps:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable port security traps.

port-security trap { addresslearned | dot1xlogfailure | dot1xlogoff | dot1xlogon | intrusion | ralmlogfailure | ralmlogoff | ralmlogon }

By default, port security traps are disabled.