
6-6
Follow these steps to set the maximum number of secure MAC addresses allowed on a port:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Set the maximum number of
secure MAC addresses
allowed on a port
port-security max-mac-count
count-value
Required
Not limited by default
This configuration is different from that of the maximum number of MAC addresses that can be leaned
by the port in MAC address management.
Setting the Port Security Mode
Configuration Prerequisites
Before setting the port security mode, ensure that:
z
802.1X is disabled, the port access control method is
macbased
, and the port access control
mode is
auto
.
z
MAC authentication is disabled.
z
The port does not belong to any aggregation group.
The above requirements must be all met. 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 configurations of the first three requirements.
z
With port security disabled, you can configure the port security mode, but your configuration does
not take effect.
z
You cannot change the port security mode of a port when any user is present on the port.
z
Before configuring the port to operate in autoLearn mode, set the maximum number of secure
MAC addresses allowed on a port.
Содержание 4510G
Страница 502: ...4 8 ...
Страница 1010: ...18 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found ...