Header Only - DO NOT REMOVE - Extreme Networks

QoS on specific TCP port.


Userlevel 4
Create Date: Jun 28 2012 10:48AM



I'm new, and need help setting a QoS profile for a specific TCP port. How would I set a profile that prioritized traffic to and from a specific ip port? For example give all traffic from TCP port 2000 a priority of qp3 on all physical ports of my switch? I am currently running a 450e.

Thanks, Tyler.



(from Tyler_Dami)

16 replies

Userlevel 4
Create Date: Jul 3 2012 6:57AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jun 28 2012 11:29AM

This is what i've gathered from the internet.

create qosprofile qp2

create access-list smb tcp destination any ip-port range 445 445 source any ip-port range 445 445 permit qosprofile qp2 ports any

conf qosprofile egress qp2 minbw 0 maxbw 50 ports any

Would that work to restrict the bandwidth that windows file operation use?

Thanks!



(from Tyler_Dami)
Userlevel 4
Create Date: Jun 28 2012 12:55PM

Hey Tyler

There are two types of access-lists in XOS dynamic and static. Static ACLs require a policy file that has the entries for the type of traffic you want to look at. Static ACLs will exist after a reboot dynamic will not and are usually done as part of a script where you want to affect traffic based on a network event.

In this case I think what you want is a static script. The policy file can be created on the switch using vi (if you are comfortable with vi) or created in a txt editor and TFTPed to the switch.

You are correct that you first need to create a qosprofile.

Create qosprofile qp2 (this adds the queue on all ports)

Here's how the policy would be built. Please look in the concepts guide for all of the options for the match and action modifiers.

entry allow_tcp_2000_source {
if {
protocol tcp;
source-port 2000;
} then {
permit;
count tcp_2000_1;
qosprofile qp2;
}
}
entry allow_tcp_2000_dest {
if {
protocol tcp;
destination-port 2000;
} then {
permit;
count tcp_2000_2;
qosprofile qp2;
}
}

You can see if these ACLs are working by doing a show access-list counters in addition you can look on a port level at the qosmonitor using the show port 1 qosm

Let me know if this helps.

P (from Paul_Russo)
Userlevel 4
Create Date: Jun 28 2012 8:47PM

Thanks! I really appriciate it. Once I get the policy uploaded, how do I activate it? Is there an online reasource with this information?

Thanks Again!,



Tyler

(from Tyler_Dami)
Userlevel 4
Create Date: Jun 28 2012 8:53PM

conf access-list acldemo



any ANY HELP ports PORTS HELP vlan VLAN HELP So; configure access-list acldemo ports 1-12 (from Richard_Porter)
Userlevel 4
Create Date: Jul 3 2012 6:51AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:54AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:54AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:54AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:54AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:54AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:54AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:54AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:57AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:57AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)
Userlevel 4
Create Date: Jul 3 2012 6:57AM

Hi again and thanks for the information.

I still do not understand how to apply the policy. I have it on the switch, in a file called qos.pol. I want to enable it accross all of the ports on the switch. I am completely new at this - I don't know the command syntax very well. Your help is much appriciated!

(from Tyler_Dami)

Reply