Qos policy for layer 4 tcp/udp traffic, Qos policy for subnet traffic, Qos policy for layer 4 tcp/udp traffic -87 – HP 5400ZL User Manual

Page 309: Qos policy for subnet traffic -87

Advertising
background image

Quality of Service: Managing Bandwidth More Effectively

Advanced Classifier-Based QoS

QoS Policy for Layer 4 TCP/UDP Traffic

The following example shows how to configure a rate-limiting policy for TCP/
UDP application streams and apply the policy on all inbound switch ports.

ProCurve# class ipv4 http

ProCurve(config-class)# match tcp any any eq 80

ProCurve(config-class)# match tcp any any eq 443

ProCurve(config-class)# match tcp any any eq 8080

ProCurve(config-class)# exit

ProCurve# class ipv4 kazaa

ProCurve(config-class)# match tcp any eq 1214 any

ProCurve(config-class)# match tcp any any eq 1214

ProCurve(config-class)# exit

ProCurve# class ipv4 gnutella

ProCurve(config-class)# match tcp any range 6346 6347 any

ProCurve(config-class)# match tcp any any range 6346 6347

ProCurve(config-class)# match udp any range 6346 6347 any

ProCurve(config-class)# match udp any any range 6346 6347

ProCurve(config-class)# exit

ProCurve# policy qos PrioritizeSuspectTraffic

ProCurve(config-policy)# class ipv4 http action rate-limit kbps 7000

ProCurve(config-policy)# class ipv4 kazaa action rate-limit kbps 3500

ProCurve(config-policy)# class ipv4 gnutella action rate-limit kbps 3500

ProCurve(config-policy)# exit

ProCurve# interface all service-policy PrioritizeSuspectTraffic in

Figure 6-38. Example of a QoS Policy for TCP/UDP Applications on Inbound Port Interfaces

QoS Policy for Subnet Traffic

The next example shows how to configure a QoS policy that prioritizes
inbound traffic sent to and received from a specified subnet (15.29.16.0/10)
and TCP port range on VLAN 5.

ProCurve# class ipv4 adminTraffic

ProCurve(config-class)# match ip 15.29.16.1/10 any

ProCurve(config-class)# match ip any 15.29.16.1/10

ProCurve(config-policy)# exit

ProCurve# vlan 5 service-policy prioritizeAdminTraffic in

ProCurve(config-class)# match tcp ::/0 ::/0 range 100 200 ip-dscp 46

ProCurve(config-class)# exit

ProCurve# policy prioritizeAdminTraffic

ProCurve(config-policy)# class ipv4 adminTraffic action priority 7

Match statement with IPv6 source
and destination addresses.

Figure 6-39. Example of a QoS Policy for IPv4 and IPv6 Subnet Traffic on a VLAN Interface

6-87

Advertising
This manual is related to the following products: