Dell S5148F-ON OS10 Enterprise Edition User Guide Release 10.3.2E-R2 - Page 449
Mark traffic, Class of service marking
View all Dell S5148F-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 449 highlights
2 Apply the L3 precedence match criteria for the QoS policy in the CLASS-MAP configuration mode. Configure the match IP precedence value as single, comma-delimited, or hyphenated range-0 to 7. Use the match not command to match all values except the values configured. • match ip precedence precedence-value | precedence-list | precedence-range-IPv4 protocol use • match ipv6 precedence precedence-value | precedence-list | precedence-range-IPv6 protocol use 3 Enter a policy-map name and type qos in CONFIGURATION mode. policy-map type qos policy-map-name 4 Associate a policy-map with a class-map in POLICY-MAP mode. class class-map-name 5 Enter a queue number for matched flow as qos-group ID in POLICY-MAP-CLASS-MAP mode-0 to 7. set qos-group queue-number Configure IP precedence classification OS10(config)# class-map type qos bluedscp OS10(conf-cmap-qos)# match ip precedence 5 OS10(conf-cmap-qos)# exit OS10(config)# policy-map type qos reddscp OS10(conf-pmap-qos)# class bluedscp OS10(conf-pmap-c-qos)# set qos-group 6 View policy-map OS10(conf-pmap-c-qos)# do show policy-map Service-policy(qos) input: reddscp Class-map (qos): bluedscp set qos-group 6 OS10(conf-pmap-c-qos)# do show policy-map Service-policy(qos) input: pmap1 Class-map (qos): class-trust trust dot1p Mark traffic Marking allows you to add or set the 802.1p priorities to a L2 header, or set the DSCP value to L3 header. You can mark classified traffic with a traffic-class ID (qos-group Id) as well. Since traffic-class ID (qos-group ID) and queue ID have a one-to-one mapping, you can use qos-group and queue interchangeably. Marking packet fields allows you to identify the traffic type based on the configured QoS information for a specific packet. CoS (or dot1P values) DSCP QoS group Use the set cos dot1p-values command to mark the CoS field - 0 to 7. Use the set dscp dscp-values command to mark the DSCP field - 0 to 63. Use the set qos-group queue-number command to mark the QoS Group field - 0 to 11. Class of service marking To tag an incoming packet with 802.1p priorities, or modify incoming packets you can mark class of service (CoS). The set cos command is only supported under the ingress QoS policy type qos. 1 Create a policy-map of type qos and configure a name for the policy-map in CONFIGURATION mode. policy-map type qos policy-map-name 2 Configure a QoS class for classified traffic in POLICY-MAP mode (up to 32 characters). class class-name 3 Configure marking for CoS in POLICY-MAP-CLASS-MAP mode (0 to 7). set cos dot1p-value Quality of service 449