07-06-2011 11:33 AM
Hello Everyone,
I have a requirement to select a farm based on source IP address. I tried creating a match all class-map that matches on the virtual-address and source address but I get this message.
LB01/Admin(config-cmap)# match source-address x.x.x.75 255.255.255.255
Error: Only one match virtual-address is allowed in a match-all class-map and it cannot mix with any other match type
To me this is the only place where it makes sense to set the source match criteria.
I would apprecitate documentation or insight on how I can do this.
Best Regards
Solved! Go to Solution.
07-06-2011 02:22 PM
Hi David,
This post may help you to get this working: (You don't want to add the match source-address command within the same
class-map that is matching the VIP)
https://supportforums.cisco.com/message/3389845#3389845
HTH
__ __
Pablo
07-06-2011 02:22 PM
Hi David,
This post may help you to get this working: (You don't want to add the match source-address command within the same
class-map that is matching the VIP)
https://supportforums.cisco.com/message/3389845#3389845
HTH
__ __
Pablo
07-06-2011 09:49 PM
Hello, David
That error which you are getting is totally expected since you are using an equivalent matching method in both cases, then the ACE won´t know which to select one.
Perhaps, what you can do is to use a second class-map which will be match under the policy-map of the original class-map
I wonder why you would like to match both, the vip and the source address?
Jorge
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