10-31-2012 09:12 AM - edited 03-07-2019 09:47 AM
I'm configuring CoPP for an ASR 1001 router with consolidated IOS XE Version: 03.07.01.S. And I'm trying to use 'DROP' command under policy map to drop
un wanted traffic. But the drop command is not listed. Did Cisco remove it or I'm doing something wrong here?
Thank you
internet-rtr2(config)#policy-map CoPP
internet-rtr2(config-pmap)# class CoPP-pre-undesirable
internet-rtr2(config-pmap-c)#?
Policy-map class configuration commands:
aaa-accounting AAA Accounting
account Account statistic
bandwidth Bandwidth
compression Activate Compression
exit Exit from QoS class action configuration mode
fair-queue Enable Flow-based Fair Queuing in this Class
netflow-sampler NetFlow action
no Negate or set default values of a command
police Police
priority Strict Scheduling Priority for this Class
queue-limit Queue Max Threshold for Tail Drop
random-detect Enable Random Early Detection as drop policy
service-policy Configure QoS Service Policy
set Set QoS values
shape Traffic Shaping
Solved! Go to Solution.
10-31-2012 11:07 AM
Hey.....drop is not a valid command on ASR IOS XE. It was never available. If it is mentioned in any cisco document, then its a documentation error. You need to use it with a policer - e.g. police 90000 conform-action transmit exceed-action 'drop'
HTH.
10-31-2012 12:43 PM
Just use this workaround -
police circonform-action drop exceed-action drop violate-action drop
Or as shown in -
use
Router(config-pmap)# class icmp-class
Router(config-pmap-c)# conform-action drop
PS: Rate the post if it helped
10-31-2012 11:07 AM
Hey.....drop is not a valid command on ASR IOS XE. It was never available. If it is mentioned in any cisco document, then its a documentation error. You need to use it with a policer - e.g. police 90000 conform-action transmit exceed-action 'drop'
HTH.
10-31-2012 12:30 PM
thank you- but I don't want to police that traffic. I want to drop it like I'm doing with 3825 IOS router. Is there another way to do it?
10-31-2012 12:43 PM
Just use this workaround -
police circonform-action drop exceed-action drop violate-action drop
Or as shown in -
use
Router(config-pmap)# class icmp-class
Router(config-pmap-c)# conform-action drop
PS: Rate the post if it helped
11-01-2012 06:50 AM
Thank you
11-02-2012 05:47 PM
You are welcome. Glad to help. Pls tag this as 'answered' if you are satisfied (and dont forget to rate it). :-)
11-07-2012 06:13 AM
thank you
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