Connectivity Guide
1 Dene a policy-map and create a policy-map name CONFIGURATION mode.
policy-map type queuing policy-map-name
2 Create a QoS class and congure a name for the policy-map in POLICY-MAP mode.
class class-map-name
3 Set the scheduler as strict priority in POLICY-MAP-CLASS-MAP mode.
priority
Apply policy-map
1 Apply the policy-map to the interface in INTERFACE mode or all interfaces in 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
Rate adjustment
QoS features such as policing and shaping do not include overhead elds such as Preamble, smart frame delimiter (SFD), inter-frame gap
(IFG), and so on. For rate calculations, these feature only include the frame length between the destination MAC address (DMAC) and the
CRC eld.
You can optionally include the following overhead elds in rate calculations by enabling rate adjustment:
• Preamble—7 bytes
• Start frame delimiter—1 byte
• Destination MAC address—6 bytes
• Source MAC address—6 bytes
• Ethernet type/length—2 bytes
Quality of service
977