]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/blobdiff - man/man8/ip-link.8
Add ability to set link state with ip
[lisovros/iproute2_canprio.git] / man / man8 / ip-link.8
index 8c635845c4fecb40b329acd7e03a14d3c418f9fc..72f4cfd68036536f3ff74d048deaaea9e7981fe9 100644 (file)
@@ -100,6 +100,12 @@ ip-link \- network device configuration
 .B spoofchk { on | off }
 ] |
 .br
+.B mode
+.IR LINKMODE " |"
+.br
+.B state
+.IR LINKSTATE " |"
+.br
 .B master
 .IR DEVICE
 .br
@@ -248,6 +254,18 @@ move the device to the network namespace associated with the process
 move the device to the network namespace associated with name
 .IR "NETNSNAME".
 
+.TP
+.BI mode " LINKMODE"
+allows setting link mode which determines which RFC2863 operational state
+the device will transistion to when it is brought up. Setting
+.I dormant
+mode changes the behaviour so that device goes into DORMANT state instead
+of UP when driver is ready.
+
+.TP
+.BI state " LINKSTATE"
+allows setting the operational link state. The values (defined in RFC2863)
+are: UP, DOWN, TESTING, UNKNOWN, DORMANT, NOTPRESENT, LOWERLAYERDOWN.
 .TP
 .BI alias " NAME"
 give the device a symbolic name for easy reference.