Configuration task list
Task
Enabling port security
Setting the maximum number of secure MAC addresses
Setting the port security mode
Configuring port security
features
Configuring secure MAC addresses
Ignoring authorization information from the RADIUS server
Enabling port security
Configuration prerequisites
Disable 802.1X and MAC authentication globally.
Configuration procedure
To do...
1.
Enter system view.
2.
Enable port security.
Enabling port security resets the following configurations on a port to the defaults in parentheses
1.
below. Then, values of these configurations cannot be changed manually; the system adjusts them
based on the port security mode automatically.
802.1X (disabled), port access control method (macbased), and port authorization mode (auto)
MAC authentication (disabled)
Disabling port security resets the following configurations on a port to the defaults in parentheses
2.
below:
Port security mode (noRestrictions)
802.1X (disabled), port access control method (macbased), and port authorization mode (auto)
MAC authentication (disabled)
Port security cannot be disabled when a user is present on a port.
3.
NOTE:
For more information about 802.1X configuration, see
•
For more information about MAC authentication configuration, see
•
authentication."
Configuring NTK
Configuring intrusion protection
Enabling port security traps
Command...
system-view
port-security enable
177
Remarks
Required
Optional
Required
Optional
Configure one or more
features as required.
Optional
Optional
Remarks
—
Required
Disabled by default
"Configuring
802.1X."
"Configuring MAC