3Com Switch 7750 Configuration Guide Guide

194 CHAPTER 24: PORT SECURITY CONFIGURATION
To avoid confliction, the following restrictions on the 802.1x authentication and
MAC address authentication will be taken after port security is enabled:
1 The access control mode (set by the dot1x port-control command) automatically
changes to auto.
2 The dot1x, dot1x port-method, dot1x port-control, and mac-authentication
commands cannot be used.
n
For details about 802.1x authentication, refer to the 802.1x part of 3Com
Switch 7750 Family Ethernet Switches Operation Manual.
You cannot add a port configured with port security to a link aggregation
group.
You cannot configure the port-security port-mode mode command on a
port if the port is in a link aggregation group.
Displaying Port
Security Configuration
After the above configuration, you can use the display command in any view to
display port security information and verify your configuration.
Port Security
Configuration
Example
Network requirements
Enable port security on port GigabitEthernet1/0/1 of switch A.
Set the maximum number of the MAC addresses allowed on the port to 80.
Set the port security mode to userlogin.
Add the MAC address 0001-0002-0003 of PC1 as a security MAC address to
VLAN 1.
Tabl e 124 Display port security configuration
Operation Command Description
Display information about
port security configuration
display port-security [
interface interface-list ]
You can execute the display
command in any view.
Display information about
security MAC address
configuration
display mac-address
security [ interface
interface-type
interface-number ] [ vlan
vlan-id ] [ count ]