cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
288
Views
0
Helpful
1
Replies

Command for Switch port

Khundmir4cisco
Level 1
Level 1

I want to lock the switchport in such a way that it only allow one end device to be connected and no two more devices are connected using a AP or another switch or a hub. I don't want to reserve MAC address for the switchport. Instead, I just want to make sure only one end device is connected irrelevant of Mac. 

1 Accepted Solution

Accepted Solutions

acampbell
VIP Alumni
VIP Alumni
Hi,
If you are going to connect a device to your switch port via another switch you will need to allow
at least 2 mac to attach as the switch or AP will have a mac too.
Something like this (depending on swith type and IOS)
!
interface fast 0/10
description *** MY SECURE PORT ***
switchport mode access
switchport access vlan 10
switchport port-security
switchport port-security max 2
no shut
!
Hope this helps
Regards
Alex
Regards, Alex. Please rate useful posts.

View solution in original post

1 Reply 1

acampbell
VIP Alumni
VIP Alumni
Hi,
If you are going to connect a device to your switch port via another switch you will need to allow
at least 2 mac to attach as the switch or AP will have a mac too.
Something like this (depending on swith type and IOS)
!
interface fast 0/10
description *** MY SECURE PORT ***
switchport mode access
switchport access vlan 10
switchport port-security
switchport port-security max 2
no shut
!
Hope this helps
Regards
Alex
Regards, Alex. Please rate useful posts.
Review Cisco Networking for a $25 gift card