Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
QoS Policy Commands
page 53-38
OmniSwitch CLI Reference Guide
September 2009
policy condition
Creates a QoS policy condition. The condition determines what parameters the switch uses to classify 
incoming flows. Condition parameters may be configured when the condition is created; or parameters 
may be configured for an existing condition. At least one parameter must be configured for a condition. 
This section describes the base command. Optional keywords are listed below and described as separate 
commands later in this chapter. (Options may be used in combination but are described separately for ease 
in explanation.) Use the no form for keywords to remove a parameter from the condition.
Some condition parameters may not be supported depending on the platform you are using. Also some 
condition parameters may not be supported with some action parameters. See the condition/action tables in 
the OmniSwitch AOS Release 6 Network Configuration Guide.
policy condition condition_name 
[source ip ip_address [mask netmask]]
[source ipv6 {any | 
ipv6_address [mask netmask]}
[destination ip 
ip_address [mask netmask]]
[destination ipv6 {any | 
ipv6_address [mask netmask]}
[multicast ip 
ip_address [mask netmask]]
[source network group 
network_group]
[destination network group 
network_group]
[multicast network group 
multicast_group]
[source ip port 
port[-port]]
[destination ip port 
port[-port]]
[source tcp port 
port[-port]]
[destination tcp port 
port[-port]]
[source udp port 
port[-port]]
[destination udp port 
port[-port]]
[ethertype 
etype]
[established]
[tcpflags {any | all} 
flag [mask flag]
[service 
service]
[service group 
service_group]
[icmptype 
type]
[icmpcode 
code]
[ip protocol 
protocol]
[ipv6]
[nh 
next_header_value]
[flow-label 
flow_label_value]
[tos 
tos_value tos_mask]
[dscp {
dscp_value[-value} [dscp_mask]]
[source mac 
mac_address [mask mac_mask]]
[destination mac 
mac_address [mask mac_mask]]
[source mac group 
group_name]
[destination mac group 
mac_group]
[source vlan 
vlan_id]
[destination vlan 
vlan_id]
[802.1p 
802.1p_value]