Operation Manual – Port Security-Port Binding
H3C S5600 Series Ethernet Switches
Chapter 1 Port Security Configuration
1-8
Note:
z
Before setting the port security mode to
autolearn
, you need to set the maximum
number of MAC addresses allowed on the port with the
port-security
max-mac-count
command.
z
When the port operates in the
autoLearn
mode, you cannot change the maximum
number of MAC addresses allowed on the port.
z
After you set the port security mode to
autolearn
, you cannot configure any static or
blackhole MAC addresses on the port.
z
If the port is in a security mode other than
noRestriction
, before you can change
the port security mode, you need to restore the port security mode to
noRestriction
with the
undo port-security port-mode
command.
z
The port security mode of
autolearn
is not supported on fabric devices.
If the
port-security port-mode mode
command has been executed on a port, none of
the following can be configured on the same port:
z
Maximum number of MAC addresses that the port can learn
z
Reflector port for port mirroring
z
Fabric port
z
Link aggregation
1.2.4 Configuring Port Security Features
I. Configuring the NTK feature
Follow these steps to configure the NTK feature:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Configure the NTK feature
port-security ntk-mode
{
ntkonly
|
ntk-withbroadcasts
|
ntk-withmulticasts
}
Required
By default, NTK is
disabled on a port, namely
all frames are allowed to
be sent.