1-5Port Security Configuration Task ListComplete the following tasks to configure port security:Task RemarksEnabling Port Security RequiredSetting the Maximum Number of Secure MAC Addresses OptionalSetting the Port Security Mode RequiredConfiguring NTKConfiguring Intrusion ProtectionConfiguring Port Security FeaturesConfiguring TrappingOptionalChoose one ormore features asrequired.Configuring Secure MAC Addresses OptionalIgnoring Authorization Information from the Server OptionalEnabling Port SecurityConfiguration PrerequisitesBefore enabling port security, you need to disable 802.1X and MAC authentication globally.Configuration ProcedureFollow these steps to enable port security:To do… Use the command… RemarksEnter system view system-view —Enable port security port-security enable RequiredDisabled by defaultNote 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 onthe port security mode automatically: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 bracketed defaults:z Port security mode (noRestrictions)z 802.1X (disabled), port access control method (macbased), and port access control mode (auto)z MAC authentication (disabled)3) Port security cannot be disabled if there is any user present on a port.