1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:42:08 +02:00
tldr/pages/linux/ip-link.md
Adam Herst 5bbcb4b4f4 ip-link: edit example
Improve wording

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-04-11 16:08:01 +01:00

28 lines
644 B
Markdown

# ip link
> Manage network interfaces.
> More information: <https://man7.org/linux/man-pages/man8/ip-link.8.html>.
- Show information about all network interfaces:
`ip link`
- Show information about a specific network interface:
`ip link show {{ethN}}`
- Bring a network interface up or down:
`ip link set {{ethN}} {{up|down}}`
- Give a meaningful name to a network interface:
`ip link set {{ethN}} alias "{{LAN Interface}}"`
- Change the MAC address of a network interface:
`ip link set {{ethN}} address {{ff:ff:ff:ff:ff:ff}}`
- Change the MTU size for a network interface to use jumbo frames:
`ip link set {{ethN}} mtu {{9000}}`