Reference Guide
3 Set the scheduler as the strict priority in POLICY-MAP-CLASS-MAP mode.
priority
Apply policy-map
1 You can now apply the policy-map to the interface (INTERFACE mode) or all interfaces—SYSTEM-QOS mode.
system qos
OR
interface ethernet node/slot/port[:subport]
2 Enter the output service-policy in SYSTEM-QOS mode or INTERFACE mode.
service-policy {output} type {queuing} policy-map-name
Enable strict priority on class-map
OS10(config)# class-map type queuing magnum
OS10(conf-cmap-queuing)# match queue 7
OS10(conf-cmap-queuing)# exit
OS10(config)# policy-map type queuing solar
OS10(conf-pmap-queuing)# class magnum
OS10(conf-pmap-c-que)# priority
OS10(conf-pmap-c-que)# exit
OS10(conf-pmap-queuing)# exit
OS10(config)# system qos
OS10(conf-sys-qos)# service-policy output solar
View QoS system
OS10(conf-sys-qos)# do show qos system
Service-policy (output)(queuing): solar
Enable strict priority on interface
OS10(config)# interface ethernet 1/1/5
OS10(conf-if-eth1/1/5)# service-policy output type queuing solar
View policy-map
OS10(conf-if-eth1/1/5)# do show policy-map
Service-policy(queuing) output: solar
Class-map (queuing): magnum
priority
Class of service or dot1p classication
Classication allows you to manage network trac by separating it into dierent categories. Packets are identied and categorized into
trac classes. You can use the match command to apply a match to place network trac into specic trac classes.
You can classify the QoS trac based on class of service (CoS) or 802.1 p (dot1p) values. You cannot have two match statements with the
same match criterion. If you enter two match statements with the same match criterion, the second statement overwrites the rst
statement.
1 Create a class-map and qos type in CONFIGURATION mode.
class—map type qos class—map-name
2 Add the match criteria for the CoS values in CLASS-MAP mode. Congure dot1p values of incoming packets to match in single,
comma-delimited, or hyphenated range - 0 to 7.
match cos cos cos-value|cos-list|cos-range
3 Return to CONFIGURATION mode.
exit
4 Enter a policy-map name and qos type in CONFIGURATION mode.
policy-map type qos policy—map-name
Quality of service
551