Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
QoS Policy Commands
page 53-30
OmniSwitch CLI Reference Guide
September 2009
policy service source tcp port
Configures a service with a source TCP port or port range that may be used as part of a policy service 
group or included as part of a policy condition.
policy service service_name source tcp port port[-port]
no policy service service_name 
policy service service_name no source tcp port
Syntax Definitions
service_name
The name of the service (up to 31 alphanumeric characters).
port
The well-known port number (or port range) for the desired TCP 
service. For example, the port number for Telnet is 23. A port range 
should be separated by a hyphen (for example, 22-23).
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• This command is a shortcut for th
• 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.
• Ports associated with a particular service must all be of the same type. (The destination tcp port 
keyword may be used with this command; other keywords for the command are not allowed.)
• If the snapshot command is entered after the policy service command is configured, the resulting 
ASCII file will include the following additional syntax for the policy service command: 
from {cli | ldap | blt}
This syntax indicates how the service was created. The cli and ldap options may be changed by a user 
modifying the ASCII file; however, changing this setting is not recommended. The blt option indicates 
a built-in object, this setting is not configurable.
Examples
-> policy service serv_5 source tcp port 21-22
Release History
Release 6.1; command was introduced.