![](/images/new-backgrounds/1202842/202842469x1.webp)
CONFIG Commands
Priority Queue
set queue name priority_queue_name option [ off on ] set queue name priority_queue_name type priority
set queue name priority_queue_name default-input queue_name
A priority queue can contain up to 8 input queues. For each input queue, the following is configured:
set queue name priority_queue_name entry n input input_queue_name
set queue name priority_queue_name entry n priority priority_value
Specifies the Priority Queue named priority_queue_name attributes.
•priority_queue_name – name of priority queue
•input_queue_name – name of input queue
•priority_value – numeric relative priority of queue. The higher the number, the higher the priority of the queue.
•
By default, the following priority queue is created:
set queue name "pq" option on set queue name "pq" type priority
set queue name "pq" entry 1 input "basic_q0" set queue name "pq" entry 1 priority 10 set queue name "pq" entry 2 input "basic_q1" set queue name "pq" entry 2 priority 20 set queue name "pq" entry 3 input "basic_q2" set queue name "pq" entry 3 priority 30 set queue name "pq" entry 4 input "basic_q3" set queue name "pq" entry 4 priority 40 set queue name "pq"