64 CHAPTER 3: PORT OPERATION
The time set by the port-security timer disableport timer command takes effect when
the disableport-temporarily mode is set by the port-security intrusion-mode
command.
To avoid confliction, the following limitation on the 802.1x and the MAC address
authentication will be taken after port security is enabled:
1The access control mode (set by the dot1x port-control command) automatically
changes to auto.
2The dot1x port-method command can be successfully executed only when no user is
on-line.
3The dot1x, dot1x port-method, dot1x port-control, and mac-authentication
commands cannot be used.
For detailed description of 802.1x authentication, refer to the security module of the
3Com S5500 Series Ethernet Switches Operation Manual.
Port Security Configuration Example
Network requirements
■Enable port security on port Ethernet1/0/1 of switch A, and set the maximum
number of the MAC addresses that are allowed to access the port to 80.
■Set the packet transmission mode of the NTK feature on the port to ntkonly, and
the action mode of the Intrusion Protection feature on the port to disableport.
■Connect PC1 to the port through switch B.
■Bind the MAC and IP addresses of PC1 to the port.
Bind the MAC and IP
addresses of a legal user to a
specified port
am user-bind mac-addr
mac-address ip-addr
ip-address [ interface
interface-type
interface-number ]
Optional
You need to specify the bound port if
you use this command in system
view.You do not need to specify the
bound port if you use this command in
Ethernet port view, because the MAC
and IP address will be bound to the
current port.
Set the action mode of the
Intrusion Protection feature
on the port
port-security
intrusion-mode {
disableport |
disableport-temporarily
| blockmac }
Required
By default, no action mode of the
Intrusion Protection feature is set on the
port.
Return to the system view quit -
Set the time during which
the system temporarily
disables a port
port-security timer
disableport timer
Optional
By default, this time is 20 seconds
Display information about
port security configuration
display port-security [
interface interface-list ]
You can execute the display command in
any view.
Table47 Configure port security (continued)