I am trying to setup a LB condition based on SOURCE-ADDRESSES.
I did the following:
1) created class-map:
- class-map match-any SRC_LB
2 match source-address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
- defined policy-map
policy-map type loadbalance first-match SRC_LB_PCY
- and finally did:
policy-map multi-match SRC_PCY
loadbalance policy SRC_LB_PCY
BUT it says:
Error: LB action requires match vip command!
I want to match on Source-IP - not on Dst-IP.
Could you please help me ?