QuestionQ95

VerifiedInfrastructure Security

A network administrator configured CoPP to limit all SNMP traffic from Cisco Prime at 192.168.1.11 destined for the router CPU to 1000 kbps. Any traffic exceeding that limit must be dropped.

access-list 100 permit udp any any eq 161  
!  
class-map CM-SNMP  
match access-group 100  
!  
policy-map PM-COPP  
class CM-SNMP  
police 1000 conform-action transmit  
!  
control-plane  
service-policy input PM-COPP  

The administrator is not achieving the intended result for SNMP traffic, and SNMP traffic is being dropped frequently. Which configuration set resolves the issue?

Explanation

A CoPP policer configured as police 1000 uses a rate of 1000 bps, whereas 1000 kbps requires police 1000000. The classification ACL must also match only UDP port 161 traffic sourced from 192.168.1.11; otherwise SNMP traffic from every source consumes the same policer. CoPP must remain applied as an input service policy under control-plane, where traffic destined for the router CPU is policed.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!