control

traffic control <id>
Devices
Values:
  • id – Traffic control

Instances:

Multiple

Required:

traffic control <id> type

traffic control <id> description <txt>
Devices
Values:
  • txt – Description for this queuing discipline

traffic control <id> type
Devices

Type of traffic control

Instances:

Unique

traffic control <id> type fifo
Devices

Drop tail queue (FIFO) qdisc

Instances:

Unique

traffic control <id> type fifo byte-limit <u32>
Devices

Maximum queue size (bytes)

Values:
  • u32 – Queue size in bytes (1-4294967295)

traffic control <id> type fifo packet-limit <u32>
Devices

Maximum queue size (packets)

Values:
  • u32 – Queue size in packets (1-4294967295)

traffic control <id> type fq-codel
Devices

Fair queuing controlled delay qdisc

traffic control <id> type fq-codel codel-quantum <u32>
Devices
Values:
  • u32 – Number of bytes used as ‘deficit’

traffic control <id> type fq-codel flows <u32>
Devices
Values:
  • u32 – Number of flows

traffic control <id> type fq-codel interval <u32>
Devices
Values:
  • u32 – Interval (milliseconds) used to measure the delay

traffic control <id> type fq-codel queue-limit <u32>
Devices

Maximum queue size (packets)

Values:
  • u32 – Queue size in packets (1-11000)

traffic control <id> type fq-codel target <u32>
Devices
Values:
  • u32 – Acceptable minimum queue delay (milliseconds)

traffic control <id> type htb
Devices

Hierarchy token bucket qdisc

Required:

traffic control <id> type htb bandwidth <float>

Required:

traffic control <id> type htb default-class <u32>

traffic control <id> type htb bandwidth <float>
Devices

Available bandwidth

Values:
  • float – Rate in Mbit per second (0.000001-100000)

traffic control <id> type htb burst <id>
Devices

Default burst size

Values:
  • N[ms/mbit] – Burst in time (ms) or length (mbit)

traffic control <id> type htb class <u32>
Devices

Child class identifier

Values:
  • u32 – Class identifier (1-4095)

Instances:

Multiple

Required:

traffic control <id> type htb class <u32> bandwidth

traffic control <id> type htb class <u32> bandwidth
Devices

Bandwidth used for this class

Instances:

Unique

traffic control <id> type htb class <u32> bandwidth percentage <float>
Devices

Percentage of overall rate

Values:
  • float – Percentage of overall rate (0-100)

traffic control <id> type htb class <u32> bandwidth rate <float>
Devices

Rate used for this class

Values:
  • float – Rate in Mbit per second (0.000001-100000)

traffic control <id> type htb class <u32> burst <id>
Devices

Burst size for this class

Values:
  • N[ms/mbit] – Burst in time (ms) or length (mbit)

traffic control <id> type htb class <u32> ceiling
Devices

Bandwidth limit for this class

Instances:

Unique

traffic control <id> type htb class <u32> ceiling percentage <float>
Devices

Percentage of overall rate

Values:
  • float – Percentage of overall rate (0-100)

traffic control <id> type htb class <u32> ceiling rate <float>
Devices

Rate used for this class

Values:
  • float – Rate in Mbit per second (0.000001-100000)

traffic control <id> type htb class <u32> child-control <id>
Devices

Traffic control child

Reference:

traffic control <id>

traffic control <id> type htb class <u32> description <txt>
Devices
Values:
  • txt – Description for this traffic class

traffic control <id> type htb class <u32> parent <u32>
Devices

Parent class identifier

Values:
  • u32 – Parent class identifier (1-4095)

traffic control <id> type htb class <u32> priority <u32>
Devices

Priority for usage of excess bandwidth

Values:
  • u32 – Priority order for bandwidth pool (0-7)

traffic control <id> type htb class <u32> queue-limit <u32>
Devices

Maximum queue size (packets)

Values:
  • u32 – Queue size in packets (1-4294967295)

traffic control <id> type htb default-class <u32>
Devices

Default class

Values:
  • u32 – Class identifier (1-4095)

traffic control <id> type htb match <u32>
Devices

Class match criteria

Values:
  • u32 – Match priority (1-4095)

Instances:

Multiple

Required:

traffic control <id> type htb match <u32> class <u32>

traffic control <id> type htb match <u32> class <u32>
Devices

Class in which traffic is enqueued if match conditions are met

Values:
  • u32 – Class identifier (1-4095)

traffic control <id> type htb match <u32> description <txt>
Devices
Values:
  • txt – Description for this match

traffic control <id> type htb match <u32> ether
Devices

Ethernet header match

traffic control <id> type htb match <u32> ether destination <anymacaddr>
Devices
Values:
  • anymacaddr – Ethernet destination address for this match

traffic control <id> type htb match <u32> ether protocol <u32|id>
Devices

Ethernet protocol for this match

Values:
  • u32 – Ethernet protocol number (0-65535)

  • id – Ethernet protocol name

  • all – Any protocol

  • ip – Internet IP (IPv4)

  • ipv6 – Internet IP (IPv6)

  • arp – Address Resolution Protocol

  • atalk – Appletalk

  • ipx – Novell Internet Packet Exchange

  • 802.1Q – 802.1Q VLAN tag

  • 802.1ad – 802.1ad Service VLAN tag (QinQ)

traffic control <id> type htb match <u32> ether source <anymacaddr>
Devices
Values:
  • anymacaddr – Ethernet source address for this match

traffic control <id> type htb match <u32> interface <ifc>
Devices
Values:
  • ifc – Inbound interface match

traffic control <id> type htb match <u32> ip
Devices

Match IP protocol header

traffic control <id> type htb match <u32> ip destination
Devices

Match on destination port or address

traffic control <id> type htb match <u32> ip destination address <ipv4|ipv4net>
Devices

IP destination address for this match

Values:
  • ipv4 – IP address to match

  • ipv4net – Subnet to match

traffic control <id> type htb match <u32> ip destination port <u32>
Devices

TCP (or UDP) destination port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type htb match <u32> ip dscp <u32>
Devices

Match on Differentiated Services Codepoint (DSCP)

Values:
  • u32 – DSCP number (0-63)

traffic control <id> type htb match <u32> ip max-length <u32>
Devices

Maximum packet length (ipv4)

Values:
  • u32 – Maximum packet/payload length (0-65535)

traffic control <id> type htb match <u32> ip min-length <u32>
Devices

Minimum packet length (ipv4)

Values:
  • u32 – Minimum packet/payload length (0-65535)

traffic control <id> type htb match <u32> ip protocol <u32|id>
Devices

Match IP protocol name or number

Values:
  • u32 – IP protocol value (0-255)

  • icmp – Internet Control Message Protocol

  • igmp – Internet Group Management Protocol

  • ggp – Gateway-Gateway protocol

  • tcp – Transmission Control Protocol

  • egp – Exterior Gateway Protocol

  • udp – User Datagram Protocol

  • gre – General Routing Encapsulation

  • ospf – Open Shortest Path First IGP

  • sctp – Stream Control Transmission Protocol

traffic control <id> type htb match <u32> ip source
Devices

Match on source port or address

traffic control <id> type htb match <u32> ip source address <ipv4|ipv4net>
Devices

IP source address for this match

Values:
  • ipv4 – IP address to match

  • ipv4net – Subnet to match

traffic control <id> type htb match <u32> ip source port <u32>
Devices

TCP (or UDP) source port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type htb match <u32> ip tcp
Devices

TCP Flags matching

traffic control <id> type htb match <u32> ip tcp ack
Devices

Match TCP ACK

traffic control <id> type htb match <u32> ip tcp syn
Devices

Match TCP SYN

traffic control <id> type htb match <u32> ipv6
Devices

Match IPV6 header

traffic control <id> type htb match <u32> ipv6 destination
Devices

Match on destination port or address

traffic control <id> type htb match <u32> ipv6 destination address <ipv6|ipv6net>
Devices

IP destination address for this match

Values:
  • ipv6 – IPv6 address to match

  • ipv6net – Subnet to match

traffic control <id> type htb match <u32> ipv6 destination port <u32>
Devices

TCP (or UDP) destination port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type htb match <u32> ipv6 dscp <u32>
Devices

Match on Differentiated Services Codepoint (DSCP)

Values:
  • u32 – DSCP number (0-63)

traffic control <id> type htb match <u32> ipv6 max-length <u32>
Devices

Maximum payload length

Values:
  • u32 – Maximum packet/payload length (0-65535)

traffic control <id> type htb match <u32> ipv6 min-length <u32>
Devices

Minimum payload length

Values:
  • u32 – Minimum packet/payload length (0-65535)

traffic control <id> type htb match <u32> ipv6 protocol <u32|id>
Devices

Match IP protocol name or number

Values:
  • u32 – IP protocol value (0-255)

  • icmp – Internet Control Message Protocol

  • igmp – Internet Group Management Protocol

  • ggp – Gateway-Gateway protocol

  • tcp – Transmission Control Protocol

  • egp – Exterior Gateway Protocol

  • udp – User Datagram Protocol

  • gre – General Routing Encapsulation

  • ospf – Open Shortest Path First IGP

  • sctp – Stream Control Transmission Protocol

traffic control <id> type htb match <u32> ipv6 source
Devices

Match on source port or address

traffic control <id> type htb match <u32> ipv6 source address <ipv6|ipv6net>
Devices

IP source address for this match

Values:
  • ipv6 – IPv6 address to match

  • ipv6net – Subnet to match

traffic control <id> type htb match <u32> ipv6 source port <u32>
Devices

TCP (or UDP) source port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type htb match <u32> ipv6 tcp
Devices

TCP Flags matching

traffic control <id> type htb match <u32> ipv6 tcp ack
Devices

Match TCP ACK

traffic control <id> type htb match <u32> ipv6 tcp syn
Devices

Match TCP SYN

traffic control <id> type htb match <u32> log <id>
Devices

Log packets matching rule

Values:
  • id – Debug message (1-31)

traffic control <id> type htb match <u32> mark <u32>
Devices
Values:
  • u32 – Match on mark applied by firewall

traffic control <id> type htb match <u32> set
Devices Licenses

Modify arbitrary packet data

traffic control <id> type htb match <u32> set cos-mark <u32>
Devices Licenses

Set the Class of Service (COS) to use for the VLAN tag

This field must be set before inserting the VLAN tag (e.g., in a VIF interface)

Values:
  • u32 – COS number (0-7)

traffic control <id> type htb match <u32> set dscp <u32>
Devices Licenses

Change the Differentiated Services (DiffServ) field in the IP header (DSCP)

Values:
  • u32 – DSCP number (0-63)

traffic control <id> type htb match <u32> set tos <u32>
Devices Licenses

Change the Differentiated Services (DiffServ) field in the IP header (TOS)

Values:
  • u32 – TOS number (0-255)

traffic control <id> type htb match <u32> vlan
Devices

VLAN header match

traffic control <id> type htb match <u32> vlan id <u32>
Devices

VLAN ID to match

Values:
  • u32 – VLAN identifier (0-4094)

traffic control <id> type htb match <u32> vlan inner-id <u32>
Devices

Inner VLAN ID to match (QinQ)

Values:
  • u32 – Inner VLAN identifier (0-4094)

traffic control <id> type htb match <u32> vlan inner-pcp <u32>
Devices

Inner VLAN Priority Code Point to match (QinQ)

Values:
  • u32 – Inner Priority Code Point (0-7)

traffic control <id> type htb match <u32> vlan inner-protocol <u32|id>
Devices

Inner VLAN encapsulated protocol to match (QinQ)

Values:
  • u32 – Ethernet protocol number (0-65535)

  • id – Ethernet protocol name

  • all – Any protocol

  • ip – Internet IP (IPv4)

  • ipv6 – Internet IP (IPv6)

  • arp – Address Resolution Protocol

  • atalk – Appletalk

  • ipx – Novell Internet Packet Exchange

traffic control <id> type htb match <u32> vlan pcp <u32>
Devices

VLAN Priority Code Point to match

Values:
  • u32 – Priority Code Point (0-7)

traffic control <id> type htb match <u32> vlan protocol <u32|id>
Devices

VLAN encapsulated protocol to match

Values:
  • u32 – Ethernet protocol number (0-65535)

  • id – Ethernet protocol name

  • all – Any protocol

  • ip – Internet IP (IPv4)

  • ipv6 – Internet IP (IPv6)

  • arp – Address Resolution Protocol

  • atalk – Appletalk

  • ipx – Novell Internet Packet Exchange

  • 802.1Q – 802.1Q VLAN tag

traffic control <id> type htb match <u32> vrf-mark <id>
Devices

Match on mark applied by VRF

Reference:

system vrf <id>

traffic control <id> type lwdrr
Devices

Lockless Weighted Deficit Round Robin qdisc

Required:

traffic control <id> type lwdrr bandwidth <float>

Required:

traffic control <id> type lwdrr default-class <u32>

traffic control <id> type lwdrr bandwidth <float>
Devices

Available bandwidth

Values:
  • float – Rate in Mbit per second (0.000001-100000)

traffic control <id> type lwdrr burst <id>
Devices

Default burst size

Values:
  • N[ms/mbit] – Burst in time (ms) or length (mbit)

traffic control <id> type lwdrr class <u32>
Devices

Child class identifier

Values:
  • u32 – Class identifier (1-4095)

Instances:

Multiple

Required:

traffic control <id> type lwdrr class <u32> weight <u32>

traffic control <id> type lwdrr class <u32> bandwidth
Devices

Per-class rate limit

Instances:

Unique

traffic control <id> type lwdrr class <u32> bandwidth percentage <float>
Devices

Percentage of overall rate

Values:
  • float – Percentage of overall rate (0-100)

traffic control <id> type lwdrr class <u32> bandwidth rate <float>
Devices

Rate used for this class

Values:
  • float – Rate in Mbit per second (0.000001-100000)

traffic control <id> type lwdrr class <u32> burst <id>
Devices

Burst size for this class

Values:
  • N[ms/mbit] – Burst in time (ms) or length (mbit)

traffic control <id> type lwdrr class <u32> description <txt>
Devices
Values:
  • txt – Description for this traffic class

traffic control <id> type lwdrr class <u32> limit <u32>
Devices

Maximum queue depth in packets (leaf class)

Default is 1000 packets if not specified

Values:
  • u32 – Queue depth in packets (1-4294967295)

traffic control <id> type lwdrr class <u32> parent <u32>
Devices

Parent class identifier

Values:
  • u32 – Parent class identifier (1-4095)

traffic control <id> type lwdrr class <u32> priority <u32>
Devices

Priority for scheduling order

Values:
  • u32 – Priority (lower served first) (0-7)

traffic control <id> type lwdrr class <u32> weight <u32>
Devices

DRR weight for bandwidth sharing

Values:
  • u32 – DRR weight (1-65535)

traffic control <id> type lwdrr default-class <u32>
Devices

Default class

Values:
  • u32 – Class identifier (1-4095)

traffic control <id> type lwdrr match <u32>
Devices

Class match criteria

Values:
  • u32 – Match priority (1-4095)

Instances:

Multiple

Required:

traffic control <id> type lwdrr match <u32> class <u32>

traffic control <id> type lwdrr match <u32> class <u32>
Devices

Class in which traffic is enqueued if match conditions are met

Values:
  • u32 – Class identifier (1-4095)

traffic control <id> type lwdrr match <u32> description <txt>
Devices
Values:
  • txt – Description for this match

traffic control <id> type lwdrr match <u32> ether
Devices

Ethernet header match

traffic control <id> type lwdrr match <u32> ether destination <anymacaddr>
Devices
Values:
  • anymacaddr – Ethernet destination address for this match

traffic control <id> type lwdrr match <u32> ether protocol <u32|id>
Devices

Ethernet protocol for this match

Values:
  • u32 – Ethernet protocol number (0-65535)

  • id – Ethernet protocol name

  • all – Any protocol

  • ip – Internet IP (IPv4)

  • ipv6 – Internet IP (IPv6)

  • arp – Address Resolution Protocol

  • atalk – Appletalk

  • ipx – Novell Internet Packet Exchange

  • 802.1Q – 802.1Q VLAN tag

traffic control <id> type lwdrr match <u32> ether source <anymacaddr>
Devices
Values:
  • anymacaddr – Ethernet source address for this match

traffic control <id> type lwdrr match <u32> interface <ifc>
Devices
Values:
  • ifc – Inbound interface match

traffic control <id> type lwdrr match <u32> ip
Devices

Match IP protocol header

traffic control <id> type lwdrr match <u32> ip destination
Devices

Match on destination port or address

traffic control <id> type lwdrr match <u32> ip destination address <ipv4|ipv4net>
Devices

IP destination address for this match

Values:
  • ipv4 – IP address to match

  • ipv4net – Subnet to match

traffic control <id> type lwdrr match <u32> ip destination port <u32>
Devices

TCP (or UDP) destination port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type lwdrr match <u32> ip dscp <u32>
Devices

Match on Differentiated Services Codepoint (DSCP)

Values:
  • u32 – DSCP number (0-63)

traffic control <id> type lwdrr match <u32> ip max-length <u32>
Devices

Maximum packet length (ipv4)

Values:
  • u32 – Maximum packet/payload length (0-65535)

traffic control <id> type lwdrr match <u32> ip min-length <u32>
Devices

Minimum packet length (ipv4)

Values:
  • u32 – Minimum packet/payload length (0-65535)

traffic control <id> type lwdrr match <u32> ip protocol <u32|id>
Devices

Match IP protocol name or number

Values:
  • u32 – IP protocol value (0-255)

  • icmp – Internet Control Message Protocol

  • igmp – Internet Group Management Protocol

  • ggp – Gateway-Gateway protocol

  • tcp – Transmission Control Protocol

  • egp – Exterior Gateway Protocol

  • udp – User Datagram Protocol

  • gre – General Routing Encapsulation

  • ospf – Open Shortest Path First IGP

  • sctp – Stream Control Transmission Protocol

traffic control <id> type lwdrr match <u32> ip source
Devices

Match on source port or address

traffic control <id> type lwdrr match <u32> ip source address <ipv4|ipv4net>
Devices

IP source address for this match

Values:
  • ipv4 – IP address to match

  • ipv4net – Subnet to match

traffic control <id> type lwdrr match <u32> ip source port <u32>
Devices

TCP (or UDP) source port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type lwdrr match <u32> ip tcp
Devices

TCP Flags matching

traffic control <id> type lwdrr match <u32> ip tcp ack
Devices

Match TCP ACK

traffic control <id> type lwdrr match <u32> ip tcp syn
Devices

Match TCP SYN

traffic control <id> type lwdrr match <u32> ipv6
Devices

Match IPV6 header

traffic control <id> type lwdrr match <u32> ipv6 destination
Devices

Match on destination port or address

traffic control <id> type lwdrr match <u32> ipv6 destination address <ipv6|ipv6net>
Devices

IP destination address for this match

Values:
  • ipv6 – IPv6 address to match

  • ipv6net – Subnet to match

traffic control <id> type lwdrr match <u32> ipv6 destination port <u32>
Devices

TCP (or UDP) destination port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type lwdrr match <u32> ipv6 dscp <u32>
Devices

Match on Differentiated Services Codepoint (DSCP)

Values:
  • u32 – DSCP number (0-63)

traffic control <id> type lwdrr match <u32> ipv6 max-length <u32>
Devices

Maximum payload length

Values:
  • u32 – Maximum packet/payload length (0-65535)

traffic control <id> type lwdrr match <u32> ipv6 min-length <u32>
Devices

Minimum payload length

Values:
  • u32 – Minimum packet/payload length (0-65535)

traffic control <id> type lwdrr match <u32> ipv6 protocol <u32|id>
Devices

Match IP protocol name or number

Values:
  • u32 – IP protocol value (0-255)

  • icmp – Internet Control Message Protocol

  • igmp – Internet Group Management Protocol

  • ggp – Gateway-Gateway protocol

  • tcp – Transmission Control Protocol

  • egp – Exterior Gateway Protocol

  • udp – User Datagram Protocol

  • gre – General Routing Encapsulation

  • ospf – Open Shortest Path First IGP

  • sctp – Stream Control Transmission Protocol

traffic control <id> type lwdrr match <u32> ipv6 source
Devices

Match on source port or address

traffic control <id> type lwdrr match <u32> ipv6 source address <ipv6|ipv6net>
Devices

IP source address for this match

Values:
  • ipv6 – IPv6 address to match

  • ipv6net – Subnet to match

traffic control <id> type lwdrr match <u32> ipv6 source port <u32>
Devices

TCP (or UDP) source port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type lwdrr match <u32> ipv6 tcp
Devices

TCP Flags matching

traffic control <id> type lwdrr match <u32> ipv6 tcp ack
Devices

Match TCP ACK

traffic control <id> type lwdrr match <u32> ipv6 tcp syn
Devices

Match TCP SYN

traffic control <id> type lwdrr match <u32> log <id>
Devices

Log packets matching rule

Values:
  • id – Debug message (1-31)

traffic control <id> type lwdrr match <u32> mark <u32>
Devices
Values:
  • u32 – Match on mark applied by firewall

traffic control <id> type lwdrr match <u32> set
Devices Licenses

Modify arbitrary packet data

traffic control <id> type lwdrr match <u32> set cos-mark <u32>
Devices Licenses

Set the Class of Service (COS) to use for the VLAN tag

This field must be set before inserting the VLAN tag (e.g., in a VIF interface)

Values:
  • u32 – COS number (0-7)

traffic control <id> type lwdrr match <u32> set dscp <u32>
Devices Licenses

Change the Differentiated Services (DiffServ) field in the IP header (DSCP)

Values:
  • u32 – DSCP number (0-63)

traffic control <id> type lwdrr match <u32> set tos <u32>
Devices Licenses

Change the Differentiated Services (DiffServ) field in the IP header (TOS)

Values:
  • u32 – TOS number (0-255)

traffic control <id> type lwdrr match <u32> vrf-mark <id>
Devices

Match on mark applied by VRF

Reference:

system vrf <id>

traffic control <id> type lwdrr quantum <u32>
Devices

Base DRR quantum in bytes

Values:
  • u32 – Quantum in bytes (1-65535)

traffic control <id> type mqprio
Devices

Multiqueue Priority Qdisc (hardware offloaded QoS)

Required:

traffic control <id> type mqprio default-class <u32>

traffic control <id> type mqprio class <u32>
Devices

Child class identifier

Values:
  • u32 – Class identifier (1-8)

Instances:

Multiple

traffic control <id> type mqprio class <u32> bandwidth
Devices

Maximum bandwidth for this class

traffic control <id> type mqprio class <u32> bandwidth rate <float>
Devices

Rate used for this class

Values:
  • float – Rate in Mbit per second (50-100000)

traffic control <id> type mqprio class <u32> description <txt>
Devices
Values:
  • txt – Description for this traffic class

traffic control <id> type mqprio default-class <u32>
Devices

Default class

Values:
  • u32 – Class identifier (1-8)

traffic control <id> type network-emulator
Devices

Network emulator qdisc

traffic control <id> type network-emulator bandwidth <float>
Devices

Bandwidth limit

Values:
  • float – Rate in Mbit per second (0.000001-100000)

traffic control <id> type network-emulator burst <id>
Devices

Burst size

Values:
  • N[ms/mbit] – Burst in time (ms) or length (mbit)

traffic control <id> type network-emulator network-delay <float>
Devices

Additional network delay

Values:
  • float – Time in milliseconds

Instances:

Multiple

traffic control <id> type network-emulator network-delay <float> jitter <float>
Devices

Additional network jitter

Values:
  • float – Time in milliseconds

traffic control <id> type network-emulator packet-corruption <float>
Devices

Emulated packet data corruption rate

Values:
  • float – Percentage of packets affected (0-100)

traffic control <id> type network-emulator packet-loss <float>
Devices

Emulated packet loss rate

Values:
  • float – Percentage of packets affected (0-100)

traffic control <id> type network-emulator packet-reordering <float>
Devices

Emulated packet reordering percentage

Values:
  • float – Percentage of packets affected (0-100)

traffic control <id> type network-emulator queue-limit <u32>
Devices

Maximum queue size (packets)

Values:
  • u32 – Queue size in packets (1-4294967295)

traffic control <id> type tbf
Devices

Token bucket filter qdisc

Required:

traffic control <id> type tbf bandwidth <float>

Required:

traffic control <id> type tbf burst <id>

Required:

traffic control <id> type tbf latency <float>

traffic control <id> type tbf bandwidth <float>
Devices

Bandwidth limit

Values:
  • float – Rate in Mbit per second (0.000001-100000)

traffic control <id> type tbf burst <id>
Devices

Burst size

Values:
  • N[ms/mbit] – Burst in time (ms) or length (mbit)

traffic control <id> type tbf child-control <id>
Devices

Traffic control child

Reference:

traffic control <id>

traffic control <id> type tbf latency <float>
Devices

Maximum latency

Values:
  • float – Time in milliseconds

traffic control <id> type wfq
Devices

Weighted Fair Queuing qdisc

Required:

traffic control <id> type wfq bandwidth <float>

Required:

traffic control <id> type wfq default-class <u32>

traffic control <id> type wfq bandwidth <float>
Devices

Available bandwidth

Values:
  • float – Rate in Mbit per second (0.000001-100000)

traffic control <id> type wfq class <u32>
Devices

Child class identifier

If hardware offload is enabled, valid range is <1-8>

Values:
  • u32 – Class identifier (1-4095)

Instances:

Multiple

Required:

traffic control <id> type wfq class <u32> weight <u32>

traffic control <id> type wfq class <u32> description <txt>
Devices
Values:
  • txt – Description for this traffic class

traffic control <id> type wfq class <u32> weight <u32>
Devices

Traffic class weight

Values:
  • u32 – Traffic class weight (1-248)

traffic control <id> type wfq default-class <u32>
Devices

Default class

Values:
  • u32 – Class identifier (1-4095)

traffic control <id> type wfq hardware-offload
Devices

Enable qdisc offloading

traffic control <id> type wfq match <u32>
Devices

Class match criteria

Values:
  • u32 – Match priority (1-4095)

Instances:

Multiple

Required:

traffic control <id> type wfq match <u32> class <u32>

traffic control <id> type wfq match <u32> class <u32>
Devices

Class in which traffic is enqueued if match conditions are met

Values:
  • u32 – Class identifier (1-4095)

traffic control <id> type wfq match <u32> description <txt>
Devices
Values:
  • txt – Description for this match

traffic control <id> type wfq match <u32> ether
Devices

Ethernet header match

traffic control <id> type wfq match <u32> ether destination <anymacaddr>
Devices
Values:
  • anymacaddr – Ethernet destination address for this match

traffic control <id> type wfq match <u32> ether protocol <u32|id>
Devices

Ethernet protocol for this match

Values:
  • u32 – Ethernet protocol number (0-65535)

  • id – Ethernet protocol name

  • all – Any protocol

  • ip – Internet IP (IPv4)

  • ipv6 – Internet IP (IPv6)

  • arp – Address Resolution Protocol

  • atalk – Appletalk

  • ipx – Novell Internet Packet Exchange

  • 802.1Q – 802.1Q VLAN tag

traffic control <id> type wfq match <u32> ether source <anymacaddr>
Devices
Values:
  • anymacaddr – Ethernet source address for this match

traffic control <id> type wfq match <u32> interface <ifc>
Devices
Values:
  • ifc – Inbound interface match

traffic control <id> type wfq match <u32> ip
Devices

Match IP protocol header

traffic control <id> type wfq match <u32> ip destination
Devices

Match on destination port or address

traffic control <id> type wfq match <u32> ip destination address <ipv4|ipv4net>
Devices

IP destination address for this match

Values:
  • ipv4 – IP address to match

  • ipv4net – Subnet to match

traffic control <id> type wfq match <u32> ip destination port <u32>
Devices

TCP (or UDP) destination port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type wfq match <u32> ip dscp <u32>
Devices

Match on Differentiated Services Codepoint (DSCP)

Values:
  • u32 – DSCP number (0-63)

traffic control <id> type wfq match <u32> ip max-length <u32>
Devices

Maximum packet length (ipv4)

Values:
  • u32 – Maximum packet/payload length (0-65535)

traffic control <id> type wfq match <u32> ip min-length <u32>
Devices

Minimum packet length (ipv4)

Values:
  • u32 – Minimum packet/payload length (0-65535)

traffic control <id> type wfq match <u32> ip protocol <u32|id>
Devices

Match IP protocol name or number

Values:
  • u32 – IP protocol value (0-255)

  • icmp – Internet Control Message Protocol

  • igmp – Internet Group Management Protocol

  • ggp – Gateway-Gateway protocol

  • tcp – Transmission Control Protocol

  • egp – Exterior Gateway Protocol

  • udp – User Datagram Protocol

  • gre – General Routing Encapsulation

  • ospf – Open Shortest Path First IGP

  • sctp – Stream Control Transmission Protocol

traffic control <id> type wfq match <u32> ip source
Devices

Match on source port or address

traffic control <id> type wfq match <u32> ip source address <ipv4|ipv4net>
Devices

IP source address for this match

Values:
  • ipv4 – IP address to match

  • ipv4net – Subnet to match

traffic control <id> type wfq match <u32> ip source port <u32>
Devices

TCP (or UDP) source port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type wfq match <u32> ip tcp
Devices

TCP Flags matching

traffic control <id> type wfq match <u32> ip tcp ack
Devices

Match TCP ACK

traffic control <id> type wfq match <u32> ip tcp syn
Devices

Match TCP SYN

traffic control <id> type wfq match <u32> ipv6
Devices

Match IPV6 header

traffic control <id> type wfq match <u32> ipv6 destination
Devices

Match on destination port or address

traffic control <id> type wfq match <u32> ipv6 destination address <ipv6|ipv6net>
Devices

IP destination address for this match

Values:
  • ipv6 – IPv6 address to match

  • ipv6net – Subnet to match

traffic control <id> type wfq match <u32> ipv6 destination port <u32>
Devices

TCP (or UDP) destination port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type wfq match <u32> ipv6 dscp <u32>
Devices

Match on Differentiated Services Codepoint (DSCP)

Values:
  • u32 – DSCP number (0-63)

traffic control <id> type wfq match <u32> ipv6 max-length <u32>
Devices

Maximum payload length

Values:
  • u32 – Maximum packet/payload length (0-65535)

traffic control <id> type wfq match <u32> ipv6 min-length <u32>
Devices

Minimum payload length

Values:
  • u32 – Minimum packet/payload length (0-65535)

traffic control <id> type wfq match <u32> ipv6 protocol <u32|id>
Devices

Match IP protocol name or number

Values:
  • u32 – IP protocol value (0-255)

  • icmp – Internet Control Message Protocol

  • igmp – Internet Group Management Protocol

  • ggp – Gateway-Gateway protocol

  • tcp – Transmission Control Protocol

  • egp – Exterior Gateway Protocol

  • udp – User Datagram Protocol

  • gre – General Routing Encapsulation

  • ospf – Open Shortest Path First IGP

  • sctp – Stream Control Transmission Protocol

traffic control <id> type wfq match <u32> ipv6 source
Devices

Match on source port or address

traffic control <id> type wfq match <u32> ipv6 source address <ipv6|ipv6net>
Devices

IP source address for this match

Values:
  • ipv6 – IPv6 address to match

  • ipv6net – Subnet to match

traffic control <id> type wfq match <u32> ipv6 source port <u32>
Devices

TCP (or UDP) source port for this match

Values:
  • u32 – Numeric IP port (1-65535)

traffic control <id> type wfq match <u32> ipv6 tcp
Devices

TCP Flags matching

traffic control <id> type wfq match <u32> ipv6 tcp ack
Devices

Match TCP ACK

traffic control <id> type wfq match <u32> ipv6 tcp syn
Devices

Match TCP SYN

traffic control <id> type wfq match <u32> log <id>
Devices

Log packets matching rule

Values:
  • id – Debug message (1-31)

traffic control <id> type wfq match <u32> mark <u32>
Devices
Values:
  • u32 – Match on mark applied by firewall

traffic control <id> type wfq match <u32> set
Devices Licenses

Modify arbitrary packet data

traffic control <id> type wfq match <u32> set dscp <u32>
Devices Licenses

Change the Differentiated Services (DiffServ) field in the IP header (DSCP)

Values:
  • u32 – DSCP number (0-63)

traffic control <id> type wfq match <u32> set tos <u32>
Devices Licenses

Change the Differentiated Services (DiffServ) field in the IP header (TOS)

Values:
  • u32 – TOS number (0-255)

traffic control <id> type wfq match <u32> vrf-mark <id>
Devices

Match on mark applied by VRF

Reference:

system vrf <id>