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

how to change the order of match in a class-map

ismailsh12
Level 1
Level 1

Hi,

Is there a way i can change the order of match in a class-map for example i have below class-map configured

class-map match-any BULK-TRAFFIC-CL

match access-group name ANTIVIRUS-ACL
match access-group name EMAIL-ACL
match access-group name FILECOPY-ACL
match access-group name INTERNET-ACL

is there a way i can change the order of the match access-group without removing and re-adding the complete class-map?  I would like to put the match access-group EMAIL-ACL first before ANTIVIRUS-ACL

Thank you

regards,

Ismail

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 wha2tsoever (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

I believe it can be done similar to ACLs before ACL editing.

i.e.

class-map BULK-TRAFFIC-CL

no match access-group name ANTIVIRUS-ACL

match access-group name ANTIVIRUS-ACL

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 wha2tsoever (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

I believe it can be done similar to ACLs before ACL editing.

i.e.

class-map BULK-TRAFFIC-CL

no match access-group name ANTIVIRUS-ACL

match access-group name ANTIVIRUS-ACL

Philip D'Ath
VIP Alumni
VIP Alumni

99% no.  I always have to remove the whole thing and put it back.