Configuring port security on an HP comware switch - Part 1
Configuring port security in autoLearn mode
Procedure
# Enable port security.
system-view
port-security enable
# Set the secure MAC aging timer to 30 minutes.
port-security timer autolearn aging 30
# Set port security’s limit on the number of secure MAC addresses to 2.
interface GE1/0/1
port-security max-mac-count 2
# Set the port security mode to autoLearn.
port-security port-mode autolearn
# Configure the port to be silent for 30 seconds after the intrusion protection feature is triggered.
port-security intrusion-mode disableport-temporarily
quit
port-security timer disableport 30
Verifying the configuration
# Verify the port security configuration.
display port-security interface GigabitEthernet 1/0/1
display port-security mac-address security interface GigabitEthernet 1/0/1
interface GE1/0/1
display this
Reference:
1 view
1548
558
2 months ago 00:05:23 1
Consumer Crypto 🔥Abstract: Revolutionizing Blockchain with Speed and Low Fees
2 months ago 00:16:46 1
This will be my next Linux laptop: Tuxedo Stellaris 15 Slim Review
2 months ago 00:03:40 1
Metric Halo Production Bundle 4 Updates
2 months ago 00:04:59 1
Metric Halo: Channel Strip
2 months ago 00:05:45 1
Metric Halo: SonicEQ Deep Dive
2 months ago 00:01:43 10
Metric Halo: Transient Control
2 months ago 00:21:04 1
KDE Plasma 6.2 - It’s all about quality of life!
2 months ago 00:34:18 1
Pour un futur au top! Manifeste ta réussite.🪄🦋🕊️ Rituel de projection . Jour 19
3 months ago 00:32:25 1
Nitrux “ub” — #DisruptiveByDesign — New Nitrux Not Up to UI Standards | Hands on Review
3 months ago 00:35:49 1
Mad Stalker: Full Metal Force (PS1) Longplay/Walkthrough NO COMMENTARY