Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

multiple port assigning on one VIP in CSS 11501

I have 2 CSS 11501. My question is: can multiple port be assigned to 1 virtual IP on that?

2 REPLIES
Bronze

Re: multiple port assigning on one VIP in CSS 11501

Normally you can with the range option on the ip address but must be in a continues range i thought you could also use it on ports:

owner virtual_sites

content virtual_rule

vip address 200.200.200.1 range 50

port 80

protocol tcp

add service web1

add service web2

active

New Member

Re: multiple port assigning on one VIP in CSS 11501

No, in fact we cannot use the range command for ports. We cannot specify a port range under the content rule.

We have 2 options:

1- Configure the content rule without a specific port, like this:

content virtual_rule

vip address 200.200.200.1

protocol tcp

add service web1

add service web2

active

This content rule will match all the traffic that is comming into the CSS with vip address 200.200.200.1 with any port.

2- Configure a multiple content rules with the same vip address but each one with a specific port like:

content virtual_rule_80

vip address 200.200.200.1

port 80

protocol tcp

add service web1

add service web2

active

-------------

content virtual_rule_8080

vip address 200.200.200.1

port 8080

protocol tcp

add service web1

add service web2

active

and so on...

I will suggest you to configure a content rule per port, because if you open a TAC case or you need to do some troubleshooting this will help a lot since we have a more complete and strong configuration.

Both options works, but I would say that option 2 is the best option.

Hope this help.

-Rodrigo.

418
Views
5
Helpful
2
Replies