---
name: "ola_set_priority"
section: "1"
platform: "linux"
package: "ola"
version: "0.10.9.nojsmin-7.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ola_set_priority"
---

# ola\_set\_priority(1)

Set an olad port's priority.

## NAME

ola\_set\_priority - Set an olad port's priority.

## SYNOPSIS

**ola\_set\_priority \[ options \]**

## DESCRIPTION

**ola\_set\_priority** is used to set the priority of ports in [olad(1)](/olad/1.md).

## OPTIONS

- \-h, --help

  Display the help message.

- \-d, --device \<device\>

  Id of the device you want to set the priority of.

- \-i, --input

  Set an input port, otherwise set an output port.

- \-o, --override \<value\>

  Set the port priority to a static value, if this option isn't used, the port will be set to inherit mode.

- \-p, --port \<port\>

  Id of the port you want to set the priority of.

## SEE ALSO

**[olad(1)](/olad/1.md)**, **[ola\_dev\_info(1)](/ola_dev_info/1.md)**,
