Enabling port security, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual
Page 174
9-6
Task
Remarks
Configuring Secure MAC Addresses
Optional
Ignoring Authorization Information from the Server
Optional
Enabling Port Security
Configuration Prerequisites
Before enabling port security, disable 802.1X and MAC authentication globally.
Configuration Procedure
Follow these steps to enable port security:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable port security
port-security enable
Required
Disabled by default
Note that:
1) Enabling port security resets the following configurations on a port to the bracketed defaults. Then,
values of these configurations cannot be changed manually; the system will adjust them based on
the port security mode automatically:
z
802.1X (disabled), port access control method (macbased), and port authorization mode (auto)
z
MAC authentication (disabled)
2) Disabling port security resets the following configurations on a port to the bracketed defaults:
z
Port security mode (noRestrictions)
z
802.1X (disabled), port access control method (macbased), and port authorization mode (auto)
z
MAC authentication (disabled)
3) Port security cannot be disabled if there is any user present on a port.
z
For detailed 802.1X configuration, see 802.1X Configuration in the Security Configuration Guide.
z
For detailed MAC authentication configuration, see MAC Authentication Configuration in the
Security Configuration Guide.