Enabling Logging For Port Security Users; Overview; Configuration Restrictions And Guidelines; Configuration Procedure - HPE FlexNetwork 10500 Series Security Configuration Manual

Hide thumbs Also See for FlexNetwork 10500 Series:
Table of Contents

Advertisement

To enable SNMP notifications for port security:
Step
1.
Enter system
view.
2.
Enable SNMP
notifications for
port security.

Enabling logging for port security users

Overview

This feature enables the device to generate logs for port security users and send the logs to the
information center. For the logs to be output correctly, you must also configure the information center
on the device. For more information about information center configuration, see Network
Management and Monitoring Configuration Guide.

Configuration restrictions and guidelines

As a best practice, disable this feature to prevent excessive output of logs for port security users.

Configuration procedure

To enable logging for port security users:
Step
1.
Enter system view.
2.
Enable logging for port
security users.

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.
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 ] *
Command
system-view
port-security access-user log
enable [ failed-authorization |
mac-learning | violation ] *
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 ]
254
Remarks
N/A
By default, SNMP
notifications are disabled
for port security.
Remarks
N/A
By default, logging is disabled for
port security users.
If you do not specify any
parameters, this command
enables all logging functions for
port security users.

Advertisement

Table of Contents
loading

Table of Contents