cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1590
Views
0
Helpful
2
Replies
Highlighted
Participant

Edit a Class map inside a policy map ?

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 

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
VIP Expert

Re: Edit a Class map inside a policy map ?

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
Highlighted
VIP Expert

Re: Edit a Class map inside a policy map ?

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

Highlighted
Participant

Edit a Class map inside a policy map ?

Thanks Joseph !