- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Switch HPE 5130 EI port security - no logs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 01:21 AM - last edited on 08-03-2021 02:37 AM by support_s
08-03-2021 01:21 AM - last edited on 08-03-2021 02:37 AM by support_s
Hi,
I have a port security configuration on a hpe 5130 ei switch and I don't receive syslog events when a port security intrusion event occur.
I'm using a sticky mac port security on interfaces and when another device (other than authorized mac) is conected, the interace is shutdown, but no portsec intrusion event is generated not even in the console. Just port down events are generated in this situation.
Bellow is the switch configuration (part of) :
port-security enable
interface GigabitEthernet1/0/2
port-security intrusion-mode disableport
port-security max-mac-count 1
port-security port-mode autolearn
port-security mac-address security sticky b.....
info-center security-logfile enable
info-center loghost xx.xx.xx.xx facility local1
info-center source PORTSEC loghost level debugging
Curent firmware: 7.1.070, Release 3506
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 01:29 AM
08-03-2021 01:29 AM
SolutionHello G_Ionut,
Please use the following to enable logs:
Enter system view.
system-view
Enable logging for port security users.
port-security access-user log enable [ failed-authorization | mac-learning | violation ] *
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.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 01:57 AM
08-03-2021 01:57 AM
Re: Switch HPE 5130 EI port security - no logs
Is this command configured into switch:
[hpe] info-center loghost <host-ipv4-address>
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 03:13 AM
08-03-2021 03:13 AM
Re: Switch HPE 5130 EI port security - no logs
OK. Thank you. That solved the problem.