cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
539
Views
0
Helpful
1
Replies

Changing class-map from all to any

billmatthews
Level 1
Level 1

I need to add a second port to a class-map, so I need to change it from match-all to match-any.  Do I just remove the old virtual server and re-add it?  

no class-map match-all vs_test

class-map match-any vs_test                                                                                                                      

  2 match virtual-address 10.1.1.10 tcp eq 80

  3 match virtual-address 10.1.1.10 tcp eq 443

1 Reply 1

Daniel Arrondo Ostiz
Cisco Employee
Cisco Employee

Hi Bill,

Yes, you will have to remove the old configuration and define the class-map again. It's not possible to change the type of a class after it has been configured.

Review Cisco Networking for a $25 gift card