![]() ![]() If you issue a show switchport port-security you´ll see the configured MAC there, but not in the show run! That will recover the port 30min (1800sec) after the violation event! Cool! :)Īnother thing to keep in mind is: the command switchport port-security mac-address by itself will not get the configured MAC Address into the running-configuration of your switch. Fortunately, there´s another way to do that, you can also set it to "autorecovery" using the feature errdisable recovery(global configuration mode), the commands for this are:įor example, if the Port-Security placed a port in ERRDISABLE state, you can set your switch to recovery it like that: errdisable recovery cause psecure-violation When a port enters in the ERRDISABLE state you can do a shutand no shut to recover it! That can be a boring task, if you have many "smart users" in your network. The port will stop transmitting anything in the ERRDISABLE state, also, the port LED will turn off. Shutdown - When a violation occurs in the shutdown mode, it sets the port to ERRDISABLE state.
0 Comments
Leave a Reply. |