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

Port Security question

nawas
Level 4
Level 4

I'm currently allowing only one mac address on my port, my config look like this

set port security 1/7 enable age 10 maximum 1 shutdown

I expect that if I unplug a pc from port 1/7 and plug this same pc back in port 1/7 before the 10 min againg timer expires, system should not disable my port. But it doesn't happen that way, port 1/7 goes into shut down mode as soon as i plug in the same pc. Any thoughts?

1 Reply 1

ariesc_33
Level 1
Level 1

once you plugged in the pc back again, check the numbers of mac-address on port 1/7, how many? the switch might still store the mac-address up to 10 minutes after you unplugged, then once plugged in back, the switch thinks that there are 2 mac-address on that port.

show logging

to check the violation logs.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco