
19-4
Task Remarks
Enabling Port Security Required
Setting the Maximum Number of Secure MAC Addresses Optional
Setting the Port Security Mode Required
Configuring NTK
Configuring Intrusion Protection
Configuring Port Security Features
Configuring Trapping
Optional
Choose one or
more features as
required.
Configuring Secure MAC Addresses Optional
Ignoring the Authorization Information from the Server Optional
Enabling Port Security
Configuration Prerequisites
Before enabling port security, you need to 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 defaults bracketed,
making them dependent completely on the port security mode:
z 802.1x (disabled), port access control method (macbased), and port access control mode (auto)
z MAC authentication (disabled)
2) Disabling port security resets the following configurations on a port to the defaults bracketed:
z Port security mode (noRestrictions)
z 802.1x (disabled), port access control method (macbased), and port access control mode (auto)
z MAC authentication (disabled)
Komentáře k této Příručce