Advanced Configuration and Management Guide
continued from previous page
udp |
| eq |
|
| |
|
| gt |
|
| lt |
|
| neq |
range
bootpc bootps |
|
|
|
|
|
|
dns tftp |
|
|
|
|
|
|
ntp radius |
|
|
| <CR> |
|
|
|
|
|
|
|
| |
snmp |
|
|
|
|
|
|
<num> |
|
|
|
|
|
|
bootpc bootps |
|
|
| bootpc bootps |
|
|
|
|
|
|
| ||
dns tftp |
|
|
| dns tftp |
|
|
ntp radius |
|
|
| ntp radius |
| <CR> |
|
|
|
|
| ||
snmp |
|
|
| snmp |
|
|
<num> |
|
|
| <num> |
|
|
|
|
|
|
|
|
|
ip |
|
|
| in |
|
| <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
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)# write memory
Syntax: policy <num> priority
[no]
The <num> parameter is the policy number.
The priority
The tcp udp
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:
2 - 20