XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
166
the internet at most. If it exceeds the maximum number, the new user cannot access the
internet, so that it not only limit the users number but also access the internet safely. If
configuring the maximum number of the secure MAC addresses as 1, only HOST A or HOST B
is able to access the internet.
Configuration process:
#Configure the switch.
Switch(config)#interface Ethernet 1/0/1
Switch(config-if-ethernet1/0/1)#switchport port-security
Switch(config-if- ethernet1/0/1)#switchport port-security maximum 10
Switch(config-if- ethernet1/0/1)#exit
Switch(config)#
20.4 PORT SECURITY Troubleshooting
If problems occur when configuring PORT SECURITY, please check whether the problem
is caused by the following reasons:
Check whether PORT SECURITY is enabled normally
Check whether the valid maximum number of MAC addresses is configured