{"id":6368,"date":"2026-05-04T12:10:34","date_gmt":"2026-05-04T12:10:34","guid":{"rendered":"http:\/\/docs.connexite.co.uk\/index.php\/docs\/connexite-documentation\/synapse-cli-documentation\/cli-configuring-qos\/"},"modified":"2026-05-04T12:19:09","modified_gmt":"2026-05-04T12:19:09","slug":"cli-configuring-qos","status":"publish","type":"docs","link":"https:\/\/docs.connexite.co.uk\/index.php\/docs\/network\/synapse-cli-documentation\/cli-configuring-qos\/","title":{"rendered":"Configuring QoS"},"content":{"rendered":"<h2 class=\"connexite-doc-h2\">Overview of QoS<\/h2>\n<p>Typically, networks operate on a best-effort delivery basis, which means that all traffic has equal priority and an equal chance of being delivered in a timely manner. When congestion occurs, all traffic has an equal chance of being dropped. When you configure the QoS feature, you can select specific network traffic, prioritize it according to its relative importance, and use congestion-management and congestion-avoidance techniques to provide preferential treatment. Implementing QoS in your network makes network performance more predictable and bandwidth utilization more effective. The QoS implementation is based on the Differentiated Services (Diff-Serv) architecture, an emerging standard from the Internet Engineering Task Force (IETF). This architecture specifies that each packet is classified upon entry into the network. The following Figure shows the model of the QoS.<\/p>\n<h2 class=\"connexite-doc-h2\">Classification<\/h2>\n<p>Classification is the process of distinguishing one kind of traffic from another by examining the fields in the packet. Classification is enabled only if QoS is globally enabled on the switch. By default, QoS is globally disabled, so no classification occurs. During classification, the switch performs a lookup and assigns a QoS label to the packet. The QoS label identifies all QoS actions to be performed on the packet and from which queue the packet is sent. The QoS label is based on the DSCP or the CoS value in the packet and decides the queueing and scheduling actions to perform on the packet. The label is mapped according to the trust setting and the packet type. Trust CoS:<\/p>\n<ul class=\"connexite-doc-list\">\n<li>QoS with CoS label.<\/li>\n<li>For tagged packets, the CoS uses the CoS information in the tag.<\/li>\n<li>For packets without tags, the CoS adopts the default CoS value of the port.<\/li>\n<\/ul>\n<p>Trust DSCP\uff1a<\/p>\n<ul class=\"connexite-doc-list\">\n<li>For non-IP packets, the QoS is labeled with CoS; for packets with tags, CoS uses the CoS information in the tag; for packets without tags, the CoS uses the default CoS of the port.<\/li>\n<li>For IP packets, QoS has a DHCP label; select the DSCP value of the packet.<\/li>\n<\/ul>\n<p>No trust\uff1a<\/p>\n<ul class=\"connexite-doc-list\">\n<li>QoS with CoS label<\/li>\n<li>CoS adopts the default CoS value of the port.<\/li>\n<\/ul>\n<p>Policing(Ingress) The ingress policer meters the given flow and classifies as either in-profile or out-of-profile. Out-of-profile packets may be discarded or have their QOS attributes remarked.<\/p>\n<h2 class=\"connexite-doc-h2\">Marking<\/h2>\n<p>After a packet is classified and has a DSCP-based or CoS-based QoS label assigned to it, the marking process can begin. For packets with CoS labels\uff1a<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Use the configured CoS-to-DSCP mapping relationship to generate DSCP values \u200b\u200bfor packets.<\/li>\n<li>Select the egress queue for the packet through the CoS-to-Queue mapping relationship.<\/li>\n<\/ul>\n<h2 class=\"connexite-doc-h2\">For packets with DSCP labels<\/h2>\n<ul class=\"connexite-doc-list\">\n<li>Modify the DSCP value of the packet through the DSCP-to-DSCP mapping relationship.<\/li>\n<li>Generate a new CoS value for the packet through the DSCP-to-CoS mapping relationship.<\/li>\n<li>Select the egress queue for the packet through the DSCP-to-Queue mapping relationship.<\/li>\n<\/ul>\n<h2 class=\"connexite-doc-h2\">Queuing and scheduling<\/h2>\n<p>Generally, there are 8 queues for QoS exit, which map the 0-7 priority relationship of CoS. The packet enters the corresponding egress queue according to the final marked CoS and CoS-to-Queue relationship. For the priority of packet processing in the egress queue, there are the following algorithms:<\/p>\n<ul class=\"connexite-doc-list\">\n<li>WRR\uff1aThe weight scheduling algorithm processes the packets in each queue in turn. The weight configuration can be used to change the number of queue packets processed in each cycle. The larger the weight, the higher the queue priority.<\/li>\n<li>SP\uff1aStrict scheduling algorithm, traverse queue 7 to queue 0 in each loop, when the initial processing of the packets in the high-priority queue ends, continue to process the low-priority queue.<\/li>\n<li>SP+WRR\uff1aThe combination of WRR and SP, the global WRR mode, supports a specific queue configured as SP mode, and the queue configured as SP mode is a high-priority queue, which is processed first.<\/li>\n<\/ul>\n<p>Policing(Egress) The egress policer meters the given flow and classifies as either in-profile or out-of-profile. Out-of-profile packets may be discarded.<\/p>\n<h2 class=\"connexite-doc-h2\">Configuring<\/h2>\n<ul class=\"connexite-doc-list\">\n<li>Enabling QoS Globally<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos enable<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#no mls qos<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Enabling QoS Globally. Default is disabled.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos algorithm {sp | wrr}<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configuring the queue scheduling algorithm, support two modes: wrr and sp.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos weight &lt;0-7&gt; &lt;0-32&gt;<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure the queue weight. The queue weight is only valid for wrr mode. The default weight of all queues is 1. When in wrr mode, configure the queue weight to 0, the queue will schedule in sp mode.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#mls qos trust {cos | dscp}<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#no mls qos trust<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure the port trust mode, the default is not trust mode. When in no trust mode, the CoS field and DHCP field of the packet will be modified according to the default CoS of the port. When in trust cos mode, the same as the no trust mode for untagged packets, and for tagged packets, use the own CoS of the packet. When configuring trust dscp mode, for ip packets, select the packet with DSCP, and for non-ip packets, the same as trust cos mode.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#mls qos cos &lt;0-7&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#no mls qos cos<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure the default CoS of the port. The default CoS takes effect for the ingress packets without tags. The default port cos is 0.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos cos-dscp &lt;0-63&gt; &lt;0-63&gt; &lt;0-63&gt; &lt;0-63&gt; &lt;0-63&gt; &lt;0-63&gt; &lt;0-63&gt; &lt;0-63&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#no mls qos cos-dscp<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure CoS-to-DSCP mapping. Default CoS-to-DSCP mapping: 0-0, 1-8, 2-16, 3-24, 4-32, 5-40, 6-48, 7-56.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos cos-queue &lt;0-7&gt; &lt;0-7&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#no mls qos cos-queue &lt;0-7&gt;<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure CoS-to-Queue mapping. Default CoS-to-Queue mapping: 0-0, 1-1, 2-2, 3-3, 4-4, 5-5, 6-6, 7-7.<\/p>\n<h2 class=\"connexite-doc-h2\">Note<\/h2>\n<p>When the configured port is no trust, trust cos or trust dscp and the port is not ip: the cos-dscp configuration takes effect, modify the packet dscp according to the mapping relationship, and the cos-queue configuration takes effect, modify the packet export queue according to the mapping relationship.<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Configuring DSCP-to-CoS Mapping<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos dscp-cos &lt;0-63&gt; to &lt;0-7&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#no mls qos dscp-cos<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure DSCP-to-CoS mapping. Default DSCP-to-CoS mapping: &lt;0-7&gt;-0, &lt;8-15&gt;-1, &lt;16-23&gt;-2, &lt;24-31&gt;-3, &lt;32-39&gt;-4, &lt;40-47&gt;- 5, &lt;48-55&gt;-6, &lt;56-63&gt;-7.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos dscp-mutation &lt;0-63&gt; to &lt;0-63&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#no mls qos dscp-mutation<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure DSCP-to-DSCP mapping.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos dscp-queue &lt;0-63&gt; &lt;0-7&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#no mls qos dscp-queue &lt;0-63&gt;<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure DSCP-to-Queue mapping. Default DSCP-to-Queue mapping: &lt;0-7&gt;-0, &lt;8-15&gt;-1, &lt;16-23&gt;-2, &lt;24-31&gt;-3, &lt;32-39&gt;-4, &lt;40-47&gt;- 5, &lt;48-55&gt;-6, &lt;56-63&gt;-7.<\/p>\n<h2 class=\"connexite-doc-h2\">Note<\/h2>\n<p>When configuring the port as trust dscp and ip packets: the dscp-cos configuration takes effect, modify the packet dscp according to the mapping relationship, and the dscp-queue configuration takes effect, and modify the packet egress queue according to the mapping relationship. When a colleague configures dscp-dscp at the same time, first perform dscp-dscp conversion, and then perform dscp-cos mapping as a result.<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Creating Class-map<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#class-map CNAME<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#no class-map CNAME<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Create class-map. After creating a class-map, automatically enter the class-map mode.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)# match access-group ACLNAME<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#no match access-group ACLNAME<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure to match ACL entries for class-map.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#match ip-dscp &lt;0-63&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#no match ip-dscp<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure to match the DHCP field in the IP packet, up to 64 different DHCP values \u200b\u200bcan be configured.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#match cos &lt;0-7&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#no match cos<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure to match the CoS field in the packet, up to 8 different CoS values \u200b\u200bcan be configured.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#match ethertype ETYPE<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#no match ethertype<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure to match the ethernet protocol type field of the packets.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#match {vlan &lt;1-4094&gt; | vlan-range &lt;1-4094&gt; to &lt;1-4094&gt;}<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#no match {vlan | vlan-range}<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure to match vlan field in the packet, support range configuration.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#match layer4 {tcp | udp} {source-port | destination-port} VALUE<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#no match layer4 {tcp | udp} {source-port | destination-port} VALUE<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure to match Layer 4 port fields of TCP and UDP packets.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#match vlan-range &lt;1-4094&gt; to &lt;1-4094&gt; ethertype ETYPE<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#no match vlan-range<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure to match vlan and etype fields in the packets.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#policy-map PNAME<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap)#<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#no policy-map PNAME<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure policy-map<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap)# class CNAME<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap)#no class CNAME<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Attach class-map to policy-map. A policy-map can attach up to 8 class-maps.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#set cos &lt;0-7&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#no set cos<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure policy action: modify the cos field of packets.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#set ip-dscp &lt;0-63&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#no set ip-dscp<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure policy action: modify the ip-dscp field of packets.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#set vlan &lt;1-4094&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#no set vlan<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure policy action: modify packet vlan.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#nest vlan &lt;1-4094&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#no nest vlan<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure policy action: add external tags to matching packets.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#police cir &lt;32-1000000&gt; cbs &lt;4-31250&gt; exceed-action drop<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#no police<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure policy action: rate-limit. Cir is the speed limit water line, in kbps. Cbs is burst capacity, unit Kbyte.<\/p>\n<h2 class=\"connexite-doc-h2\">Note<\/h2>\n<p>The value of cir is determinable. For example, if the speed limit is 1M, then the value of cir is 1024, but the value of cbs is taken from the empirical value. When the cbs value is set large, the flow peak is higher, and the speed limit is stable, but the average speed may be higher than the speed limit value; when the cbs value is set small, the flow peak is lower, the speed limit fluctuates greatly, and the average speed may be lower than the speed limit value. It is recommended that the cbs configuration take 4 times the value of cir.<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Applying Policy-map on the Interface<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#service-policy input PNAME<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#no service-policy input PNAME<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Apply the policy-map on the interface. Only one policy-map can be applied to an interface.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#rate-limit input &lt;64-1000000&gt; &lt;32-16384&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#no rate-limit input<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure port ingress rate limit. The first parameter is limit level, in kbps. The second parameter is burst level, in Kbyte.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#rate-limit output &lt;64-1000000&gt; &lt;32-16384&gt;<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#no rate-limit output<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure port egress rate limit. The first parameter is limit value, in kbps. The second parameter is burst value, in Kbyte.<\/p>\n<h2 class=\"connexite-doc-h2\">Note<\/h2>\n<p>The limit value is determinable. For example, if the speed limit is 1M, then the limit value is 1024, but the burst value is taken from the experience value. When the burst value is large, the flow peak is higher, and the speed limit is stable, but the average rate may be higher than the speed limit value; when the burst value is small, the flow peak is lower, the speed limit fluctuates greatly, and the average rate may be lower than the speed limit value. . It is recommended that the burst configuration be 4 times the limit value.<\/p>\n<h2 class=\"connexite-doc-h2\">Examples<\/h2>\n<p>Example 1: This example shows how to Configure ingress and egress rate-limit on the interface. Step 1: Configuring Ingress rate-limit on interface gigabitEthernet0\/1.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#rate-limit input 1024 4096<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Step 2: Configuring Egress rate-limit on interface gigabitEthernet0\/1.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#rate-limit output 1024 4096<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Example 2: This example shows how to configure flow-based rate-limit. Step 1: Enable QoS globally.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos enable<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Step 2\uff1aCreate ACL rule.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#ip-access-list 1 permit 192.168.64.1<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Step 3\uff1aCreate class-map, policy-map, attach ACL to the class-map, attach class-map to the policy-map, and configure the policy-map action.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#class-map c1<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#match access-group 1<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-cmap)#exit<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#policy-map p1<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap)#class c1<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-pmap-c)#police cir 1024 cbs 4096 exceed-action drop<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Step 4: Apply policy-map to the interface.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#interface gigabitEthernet0\/1<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#service-policy input p1<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Example 3: This example shows how to configure port-based QoS service, to Implement preferential forwarding of specific port packets. Step 1: Enable QoS globally.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos enable<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Step 2: Configure interface gigabitEthernet0\/1 and gigabitEthernet0\/2 trust cos. Set gigabitEthernet0\/1 default CoS to 0. Set gigabitEthernet0\/2 default CoS to 2.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#interface gigabitEthernet0\/1<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#mls qos trust cos<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#mls qos cos 0<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#exit<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#interface gigabitEthernet0\/2<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#mls qos trust cos<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config-if)#mls qos cos 2<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Step 3: Configure CoS-to-Queue mapping.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos cos-queue 0 0<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos cos-queue 2 2<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Step 4: Configure scheduling algorithm wrr.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos algorithm wrr<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Step 5: Configuring queue 2 weight 0.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH(config)#mls qos weight 2 0<\/code><\/pre>\n<h2 class=\"connexite-doc-h2\">Display Information<\/h2>\n<ul class=\"connexite-doc-list\">\n<li>Display Scheduling Algorithm and Weight Information<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show mls qos algorithm<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Mls qos algorithm is WRR. Queue-id 0 1 2 3 4 5 6 7 Weight 1 1 1 1 1 1 1 1<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show mls qos cos-maps<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<h2 class=\"connexite-doc-h2\">Cos Dscp Queue<\/h2>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- 0 0 0 1 8 1 2 16 2 3 24 3 4 32 4 5 40 5 6 48 6 7 56 7<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Display DSCP-to-CoS, DSCP-to-DSCP and DSCP-to-Queue Mapping Information<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show mls qos dscp-maps<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<h2 class=\"connexite-doc-h2\">Dscp Cos Mutation Queue<\/h2>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; 0 0 0 0 1 0 1 0 2 0 2 0 3 0 3 0 4 0 4 0 5 0 5 0 6 0 6 0 7 0 7 0 8 1 8 1 9 1 9 1 10 1 10 1 11 1 11 1 12 1 12 1 13 1 13 1 14 1 14 1 15 1 15 1<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Display QoS Configuration on the Interfaces<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show mls qos interfaces<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<h2 class=\"connexite-doc-h2\">Interface Trust mode Cos<\/h2>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- GiE0\/1 Not 0 GiE0\/2 Not 0 GiE0\/3 Not 0 GiE0\/4 Not 0 GiE0\/5 Not 0 GiE0\/6 Not 0 GiE0\/7 Not 0 GiE0\/8 Not 0<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Display Class-map Configuration<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show class-map<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">CLASS-MAP-NAME: c1 Match Cos: 3<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show policy-map<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">POLICY-MAP-NAME: p1 State: detached CLASS-MAP-NAME: c1 Match Cos: 3 Police: Mode: SrTCM cir (1024 Kbps) cbs (4096 KBytes) exceed-action (drop)<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show rate-limit<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<h2 class=\"connexite-doc-h2\">Interface In limit In burst Out limit Out burst<\/h2>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- GiE0\/1 &#8212; &#8212; &#8212; &#8212; GiE0\/2 &#8212; &#8212; &#8212; &#8212; GiE0\/3 1024 4096 &#8212; &#8212; GiE0\/4 &#8212; &#8212; &#8212; &#8212; GiE0\/5 &#8212; &#8212; &#8212; &#8212; GiE0\/6 &#8212; &#8212; &#8212; &#8212; GiE0\/7 &#8212; &#8212; &#8212; &#8212; GiE0\/8 &#8212; &#8212; &#8212; &#8212; GiE0\/9 &#8212; &#8212; &#8212; &#8212; GiE0\/10 &#8212; &#8211; 1024 4096<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Networking \u203a Switching \u203a Edge \u203a Synapse<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":6349,"menu_order":19,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[115,119,116],"class_list":["post-6368","docs","type-docs","status-publish","hentry","doc_tag-connexite","doc_tag-network","doc_tag-synapse-cli-documentation","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=6368"}],"version-history":[{"count":1,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6368\/revisions"}],"predecessor-version":[{"id":6416,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6368\/revisions\/6416"}],"up":[{"embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6349"}],"wp:attachment":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=6368"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/doc_tag?post=6368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}