policy service source tcp-port
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
port
Defaults
N/A
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
This command is a shortcut for the
•
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
-> policy service serv_5 no source tcp port
Release History
Release 7.1.1; command was introduced.
page 26-26
The name of the service (up to 31 alphanumeric characters).
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).
policy service protocol
QoS Policy Commands
command.
OmniSwitch CLI Reference Guide
March 2011