Add documentation for ip link add/delete sub-commands
Add some missing pieces. Still need to add doucmentation for rest of vlan arguments.
This commit is contained in:
parent
a171395410
commit
df33d7a489
|
|
@ -26,6 +26,34 @@ ip \- show / manipulate routing, devices, policy routing and tunnels
|
||||||
.BR inet " | " inet6 " | " ipx " | " dnet " | " link " } | "
|
.BR inet " | " inet6 " | " ipx " | " dnet " | " link " } | "
|
||||||
\fB\-o\fR[\fIneline\fR] }
|
\fB\-o\fR[\fIneline\fR] }
|
||||||
|
|
||||||
|
.ti -8
|
||||||
|
.BI "ip link add link " DEVICE
|
||||||
|
.RB "[ " name " ]"
|
||||||
|
.I NAME
|
||||||
|
.br
|
||||||
|
.RB "[ " txqueuelen
|
||||||
|
.IR PACKETS " ]"
|
||||||
|
.br
|
||||||
|
.RB "[ " address
|
||||||
|
.IR LLADDR " ]"
|
||||||
|
.RB "[ " broadcast
|
||||||
|
.IR LLADDR " ]"
|
||||||
|
.br
|
||||||
|
.RB "[ " mtu
|
||||||
|
.IR MTU " ]"
|
||||||
|
.br
|
||||||
|
.BR type TYPE
|
||||||
|
.RI "[ " ARGS " ]"
|
||||||
|
|
||||||
|
.ti -8
|
||||||
|
.IR TYPE " := [ "
|
||||||
|
.BR vlan " | " maclan " | " can " ]"
|
||||||
|
|
||||||
|
.ti -8
|
||||||
|
.BI "ip link delete " DEVICE
|
||||||
|
.BI type TYPE
|
||||||
|
.RI "[ " ARGS " ]"
|
||||||
|
|
||||||
.ti -8
|
.ti -8
|
||||||
.BI "ip link set " DEVICE
|
.BI "ip link set " DEVICE
|
||||||
.RB "{ " up " | " down " | " arp " { " on " | " off " } |"
|
.RB "{ " up " | " down " | " arp " { " on " | " off " } |"
|
||||||
|
|
@ -68,8 +96,6 @@ ip \- show / manipulate routing, devices, policy routing and tunnels
|
||||||
.IR VLAN-QOS " ] ] ["
|
.IR VLAN-QOS " ] ] ["
|
||||||
.B rate
|
.B rate
|
||||||
.IR TXRATE " ]"
|
.IR TXRATE " ]"
|
||||||
.BR " }"
|
|
||||||
|
|
||||||
|
|
||||||
.ti -8
|
.ti -8
|
||||||
.B ip link show
|
.B ip link show
|
||||||
|
|
@ -833,11 +859,47 @@ or, if the objects of this class cannot be listed,
|
||||||
is a network device and the corresponding commands
|
is a network device and the corresponding commands
|
||||||
display and change the state of devices.
|
display and change the state of devices.
|
||||||
|
|
||||||
|
.SS ip link add - add virtual link
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BI link " DEVICE "
|
||||||
|
specifies the physical device to act operate on.
|
||||||
|
|
||||||
|
.I NAME
|
||||||
|
specifies the name of the new virtual device.
|
||||||
|
|
||||||
|
.I TYPE
|
||||||
|
specifies the type of the new device.
|
||||||
|
.sp
|
||||||
|
Link types:
|
||||||
|
|
||||||
|
.in +8
|
||||||
|
.B vlan
|
||||||
|
- 802.1q tagged virrtual LAN interface
|
||||||
|
.sp
|
||||||
|
.B macvlan
|
||||||
|
- virtual interface base on link layer address (MAC)
|
||||||
|
.sp
|
||||||
|
.B can
|
||||||
|
- Controller Area Network interface
|
||||||
|
.in -8
|
||||||
|
|
||||||
|
.SS ip link delete - delete virtual link
|
||||||
|
.I DEVICE
|
||||||
|
specifies the virtual device to act operate on.
|
||||||
|
.I TYPE
|
||||||
|
specifies the type of the device.
|
||||||
|
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BI dev " DEVICE "
|
||||||
|
specifies the physical device to act operate on.
|
||||||
|
|
||||||
.SS ip link set - change device attributes
|
.SS ip link set - change device attributes
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BI dev " NAME " (default)
|
.BI dev " DEVICE "
|
||||||
.I NAME
|
.I DEVICE
|
||||||
specifies network device to operate on. When configuring SR-IOV Virtual Fuction
|
specifies network device to operate on. When configuring SR-IOV Virtual Fuction
|
||||||
(VF) devices, this keyword should specify the associated Physical Function (PF)
|
(VF) devices, this keyword should specify the associated Physical Function (PF)
|
||||||
device.
|
device.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue