Network Switch - Configure Port Security to limit the number of connected devices

This example shows administrators how to configure port security to limit the number of connected devices. In a real environment, port security controls the number of users connecting to a server.

 

image324.jpg

 

Configure the port security to limit the number of connected devices

2.JPG

1. Configure Switch-1

2. Test the result

3. What could go wrong

 

Configure Port Security

Enter web GUI and navigate to:

Menu > Advanced Application > Port Security

Check port 3 and set the “Limited Number of Learned MAC Address” to 3.

 

1. Configure Switch-1 (Legacy Web GUI)

Enter web GUI and go to Menu > Advanced Application > Port Security. Check port 3 and set the “Limited Number of Learned MAC Address” to 2.

image327.png

3.JPG

If you set the Learned MAC addresses to 0 and add a MAC to the Static MAC Table, only this single device is allowed to connect to the configured port.

 

2. Test the result

  • PC-1 can ping Server

image330.png

  • Connect PC-2 to port
  • PC-2 cannot ping server

image332.png

  • Access web GUI of Switch-1. Go to Menu > Management > MAC Table > Search. The MAC Address Table should show the MAC address of PC-1 (and Switch-2), but not the MAC address of PC-2.

image334.png

 

3. What could go wrong

The MAC address of Switch-2 will also be learned in Switch-1 MAC address table. Therefore, remember to consider Switch-2’s MAC address when setting the number of Limited Number of Learned MAC Address.

 

You will use MAC Authentification with Active Directory, please have a look here:

MAC Authentification with Active Directory

 

Setup Assistance, you´re looking for assisted configuration by our Professional Services Team? Please check here: Zyxel ConfigService Switch

Articles in this section

Was this article helpful?
2 out of 3 found this helpful
Share