10-13-2014 07:59 AM - edited 03-07-2019 09:05 PM
I have enabled port security and tested it...
sw1#show port-security
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count) (Count) (Count)
---------------------------------------------------------------------------
Fa0/9 1 1 1 Shutdown
---------------------------------------------------------------------------
Total Addresses in System (excluding one mac per port) : 0
Max Addresses limit in System (excluding one mac per port) : 1024
How can I get out of this ? How to make the port back to active state ?
sw1#show port-security interface fastEthernet 0/9
Port Security : Enabled
Port Status : Secure-shutdown
Violation Mode : Shutdown
Aging Time : 0 mins
Aging Type : Absolute
SecureStatic Address Aging : Disabled
Maximum MAC Addresses : 1
Total MAC Addresses : 1
Configured MAC Addresses : 0
Sticky MAC Addresses : 1
Last Source Address : 3c97.0e84.aa7d
Security Violation Count : 1
Solved! Go to Solution.
10-14-2014 04:58 AM
Hey Jack,
Adding a link for port-security for references:
http://packetlife.net/blog/2010/may/3/port-security/
HTH.
Regards,
RS.
10-13-2014 08:38 AM
The following solved the issue.
Thanks in advance
sw1(config-if)#no switchport port-security mac-address st
sw1(config-if)#no switchport port-security mac-address sticky
sw1(config-if)#shut
sw1(config-if)#shutdown
sw1(config-if)#no sh
sw1(config-if)#no shutdown
03:23:47: %LINK-5-CHANGED: Interface FastEthernet0/9, changed state to administratively down
sw1(config-if)#no shutdown
sw1(config-if)#
03:23:56: %LINK-3-UPDOWN: Interface FastEthernet0/9, changed state to down
sw1(config-if)#
03:24:06: %LINK-3-UPDOWN: Interface FastEthernet0/10, changed state to up
03:24:08: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up
sw1(config-if)#
sw1(config-if)#
03:24:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to down
03:24:27: %LINK-3-UPDOWN: Interface FastEthernet0/10, changed state to down
03:24:32: %LINK-3-UPDOWN: Interface FastEthernet0/9, changed state to up
03:24:33: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/9, changed state to up
10-14-2014 04:58 AM
Hey Jack,
Adding a link for port-security for references:
http://packetlife.net/blog/2010/may/3/port-security/
HTH.
Regards,
RS.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide