cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2172
Views
0
Helpful
2
Replies

Edit a Class map inside a policy map ?

kthned
Level 3
Level 3

Hi

Is there any way to add a class map entery between two existing entries. In other words, I want to add a class map at position 2 of the follwing list. Is there any way in cisco to do it without deleting the rest of entries ? like sequence number etc ?

policy-map policy-default-autocopp

  class class-copp-mcast-v4-data-on-routedPort

   police rate 10 pps burst 1 packets  
     conform-action drop  
     exceed-action drop 

Here I want to add a custom entry 

  class class-copp-mcast-v6-data-on-routedPort

   police rate 10 pps burst 1 packets  
     conform-action drop  
     exceed-action drop 

  class class-copp-icmp-redirect-unreachable

   police rate 100 pps burst 10 packets  
     conform-action transmit  
     exceed-action drop 

  class class-copp-ucast-rpf-fail

   police rate 100 pps burst 10 packets  
     conform-action transmit  
     exceed-action drop 

  class class-copp-vacl-log

   police rate 2000 pps burst 1 packets  
     conform-action transmit  
     exceed-action drop 

  class class-copp-mcast-punt

   police rate 1000 pps burst 256 packets  
     conform-action transmit  
     exceed-action drop 

  class class-copp-mcast-copy

   police rate 1000 pps burst 256 packets  
     conform-action transmit  
     exceed-action drop 

  class class-copp-ip-connected

   police rate 1000 pps burst 256 packets  
     conform-action transmit  
     exceed-action drop 

1 Accepted Solution

Accepted Solutions

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

Not that I'm aware of.  I do it like you use to need to do it before ACLs supported sequence number, drop and re-add.

View solution in original post

2 Replies 2

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

Not that I'm aware of.  I do it like you use to need to do it before ACLs supported sequence number, drop and re-add.

Thanks Joseph !

Review Cisco Networking for a $25 gift card