policy service destination tcp-port
policy service destination tcp-port
Configures a service with a destination 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 destination tcp-port port[-port]
no policy service service_name
policy service service_name no destination tcp-port
Syntax Definitions
service_name
port
Defaults
N/A
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
Use the no form of this command to remove a service from the configuration, or to remove parameters
from a particular service.
•
This command is a shortcut for the
•
A policy service may be grouped in a policy group using the policy service group command. A policy
condition may then be associated with the service group.
•
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 service4 destination tcp-port 23
-> policy service service4 no destination tcp-port
Release History
Release 7.1.1; command was introduced.
page 26-28
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