Download Print this page

Snmp-Agent Trap Enable Port-Security - HP FlexNetwork MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

MSR954 (JH296A/JH297A/JH298A/JH299A/JH373A).
MSR958 (JH300A/JH301A).
MSR2004-24/2004-48.
MSR1002-4/1003-8S.
If you configure the intrusion protection action as disabling the port temporarily, use this command to
set the silence period.
Examples
# Configure the intrusion protection action on GigabitEthernet 1/0/1 as disabling the port temporarily,
and set the port silence period to 30 seconds.
<Sysname> system-view
[Sysname] port-security timer disableport 30
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port-security intrusion-mode disableport-temporarily
Related commands
display port-security
port-security intrusion-mode

snmp-agent trap enable port-security

Use snmp-agent trap enable port-security to enable SNMP notifications for port security.
Use undo snmp-agent trap enable port-security to disable SNMP notifications for port security.
Syntax
snmp-agent trap enable port-security [ address-learned | dot1x-failure | dot1x-logoff |
dot1x-logon | intrusion | mac-auth-failure | mac-auth-logoff | mac-auth-logon ] *
undo snmp-agent trap enable port-security [ address-learned | dot1x-failure | dot1x-logoff |
dot1x-logon | intrusion | mac-auth-failure | mac-auth-logoff | mac-auth-logon ] *
Default
All port security SNMP notifications are disabled.
Views
System view
Predefined user roles
network-admin
network-operator
Parameters
address-learned: Specifies notifications about MAC address learning.
dot1x-failure: Specifies notifications about 802.1X authentication failures.
dot1x-logoff: Specifies notifications about 802.1X user logoffs.
dot1x-logon: Specifies notifications about 802.1X authentication successes.
intrusion: Specifies notifications about illegal frame detection.
mac-auth-failure: Specifies notifications about MAC authentication failures.
mac-auth-logoff: Specifies notifications about MAC authentication user logoffs.
mac-auth-logon: Specifies notifications about MAC authentication successes.
345

Advertisement

loading