policy service protocol
Configures a service with a protocol and IP 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 protocol protocol {[source ip port port[-port]]
[destination ip port port[-port]]}
no policy service service_name
policy service service_name [no source ip port] [no destination ip port]
Syntax Definitions
service_name
protocol
port
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 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. (A protocol value cannot be removed from a service.)
•
Shortcut commands for the
source tcp
port,
service destination udp
•
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 telnet2 protocol 6 destination ip port 23 source ip port 22
-> policy service telnet2 no source ip port
page 33-32
The name of the service (up to 31 alphanumeric characters).
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.
The well-known port number (or port range) for the desired service. For
example, the port number for Telnet is 23. A port range should be sepa-
rated by a hyphen (for example, 22-23).
policy service protocol
policy service destination tcp
port.
command include the following:
port,
policy service source udp
OmniSwitch CLI Reference Guide
QoS Policy Commands
policy service
port, and
policy
June 2012