Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
QoS Policy Commands
OmniSwitch CLI Reference Guide
September 2009
page 53-25
policy service
Configures a service that may be used as part of a policy service group or included as part of a policy 
condition. A service is a source and/or destination TCP or UDP port or port range.
This overview section describes the base command. At least one option must be configured with the base 
command.
 Some options may be used in combination; some options are shortcuts for keyword combina-
tions (see the Usage Guidelines). Options are described as separate commands. See the command descrip-
tions and usage guidelines for valid combinations.
Use the no form for keywords to remove a parameter from a service.
policy service service_name 
[protocol protocol
[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]]
no policy service service_name 
Syntax Definitions
service_name
The name of the service (up to 31 alphanumeric characters).
protocol
The protocol associated with the service. The range of values is 0–255. 
Currently a value of 6 (for TCP) or 17 (for UDP) is supported. This 
value must be specified for source ip port or destination ip port; it 
cannot be specified for source tcp portdestination tcp portsource 
udp port
, or destination udp port.
port
The well-known port number (or port range) for the desired service. For 
example, the port number for Telnet is 23. Specify a range of ports 
using a hyphen (for example, 22-23).
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of the command to remove a service from the configuration, or to remove parameters 
from a particular service. Note that at least one parameter must be associated with a service.