cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
943
Views
0
Helpful
2
Replies

Locking Two Ports to One MAC Address

dtheese
Level 1
Level 1

I would like to configure my SG200-26 (firmware version 1.4.2.4) switch so that ports 1 and 2 will accept only my laptop's MAC. Ports 1 and 2 are in the same VLAN.

I attempted this by taking these two steps:

  1. Creating a static, permanent entry under MAC Address Tables --> Static Addresses
  2. Creating an entry under Security --> Port Security. I have tried these two types of locks:
    1. Classic Lock
    2. Secure Permanent Lock, with a maximum address count of 1

However, it seems that a given MAC address may be associated with no more than one port.

Is there a way to accomplish what I desire?

Thank you!

2 Replies 2

Philip D'Ath
VIP Alumni
VIP Alumni

You need to configure a MAC address filter.  Those post has some info on doing it.

https://supportforums.cisco.com/discussion/11804046/mac-filtering-cisco-8-port-sg-200-08-smart-switch

Unfortunately, I don't believe this quite addresses it. The references describe the usual scenario of configuring a port to accept a specific MAC (or MACs), and where those MAC(s) are not expected to appear on any other port.

My case is slightly different. I move my laptop between my office and my dining room. The office Ethernet jack is connected to switch port 1, and the dining room Ethernet jack is connected to switch port 2. I want *both* ports 1 and 2 to accept my laptop's MAC and no others. Getting the switch configured to do this is where the problem lies.