QoS Policy Commands
page 39-58 OmniSwitch CLI Reference Guide November 2009
policy condition source tcp port
Configures a source TCP port number for a policy condition.
policy condition condition_name source tcp port port[-port]
policy condition condition_name no source tcp port
Syntax Definitions
condition_name The name of the condition.
port The TCP port number of the source address of the Layer 3 flow, in the
range from 0–65535. A range of ports (separated by a hyphen) may be
specified instead of a single port.
Defaults
N/A
Platforms Supported
OmniSwitch 6250
Usage Guidelines
• Use the no form of the command to remove a source TCP port from a condition; however, at least one
classification parameter must be associated with a condition.
• This command is a shortcut for the policy condition source ip port command, which requires that the
protocol also be specified. Rather than specifying source ip port and ip protocol, use source tcp port.
• The same condition cannot specify a source TCP port with a service or service group.
• IP port protocol types cannot be mixed in the same condition; ports must be either TCP or UDP.
• Use this condition in combination with the IPv6 condition (policy condition ipv6) to configure IPv6
policies for Layer 4 information, services, and service groups.
Examples
-> policy condition cond3 source tcp port 137
-> policy condition cond4 ipv6 source tcp port 21
-> policy condition cond3 no source tcp port
Release History
Release 6.6.1; command was introduced.