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. And see here for current known issues.

New Member

CSS Port Range Command

Hi

while configuring the CSS Service, i want to allow the request for wide range of ports.

To meet the requirement i am configuring as below:

port 7051 range 949

Will this allow the request from different ports

Say a request from 7051, 7099 to pass successfully?

Or it will respond in sequential only llike 7051, 7052,etc.,

Appreciate your response

regards

R.Sundara Rajan

6 REPLIES
Cisco Employee

Re: CSS Port Range Command

there is no 'range' option' for the port commands.

The only range option is for the vip address and it is honestly a special concept so very limited usability.

Gilles.

New Member

Re: CSS Port Range Command

Hi Gilles,

Correct command is port 7051 949

range will get displayed in the sh run of the configuration .

Let me know if this will work for my requests anything coming in for 7051, 7067, 7097,etc.,

regards

R.Sundara Rajan

Cisco Employee

Re: CSS Port Range Command

There is no such thing on the CSS.

CSS11503-2(config-owner[gdufour])# content WWW

CSS11503-2(config-owner-content[gdufour-WWW])# port ?

Specify the content's port (Range: 0-65535)

CSS11503-2(config-owner-content[gdufour-WWW])# port 80 ?

Execute command

CSS11503-2(config-owner-content[gdufour-WWW])# port 80 81

^

%% Invalid input detected at '^' marker.

You can only specify 1 port or no port [which means any port].

Gilles.

New Member

Re: CSS Port Range Command

Hi Gilles

Not in Owner Configuration

I am referring only Services configuration.

CSS - 11800

service A

keepalive type tcp

keepalive port 7051

ip address x.x.x.x

port 7051 range 950

active

content Z

add service A

vip address x.x.x.x

primarySorryServer B

protocol tcp

active

Let me know whether it will accept the requests that are coming through various ports 7051, 7057, 7091,etc.,

regards

R. Sundara Rajan

Cisco Employee

Re: CSS Port Range Command

No, this range option is not for what port the CSS will be listening.

The port command from the content rule defines what the CSS will be listening for.

So if you have a content rule with port 7051, the CSS only accept connections for this port.

If you need to accept more ports, you have to either not specify any port or create a rule for each port you need.

On the service itself, if you do not need port nating, just do not specify any port.

The port command under the service definition is if you need to do port nating.

So, the range option that are refering to is not going to do what you need.

Gilles.

New Member

Re: CSS Port Range Command

Hi Gilles,

Thanks for the clarification.

I will opt for not specifying any port on the Content Rule and Services so that wide range of ports are allowed.

regards

R.Sundara Rajan

792
Views
4
Helpful
6
Replies
CreatePlease to create content