cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
850
Views
0
Helpful
3
Replies

Can you add one L3-class to two different policy maps ?

Hidayat Khan
Level 1
Level 1

Hi Experts;

                Requirement is to have requests from outside as well as inside from different vlan Server to our Production Servers.At present all requests are coming from inside vlan via policy-map multi-match L3_XYZ.  See Example below

policy-map multi-match L3_XYZ

class L3_PROD

   loadbalance vip inservice

   loadbalance policy L7_PROD

   loadbalance vip icmp-reply active

policy-map multi-match L3_OUTSIDE


class L3_PROD

   loadbalance vip inservice

   loadbalance policy L7_PROD

   loadbalance vip icmp-reply active

Many thanks

Regards

1 Accepted Solution

Accepted Solutions

Borys Berlog
Cisco Employee
Cisco Employee

Hi Hidayat

yes, class map alone doesn't have any deep meaning and can be reused in many policy maps. Actually policy maps can be reused too, so in your particular example you can put the same policy map on 2 different interfaces. (Sometimes it's a good idea, if requirements are the same for traffic coming from both interfaces or if requirements are diffrent - it's better to create a new one, but class-map definitely can be reused.)

View solution in original post

3 Replies 3

Borys Berlog
Cisco Employee
Cisco Employee

Hi Hidayat

yes, class map alone doesn't have any deep meaning and can be reused in many policy maps. Actually policy maps can be reused too, so in your particular example you can put the same policy map on 2 different interfaces. (Sometimes it's a good idea, if requirements are the same for traffic coming from both interfaces or if requirements are diffrent - it's better to create a new one, but class-map definitely can be reused.)

Thanks Borys,

                     I will test in a day or two and will reply with the result.

Many thanks

Regards

Hi Borys,

             Thanks for your answer, indeed it worked perfect for me.

Regards