Enabling Snmp Notifications For Port Security; Displaying And Maintaining Port Security; Port Security Configuration Examples; Autolearn Configuration Example - HPE FlexNetwork 7500 Series Security Configuration Manual

Table of Contents

Advertisement

Enabling SNMP notifications for port security

Use this feature to report critical port security events to an NMS. 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.
To enable SNMP notifications for port security:
Step
1.
Enter system
view.
2.
Enable SNMP
notifications for
port security.

Displaying and maintaining port security

Execute display commands in any view:
Task
Display the port security configuration,
operation information, and statistics.
Display information about secure MAC
addresses.
Display information about blocked MAC
addresses.

Port security configuration examples

autoLearn configuration example

Network requirements
As shown in
requirements:
Accept up to 64 users without authentication.
Be permitted to learn and add MAC addresses as sticky MAC addresses, and set the secure
MAC aging timer to 30 minutes.
Stop learning MAC addresses after the number of secure MAC addresses reaches 64. If any
frame with an unknown MAC address arrives, intrusion protection starts, and the port shuts
down and stays silent for 30 seconds.
Command
system-view
snmp-agent trap enable port-security
[ address-learned | dot1x-failure | dot1x-logoff |
dot1x-logon | intrusion | mac-auth-failure |
mac-auth-logoff | mac-auth-logon ] *
Figure
75, configure GigabitEthernet 1/0/1 on the device to meet the following
Command
display port-security [ interface interface-type
interface-number ]
display port-security mac-address security [ interface
interface-type interface-number ] [ vlan vlan-id ] [ count ]
display port-security mac-address block [ interface
interface-type interface-number ] [ vlan vlan-id ] [ count ]
235
Remarks
N/A
By default, SNMP
notifications are disabled
for port security.

Advertisement

Table of Contents
loading

Table of Contents