Setting The Port Security Mode; Enabling The Autolearn Mode - H3C S5500-EI Series Operation Manual – Port Security

Hide thumbs Also See for S5500-EI Series:
Table of Contents

Advertisement

Operation Manual – Port Security
H3C S5500-EI Series Ethernet Switches
Set the maximum number
of secure MAC addresses
allowed on a port

1.5 Setting the Port Security Mode

Before setting the port security mode, ensure that:
802.1x is disabled, the port access control method is macbased, and the port
access control mode is auto.
MAC authentication is disabled.
Otherwise, you will see an error message and your configuration will fail.
On the other hand, after setting the port security mode on a port, you cannot change
any of the above configurations.
Note:
With port security disabled, you can configure the port security mode but your
configuration does not take effect.
With port security enabled, you can change the port security mode of a port only
when the port is operating in noRestrictions mode, the default mode. You can use
the undo port-security port-mode command to restore the default port security
mode.
You cannot change the port security mode of a port when any user is present on the
port.
Configuration of port security mode and aggregation are mutually exclusive. You
cannot configure both of them on a port.

1.5.1 Enabling the autoLearn Mode

I. Configuration prerequisites
Before enabling the autoLearn mode, you need to set the maximum number of secure
MAC addresses allowed on the port.
II. Configuration procedure
Follow these steps to enable the autoLearn mode:
To do...
port-security
max-mac-count
count-value
Chapter 1 Port Security Configuration
Use the command...
1-6
Remarks
Required
Not limited by default

Advertisement

Table of Contents
loading

Table of Contents