Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to limit mac-addresses on switch

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

Re: How to limit mac-addresses on switch

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 ***
2 REPLIES

Re: How to limit mac-addresses on switch

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 ***
New Member

Re: How to limit mac-addresses on switch

thx

104
Views
4
Helpful
2
Replies