05-11-2005 07:29 AM - edited 03-02-2019 10:44 PM
i enable port-security in one port of my catalyst 2950, and add a mac addres for this port and if it wasnt the mac address the port will shutdown because the violation, but i did this in 4 ports, and only work in one because in the other ports even if the mac addres was other the port wont shutdown and the port that shutdwon it follows shutdown and i dont know how to enable the port, i enter to the configuration mode, and enter to the interface and write no shutdown but doesnt work, can anybody help me to enable the port again and tell me why the port-security only work in one port
05-17-2005 11:27 AM
If a secure port has been shut down as a result of a security violation, you can bring it out of this state by entering the errdisable recovery cause psecure-violation global configuration command, or you can manually reenable it by entering the shutdown and no shut down interface configuration commands. Hope this helps.
05-17-2005 05:26 PM
switch has 4 steps to learn mac-address. By default, automaticall learn mac-address, so At first, to enable again, interface should be shutdown.
and then disable port-security and command again.
here is a example..
router(config-if)# shutdown
router(config-if)# no shutdown
router(config-if)# switchport port-security
router(config-if)# switchport port-security maximum 4 =========== up to 1024
router(config-if)# switchport port-security violation restrict (or shutdown)
router(config-if)# switchport port-security mac-address 00e0.4cc7.1111
router(config-if)# switchport port-security mac-address 00e0.4cc7.2222
router(config-if)# switchport port-security mac-address 00e0.4cc7.3333
router(config-if)# switchport port-security mac-address 00e0.4cc7.4444
and...refer to your question...
sometimes, i discovered this kind of symtoms. the best solution is shutting down.
hopes my helps
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