Command Manual ( For Soliton ) – Port Security-Port Binding
H3C S3100 Series Ethernet Switches
Chapter 1 Port Security Commands
1-19
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.
By default, the system disables a port for 20 seconds.
Note:
The
port-security timer disableport
command is used in conjunction with the
port-security intrusion-mode
disableport-temporarily
command to set the length of
time during which the port remains disabled.
Related commands:
port-security intrusion-mode
.
Examples
# Set the intrusion protection mode on Ethernet 1/0/1 to
disableport-temporarily
. It is
required that when intrusion protection is triggered, the port be shut down temporarily
and then go up 30 seconds later.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] port-security timer disableport 30
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] port-security intrusion-mode
disableport-temporarily
1.1.12 port-security trap
Syntax
port-security trap
{
addresslearned
|
dot1xlogfailure
|
dot1xlogoff
|
dot1xlogon
|
intrusion
|
ralmlogfailure
|
ralmlogoff
|
ralmlogon
}
undo port-security trap
{
addresslearned
|
dot1xlogfailure
|
dot1xlogoff
|
dot1xlogon
|
intrusion
|
ralmlogfailure
|
ralmlogoff
|
ralmlogon
}
View
System view
Parameters
addresslearned
: Enables/disables sending traps for MAC addresses learning events.
dot1xlogfailure
: Enables/disables sending traps for 802.1x authentication failures.