Specifications

qos set ip
596 SSR Command Line Interface Reference Manual
<protocol>|any
Specifies the transport layer protocol for which you are assigning priority. You can
specify one of the following values:
tcp Assigns the priority parameters to the TCP protocol.
udp Assigns the priority parameters to the UDP protocol.
any Assigns the priority parameters to both the TCP and UDP protocols.
<tos-mask>
Specifies the mask that is used for the TOS byte. Specify a number from 1-255 or any
to specify any TOS value. The default is 30.
<tos-precedence-rewrite>
Rewrites the precedence portion of the TOS field with a new value. Specify a number
from 0-7 or any to specify any TOS value.
<tos-rewrite>
Rewrites the entire TOS field with a new value. Specify a number from 0-31 or any to
specify any TOS value.
Note: If you set any for the TOS precedence rewrite and specify a value for <tos-rewrite>,
then the precedence portion of the TOS field remains the same as in the packet,
but the rest of the TOS field is rewritten. If you specify values for both <tos-
precedence-rewrite> and <tos-rewrite>, then the precedence portion of the TOS field
is rewritten to the new <tos-precedence-rewrite> number and the rest of the TOS
field is rewritten to the new <tos-rewrite> number.
Restrictions
None.
Examples
The following command creates a flow called “flow1”. This flow provides a template for
an IP packet with the IP address 1.1.1.1, network mask 255.255.0.0, destination address
2.2.2.2 (and implied destination mask 255.255.255.255). The flow includes source
TCP/UDP port 3010, destination port 3000, a TOS of 15, the interfaces mls1 and mls2, and
the TCP protocol as transport layer. This very explicit flow has the highest priority—
control.
ssr(config)# qos set ip flow1 control 1.1.1.1/255.255.0.0 2.2.2.2 3010
3000 15 mls1, mls2 tcp