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

port security

yogesh1
Level 1
Level 1

how to check the learned mac adders on switch port and how to flush that learned mac address from port & remove the port security

1 Accepted Solution

Accepted Solutions

Hi

It can be seen through: 

show port-security address

 

Now if you want to make a flush, you could use inactivity feature, for example:

 

switchport port-security aging time 5
switchport port-security aging type inactivity

 

It will flush the inactive mac addresses each 5 minutes. 

 

To remove port security you can execute:

 

no switchport port-security

no switchport port-security violation 

no switchport port-security maximum

no switchport port-security mac-address

 

 

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

1 Reply 1

Hi

It can be seen through: 

show port-security address

 

Now if you want to make a flush, you could use inactivity feature, for example:

 

switchport port-security aging time 5
switchport port-security aging type inactivity

 

It will flush the inactive mac addresses each 5 minutes. 

 

To remove port security you can execute:

 

no switchport port-security

no switchport port-security violation 

no switchport port-security maximum

no switchport port-security mac-address

 

 

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Review Cisco Networking for a $25 gift card