Advanced Configuration and Management Guide

continued from previous page

udp

 

eq

 

 

 

 

gt

 

 

lt

 

 

neq

range

bootpc bootps

 

 

 

 

 

 

dns tftp

 

 

 

 

 

 

ntp radius

 

 

 

<CR>

 

 

radius-old rip

 

 

 

 

 

 

snmp snmp-trap

 

 

 

 

 

 

<num>

 

 

 

 

 

 

bootpc bootps

 

 

 

bootpc bootps

 

 

 

 

 

 

 

dns tftp

 

 

 

dns tftp

 

 

ntp radius

 

 

 

ntp radius

 

<CR>

radius-old rip

 

 

 

radius-old rip

 

 

snmp snmp-trap

 

 

 

snmp snmp-trap

 

 

<num>

 

 

 

<num>

 

 

 

 

 

 

 

 

 

ip access-policy-group

 

 

 

in

 

<policy-list>

 

<CR>

 

 

 

 

 

 

 

 

 

 

 

 

 

out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 2.3 QoS IP policy syntax for an HP routing switch (2 of 2)

Switch Syntax

To assign a priority of 7 to FTP traffic on all ports on an HP 6208M-SX switch, enter the following commands:

HP6208(config)# ip policy 1 7 tcp ftp global

HP6208(config)# write memory

To assign a priority of 7 to HTTP traffic on ports 1 and 2 only, enter the following commands:

HP6208(config)# ip policy 2 7 tcp http local

HP6208(config)# int ethernet 1

HP6208(config-if-1)# ip-policy 2

HP6208(config-if-1)# int ethernet 2

HP6208(config-if-2)# ip-policy 2

HP6208(config)# write memory

Syntax: policy <num> priority <0-7> tcp udp <tcp/udp-port-num> global local

[no] ip-policy <num>

The <num> parameter is the policy number.

The priority <0-7> parameter specifies the QoS priority level. The default is 0 (best effort queue, qosp0). The highest priority is 7 (premium, qosp3).

The tcp udp <tcp/udp-port-num> parameter specifies the TCP or UDP port to which you are applying the policy.

The global and local parameters specify the scope of the policy:

If you specify global, the policy applies to all ports.

If you specify local, the policy will apply to the ports you specify. Use the following command on the Interface level of the CLI to apply the policy to a port: ip-policy<num>

2 - 20