Global QoS classifier precedence: 3
You can assign a maximum of 64 ToS rules. This feature applies only to IPv4 traffic and performs either of the following:
- ToS IP-precedence mode: All IP packets generated by upstream devices and applications include precedence bits in the ToS byte. Using this mode, the switch uses these bits to compute and assign the corresponding 802.1p priority.
- ToS Differentiated Services (Diffserv) mode: This mode requires knowledge of the codepoints set in IP packets by the upstream devices and applications. It uses the ToS codepoint in IP packets coming from upstream devices and applications to assign 802.1p priorities to the packets. You can use this option to do both of the following:
- Assign a new prioritization policy: A “policy” includes both a codepoint and a corresponding 802.1p priority. This option selects an incoming IPv4 packet on the basis of its codepoint and assigns a new codepoint and corresponding 802.1p priority. (Use the
qos dscp-map
command to specify a priority for any codepoint; see Differentiated Services Codepoint (DSCP) mapping.) - Assign an 802.1p priority: This option reads the DSCP of an incoming IPv4 packet and, without changing this codepoint, assigns the 802.1p priority to the packet, as configured in the DSCP Policy Table (Differentiated Services Codepoint (DSCP) mapping). This means that a priority value of 0 – 7 must be configured for a DSCP before the switch will attempt to perform a QoS match on the packet’s DSCP bits.
qos dscp-map
command to configure the desired 802.1p priorities for the codepoints you want to use for either option. See Differentiated Services Codepoint (DSCP) mapping for more information. - Assign a new prioritization policy: A “policy” includes both a codepoint and a corresponding 802.1p priority. This option selects an incoming IPv4 packet on the basis of its codepoint and assigns a new codepoint and corresponding 802.1p priority. (Use the
Unless IP-Precedence mode and Diffserv mode are both disabled (the default setting), enabling one automatically disables the other.