Implementing Cisco IP Switched Networks (CCNP SWITCH, legacy) — Question 108
After port security is deployed throughout an enterprise campus, the network team has been overwhelmed with port reset requests. They decide to configure the network to automate the process of re-enabling user ports. Which command accomplishes this task?
Answer options
- A. switch(config)# errdisable recovery interval 180
- B. switch(config)# errdisable recovery cause psecure-violation
- C. switch(config)# switchport port-security protect
- D. switch(config)# switchport port-security aging type inactivity
- E. switch(config)# errdisable recovery cause security-violation
Correct answer: B
Explanation
The correct command, B, enables the switch to automatically recover from a port security violation by specifying that the cause is 'psecure-violation'. The other options either set recovery intervals, define port security modes that do not automate recovery, or address different causes of errors that do not specifically pertain to port security violations.