ip link—Network Device Configuration

A link refers to a network device. The ip link object and the corresponding command set allow you to view and manipulate the state of network devices. There are just two commands for the link object: set and show.

The full help syntax which you may want to refer back to for ip link is as follows:

Usage: ip link set DEVICE {  up | down | arp {  on | off }  |
                             dynamic {  on | off }  |
                             multicast {  on | off }  | txqueuelen PACKETS |
                             name NEWNAME |
                             address LLADDR | broadcast LLADDR |
                             mtu MTU }
       ip link show [ DEVICE ]

ip link set—Change Device Attributes

This command allows you to change device attributes.

Abbreviations: set, s

Warning

You can request multiple parameter changes with ip link. If you request multiple parameter ...

Get Policy Routing Using Linux® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.