A network engineer is implementing Control Plane Policing (CoPP) on a Cisco IOS XE router to protect against route processor overload. The engineer creates a class map matching OSPF and BGP traffic and a policy map that polices this traffic to 1 Mbps with a burst of 2000 bytes. After applying the policy map to the control plane, the engineer notices that OSPF adjacencies flap intermittently. Which action should the engineer take to resolve the flapping?
Trap 1: Disable OSPF authentication to reduce packet size and processing…
OSPF authentication does not significantly affect packet size or processing overhead in a way that would cause flapping due to CoPP. Disabling authentication would weaken security and not solve the policer dropping packets. The flapping is due to the policer rate, not authentication. The correct fix is to adjust CoPP parameters.
Trap 2: Configure a higher priority queue for OSPF traffic in the policy…
CoPP uses policing, not queuing, to rate-limit traffic. Priority queuing is not a feature of CoPP policy maps. While prioritization could help, the immediate issue is that the policer rate is too low, causing drops. Increasing the policed rate and burst size directly addresses the drops and resolves the flapping.
Trap 3: Apply the policy map to all interfaces instead of the control plane.
CoPP is specifically applied to the control plane to protect the route processor. Applying the policy to interfaces would affect data plane traffic and not protect the control plane. Moreover, it would not address the OSPF flapping caused by the policer dropping legitimate OSPF packets. The correct action is to adjust the policer parameters.
- A
Disable OSPF authentication to reduce packet size and processing overhead.
Why it fails: OSPF authentication does not significantly affect packet size or processing overhead in a way that would cause flapping due to CoPP. Disabling authentication would weaken security and not solve the policer dropping packets. The flapping is due to the policer rate, not authentication. The correct fix is to adjust CoPP parameters.
- B
Configure a higher priority queue for OSPF traffic in the policy map.
Why it fails: CoPP uses policing, not queuing, to rate-limit traffic. Priority queuing is not a feature of CoPP policy maps. While prioritization could help, the immediate issue is that the policer rate is too low, causing drops. Increasing the policed rate and burst size directly addresses the drops and resolves the flapping.
- C
Apply the policy map to all interfaces instead of the control plane.
Why it fails: CoPP is specifically applied to the control plane to protect the route processor. Applying the policy to interfaces would affect data plane traffic and not protect the control plane. Moreover, it would not address the OSPF flapping caused by the policer dropping legitimate OSPF packets. The correct action is to adjust the policer parameters.
- D
Increase the policed rate and burst size to accommodate legitimate routing protocol traffic.
Intermittent OSPF adjacency flapping indicates that legitimate OSPF packets are being dropped due to the policer rate being too low. Increasing the rate and burst size allows the routing protocol traffic to pass without being policed, stabilizing the adjacencies. CoPP policies must be tuned to permit normal control plane traffic while still protecting against attacks.