mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 17:42:31 +00:00
18 lines
452 B
Plaintext
18 lines
452 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ifmetric
|
|
|
|
> An IPv4 route metrics manipulation tool.
|
|
> More information: <https://0pointer.de/lennart/projects/ifmetric/>.
|
|
|
|
- Set the priority of the specified network interface (a higher number indicates lower priority):
|
|
|
|
`sudo ifmetric {{interface}} {{value}}`
|
|
|
|
- Reset the priority of the specified network interface:
|
|
|
|
`sudo ifmetric {{interface}} {{0}}`
|