![background image](http://html1.mh-extra.com/html/h3c/h3c-s3600-series/h3c-s3600-series_command-manual_575111195.webp)
1-16
z
Before setting the security mode to
autolearn
, you need to use the
port-security max-mac-count
command to configure the maximum number of MAC addresses allowed on the port.
z
When a port operates in the
autolearn
mode, you cannot change the maximum number of MAC
addresses allowed on the port.
z
After setting the security mode to
autolearn
, you cannot configure static or blackhole MAC
addresses on the port.
z
When the port security mode is not
noRestriction
, you need to use the
undo port-security
port-mode
command to change it back to
noRestriction
before you change the port security
mode to other modes.
z
Fabric devices do not support configuring the security mode to
autolearn
.
On a port configured with a security mode, you cannot do the following:
z
Configure the maximum number of MAC addresses that can be learned.
z
Configure the port as a reflector port for port mirroring.
z
Configure the port as a Fabric port.
z
Configure link aggregation.
Related commands:
display port-security
.
Examples
# Set the security mode of Ethernet 1/0/1 on the switch to
userLogin
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] port-security enable
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] port-security port-mode userlogin
port-security timer disableport
Syntax
port-security timer disableport timer
undo port-security timer disableport
View
System view
Parameters
timer
: This argument ranges from 20 to 300, in seconds.
Description
Use the
port-security timer disableport
command to set the time during which the system temporarily
disables a port.
Use
undo port-security timer disableport
command restore the default time.
Содержание H3C S3600 Series
Страница 502: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 507: ...3 5 Sysname habp timer 50 ...
Страница 650: ...iii display bootp client 5 3 ip address bootp alloc 5 4 ...
Страница 1085: ...ii schedule reboot delay 3 18 schedule reboot regularity 3 19 system monitor enable 3 20 update fabric 3 21 xmodem get 3 22 ...