3.27.10 QoS Control List Configuration
Use this command to configure QoS Control List (QCL), which is made up of the QCEs. Define the QCE parameters. By default, all ports are included. ‘Default’ means that the default classified value is not modified by this QCE.
Command Syntax:
qos qce { [ update ] } <qce_id> [ { next <qce_id_next> } | last ] [ interface <port_type> [ <port_list> ] ] [ smac { <smac> | <smac_24> | any } ] [ dmac { <dmac> | unicast | multicast | broadcast | any } ] [ tag { [ type { untagged | tagged | c-tagged | s-tagged | any } ] [ vid { <ot_vid> | any } ] [ pcp { <ot_pcp> | any } ] [ dei { <ot_dei> | any } ] } ] [ inner-tag { [ type { untagged | tagged | c-tagged | s-tagged | any } ] [ vid { <it_vid> | any } ] [ pcp { <it_pcp> | any } ] [ dei { <it_dei> | any } ] } ] [ frame-type { any | { etype [ { <etype_type> | any } ] } | { llc [ dsap { <llc_dsap> | any } ] [ ssap { <llc_ssap> | any } ] [ control { <llc_control> | any } ] } | { snap [ { <snap_data> | any } ] } | { ipv4 [ proto { <pr4> | tcp | udp | any } ] [ sip { <sip4> | any } ] [ dip { <dip4> | any } ] [ dscp { <dscp4> | { be | af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33 | af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 | cs5 | cs6 | cs7 | ef | va } | any } ] [ fragment { yes | no | any } ] [ sport { <sp4> | any } ] [ dport { <dp4> | any } ] } | { ipv6 [ proto { <pr6> | tcp | udp | any } ] [ sip { <sip6> | any } ] [ dip { <dip6> | any } ] [ dscp { <dscp6> | { be | af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33 | af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 | cs5 | cs6 | cs7 | ef | va } | any } ] [ sport { <sp6> | any } ] [ dport { <dp6> | any } ] } } ] [ action { [ cos { <action_cos> | default } ] [ dpl { <action_dpl> | default } ] [ pcp-dei { <action_pcp> <action_dei> | default } ] [ dscp { <action_dscp_dscp> | { be | af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33 | af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 | cs5 | cs6 | cs7 | ef | va } | default } ] [ policy { <action_policy> | default } ]
Argument | Description | |
Parameter |
| QCE ID. The allowed range is 1 to 256. |
| The next QCE ID. Insert the current QCE before the next QCE ID. | |
| Port type in GigabitEthernet | |
| List of Port ID, for example, 1/1,3-5;2/2-4,6 | |
| Source MAC address: xx-xx-xx-xx-xx-xx or ‘Any’. | |
| Destination MAC address: Possible values are ‘Unicast’, ‘Multicast’, ‘Broadcast’, ‘Specific’ (xx-xx-xx-xx-xx-xx) or ‘Any’. | |
| Valid value of VLAN ID can be any value in the range 1-4095 or 'Any'; user can enter either a specific value or a range of VIDs. | |
| Valid value PCP are specific (0, 1, 2, 3, 4, 5, 6, 7) or range (0–1, 2–3, 4–5, 6–7, 0–3, 4–7) or ‘Any’. | |
| Valid value of DEI can be ‘0’, ‘1’, or ‘Any’. | |
| Valid value of Inner VLAN ID can be any value in the range 1–4095 or 'Any'; user can enter either a specific value or a range of VIDs. | |
| Valid value of Inner PCP are specific (0, 1, 2, 3, 4, 5, 6, 7) or range (0–1, 2–3, 4–5, 6–7, 0–3, 4–7) or ‘Any’. | |
| Valid value of Inner DEI can be ‘0’, ‘1’, or ‘Any’. | |
| Frame Type can have any of the following values: Any, EtherType, LLC, SNAP, IPv4, IPv6 | |
| Valid Destination Service Access Point (DSAP) can vary from 0x00 to 0xFF or ‘Any’. | |
| Valid Source Service Access Point (SSAP) can vary from 0x00 to 0xFF or ‘Any’. | |
| Valid Control field can vary from 0x00 to 0xFF or ‘Any’. | |
| Valid PID (a.k.a Ether Type) can be 0x0000–0xFFFF or ‘Any’. | |
| IP protocol number: (0-255, ‘TCP’, or ‘UDP’), or ‘Any’. | |
| Specific Source IP address in value/mask format or ‘Any’. IP and Mask are in the format x.y.z.w where x, y, z, and w are decimal numbers between 0 and 255. | |
| Specific Destination IP address in value/mask format or 'Any'. | |
| Diffserv Code Point value (DSCP): It can be a specific value, range of values or ‘Any’. DSCP values are in the range 0–63 including BE, CS1-CS7, EF or AF11-AF43. | |
| Source TCP/UDP port: (0–65535) or ‘Any’, specific or port range applicable for IP protocol UDP/TCP. | |
| Destination TCP/UDP port: (0–65535) or ‘Any’, specific or port range applicable for IP protocol UDP/TCP. | |
| IP protocol number: (0–255, ‘TCP’, or ‘UDP’) or ‘Any’. | |
| 32 LS bits of IPv6 source address in value/mask format or ‘Any’. | |
| Specific Destination IP address in value/mask format or ‘Any’. | |
| Diffserv Code Point value (DSCP): It can be a specific value, range of values or ‘Any’. DSCP values are in the range 0–63 including BE, CS1-CS7, EF, or AF11-AF43. | |
| Source TCP/UDP port: (0–65535) or ‘Any’, specific or port range applicable for IP protocol UDP/TCP | |
| Destination TCP/UDP port: (0–65535) or ‘Any’, specific or port range applicable for IP protocol UDP/TCP. | |
| Class of Service: (0–7) or ‘Default’. | |
| Drop Precedence Level: (0–1) or ‘Default’ | |
| Priority Code Point: (0–7) or ‘Default’ | |
| Drop Eligible Indicator: (0–1) or ‘Default’. | |
| ACL Policy number: (0–63) or ‘Default’. | |
Default | N.A | |
Mode | Global Configuration mode | |
Usage | Configure QCE Key and Action Parameters. To delete the specific QCE entry, use the ‘no’ version of the command. | |
Example | Example 1: Create QCE entry ID1 on port 1.
|