Skip to main content
Version: 7.26

profile


interface/ethernet/switch/qos/profile​

Syscap: rbswitch and crs_prestera
Type: Directory

QoS profiles determine priority field values (PCP, DSCP) for the forwarded/routed packets. Congestion avoidance/resolution is based on QoS profiles. Each packet gets a QoS profile assigned based on the ingress switch port QoS settings (see /in/eth/sw/port).

FlagNameDescription
*default
Ddynamic
Xdisabled
Iinactive
Hhw-offloaded
ArgumentTypeDescription
name ( mandatory )stringThe user-defined name of the QoS profile.
pcpnumVLAN priority value (IEEE 802.1q PCP - Priority Code Point). Used only if the egress packets assigned to the QoS profile are VLAN-tagged (have the 802.1q header). The value can be further altered via the QoS Egress Map.
dscpnumIPv4/IPv6 DSCP field value for the egress packets assigned to the QoS profile.
traffic-classnumThe traffic class determines the packet priority and the egress queue. On switch ports, the queue number is usually the same as the traffic class (packets with tc0 go into queue0, tc1 - queue1, ... tc7 - queue7). Traffic sent toward the switch CPU uses a separate queue mapping. Use cpu-high-priority=yes on the switch rule to send redirected or copied traffic through the CPU high-priority queue. See To CPU QoS.
automapboolAutomatically maps packets with matching PCP or DSCP values to this QoS profile. Only applies to trusted ports.
Read-only ArgumentTypeDescription
hw-idnum