cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7184
Views
4
Helpful
2
Replies

How to limit mac-addresses on switch

nygenxny123
Level 1
Level 1

We have 2 different lans..one user

has a hub connected to one switchport..he need 3 network connections for vlan 5. This would give him unlimited network access which is what we want.

However..2 users have patched into that hub ..and they have un fettered access.

What security command would i use

to allow 3 macs but not that final 2?

1 Accepted Solution

Accepted Solutions

John Blakley
VIP Alumni
VIP Alumni

You would need to implement port security. If you want just the 3 addresses, I would recommend that you hard code them in:

switchport port-security

switchport port-security max 3

switchport port-security mac-address

switchport port-security mac-address

switchport port-security mac-address

HTH,

John

HTH, John *** Please rate all useful posts ***

View solution in original post

2 Replies 2

John Blakley
VIP Alumni
VIP Alumni

You would need to implement port security. If you want just the 3 addresses, I would recommend that you hard code them in:

switchport port-security

switchport port-security max 3

switchport port-security mac-address

switchport port-security mac-address

switchport port-security mac-address

HTH,

John

HTH, John *** Please rate all useful posts ***

thx