policy service protocol
QoS Policy Commands
page 26-24
OmniSwitch CLI Reference Guide
March 2011
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 | destination ip-port}
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.
port
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
).
Defaults
N/A
Platforms Supported
OmniSwitch 10K
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
policy service protocol
command include the following:
policy service
source tcp-port
,
policy service destination tcp-port
,
policy service source udp-port
, and
policy
service destination udp-port
.
•
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
Summary of Contents for 060321-10, Rev. B
Page 1: ...Part No 060321 10 Rev B March 2011 OmniSwitch CLI Reference Guide www alcatel lucent com...
Page 36: ...Technical Support About This Guide page xxxvi OmniSwitch CLI Reference Guide March 2011...
Page 108: ...show udld status port UDLD Commands page 2 22 OmniSwitch CLI Reference Guide March 2011...
Page 142: ...show vlan members VLAN Management Commands page 4 16 OmniSwitch CLI Reference Guide March 2011...
Page 922: ...show ip ospf restart OSPF Commands page 17 88 OmniSwitch CLI Reference Guide March 2011...
Page 968: ...show ipv6 ospf interface OSPFv3 Commands page 18 46 OmniSwitch CLI Reference Guide March 2011...
Page 1414: ...show ip dvmrp tunnel DVMRP Commands page 22 34 OmniSwitch CLI Reference Guide March 2011...
Page 1540: ...show ipv6 pim sgroute PIM Commands page 23 126 OmniSwitch CLI Reference Guide March 2011...
Page 1888: ...show aaa priv hexa AAA Commands page 28 58 OmniSwitch CLI Reference Guide March 2011...
Page 1902: ...show port mapping Port Mapping Commands page 29 14 OmniSwitch CLI Reference Guide March 2011...
Page 1960: ...show sflow poller sFlow Commands page 32 18 OmniSwitch CLI Reference Guide March 2011...
Page 2226: ...ftp File Management Commands page 42 38 OmniSwitch CLI Reference Guide March 2011...
Page 2284: ...show snmp trap config SNMP Commands page 45 32 OmniSwitch CLI Reference Guide March 2011...
Page 2294: ...show dns DNS Commands page 46 10 OmniSwitch CLI Reference Guide March 2011...
Page 2350: ...OmniSwitch CLI Reference Guide March 2011 page 22 DNS Commands...