1 .TH IP\-LINK 8 "13 Dec 2012" "iproute2" "Linux"
3 ip-link \- network device configuration
10 .RI " { " COMMAND " | "
43 .BR "ip link delete " {
56 .RB "[ { " up " | " down " } ]"
59 .IR "ETYPE TYPE_ARGS" " ]"
61 .RB "[ " arp " { " on " | " off " } ]"
63 .RB "[ " dynamic " { " on " | " off " } ]"
65 .RB "[ " multicast " { " on " | " off " } ]"
67 .RB "[ " allmulticast " { " on " | " off " } ]"
69 .RB "[ " promisc " { " on " | " off " } ]"
71 .RB "[ " protodown " { " on " | " off " } ]"
73 .RB "[ " trailers " { " on " | " off " } ]"
91 .IR PID " | " NETNSNAME " } ]"
119 .RB "[ " spoofchk " { " on " | " off " } ]"
121 .RB "[ " query_rss " { " on " | " off " } ]"
123 .RB "[ " state " { " auto " | " enable " | " disable " } ]"
125 .RB "[ " trust " { " on " | " off " } ]"
127 .RB "[ " node_guid " eui64 ]"
129 .RB "[ " port_guid " eui64 ] ]"
135 .RB "[ " nomaster " ]"
140 .RB "[ " addrgenmode " { " eui64 " | " none " | " stable_secret " | " random " } ]"
145 .RI "[ " DEVICE " | "
190 .IR ETYPE " := [ " TYPE " |"
191 .BR bridge_slave " | " bond_slave " ]"
194 .SS ip link add - add virtual link
198 specifies the physical device to act operate on.
201 specifies the name of the new virtual device.
204 specifies the type of the new device.
210 - Ethernet Bridge device
215 - Controller Area Network interface
218 - Dummy network interface
221 - High-availability Seamless Redundancy device
224 - Intermediate Functional Block device
227 - IP over Infiniband device
230 - Virtual interface base on link layer address (MAC)
233 - Virtual interface based on link layer address (MAC) and TAP.
236 - Virtual Controller Area Network interface
239 - Virtual ethernet interface
242 - 802.1q tagged virtual LAN interface
245 - Virtual eXtended LAN
248 - Virtual tunnel interface IPv4|IPv6 over IPv6
251 - Virtual tunnel interface IPv4 over IPv4
254 - Virtual tunnel interface IPv6 over IPv4
257 - Virtual tunnel interface GRE over IPv4
260 - Virtual L2 tunnel interface GRE over IPv4
263 - Virtual tunnel interface GRE over IPv6
266 - Virtual L2 tunnel interface GRE over IPv6
269 - Virtual tunnel interface
272 - Netlink monitoring device
275 - Interface for L3 (IPv6/IPv4) based VLANs
278 - Interface for 6LoWPAN (IPv6) over IEEE 802.15.4 / Bluetooth
281 - GEneric NEtwork Virtualization Encapsulation
284 - Interface for IEEE 802.1AE MAC Security (MACsec)
287 - Interface for L3 VRF domains
291 .BI numtxqueues " QUEUE_COUNT "
292 specifies the number of transmit queues for new device.
295 .BI numrxqueues " QUEUE_COUNT "
296 specifies the number of receive queues for new device.
300 specifies the desired index of the new virtual device. The link creation fails, if the index is busy.
306 the following additional arguments are supported:
313 .BI protocol " VLAN_PROTO "
317 .BR reorder_hdr " { " on " | " off " } "
320 .BR gvrp " { " on " | " off " } "
323 .BR mvrp " { " on " | " off " } "
326 .BR loose_binding " { " on " | " off " } "
329 .BI ingress-qos-map " QOS-MAP "
332 .BI egress-qos-map " QOS-MAP "
337 .BI protocol " VLAN_PROTO "
338 - either 802.1Q or 802.1ad.
341 - specifies the VLAN Identifer to use. Note that numbers with a leading " 0 " or " 0x " are interpreted as octal or hexadeimal, respectively.
343 .BR reorder_hdr " { " on " | " off " } "
344 - specifies whether ethernet headers are reordered or not (default is
349 .BR reorder_hdr " is " on
350 then VLAN header will be not inserted immediately but only before passing to the
351 physical device (if this device does not support VLAN offloading), the similar
352 on the RX direction - by default the packet will be untagged before being
353 received by VLAN device. Reordering allows to accelerate tagging on egress and
354 to hide VLAN header on ingress so the packet looks like regular Ethernet packet,
355 at the same time it might be confusing for packet capture as the VLAN header
356 does not exist within the packet.
358 VLAN offloading can be checked by
364 .RB grep " tx-vlan-offload"
367 where <phy_dev> is the physical device to which VLAN device is bound.
370 .BR gvrp " { " on " | " off " } "
371 - specifies whether this VLAN should be registered using GARP VLAN Registration Protocol.
373 .BR mvrp " { " on " | " off " } "
374 - specifies whether this VLAN should be registered using Multiple VLAN Registration Protocol.
376 .BR loose_binding " { " on " | " off " } "
377 - specifies whether the VLAN device state is bound to the physical device state.
379 .BI ingress-qos-map " QOS-MAP "
380 - defines a mapping of VLAN header prio field to the Linux internal packet
381 priority on incoming frames. The format is FROM:TO with multiple mappings
384 .BI egress-qos-map " QOS-MAP "
385 - defines a mapping of Linux internal packet priority to VLAN header prio field
386 but for outgoing frames. The format is the same as for ingress-qos-map.
389 Linux packet priority can be set by
394 -t mangle -A POSTROUTING [...] -j CLASSIFY --set-class 0:4
397 and this "4" priority can be used in the egress qos mapping to set VLAN prio "5":
401 link set veth0.10 type vlan egress 4:5
410 the following additional arguments are supported:
412 .BI "ip link add " DEVICE
413 .BI type " vxlan " id " VNI"
416 .RB " ] [ { " group " | " remote " } "
420 .RI "{ "IPADDR " | "any " } "
426 .BI flowlabel " FLOWLABEL "
430 .BI srcport " MIN MAX "
444 .RB [ no ] udp6zerocsumtx
446 .RB [ no ] udp6zerocsumrx
448 .BI ageing " SECONDS "
450 .BI maxaddress " NUMBER "
462 - specifies the VXLAN Network Identifer (or VXLAN Segment
466 - specifies the physical device to use for tunnel endpoint communication.
470 - specifies the multicast IP address to join.
471 This parameter cannot be specified with the
477 - specifies the unicast destination IP address to use in outgoing packets
478 when the destination link layer address is not known in the VXLAN device
479 forwarding database. This parameter cannot be specified with the
485 - specifies the source IP address to use in outgoing packets.
489 - specifies the TTL value to use in outgoing packets.
493 - specifies the TOS value to use in outgoing packets.
496 .BI flowlabel " FLOWLABEL"
497 - specifies the flow label to use in outgoing packets.
501 - specifies the UDP destination port to communicate to the remote VXLAN tunnel endpoint.
504 .BI srcport " MIN MAX"
505 - specifies the range of port numbers to use as UDP
506 source ports to communicate to the remote VXLAN tunnel endpoint.
510 - specifies if unknown source link layer addresses and IP addresses
511 are entered into the VXLAN device forwarding database.
515 - specifies if route short circuit is turned on.
519 - specifies ARP proxy is turned on.
523 - specifies if netlink LLADDR miss notifications are generated.
527 - specifies if netlink IP ADDR miss notifications are generated.
531 - specifies if UDP checksum is calculated for transmitted packets over IPv4.
534 .RB [ no ] udp6zerocsumtx
535 - skip UDP checksum calculation for transmitted packets over IPv6.
538 .RB [ no ] udp6zerocsumrx
539 - allow incoming UDP packets over IPv6 with zero checksum field.
542 .BI ageing " SECONDS"
543 - specifies the lifetime in seconds of FDB entries learnt by the kernel.
546 .BI maxaddress " NUMBER"
547 - specifies the maximum number of FDB entries.
551 - specifies whether an external control plane
552 .RB "(e.g. " "ip route encap" )
553 or the internal FDB should be used.
557 - enables the Group Policy extension (VXLAN-GBP).
560 Allows to transport group policy context across VXLAN network peers.
561 If enabled, includes the mark of a packet in the VXLAN header for outgoing
562 packets and fills the packet mark based on the information found in the
563 VXLAN header for incomming packets.
565 Format of upper 16 bits of packet mark (flags);
568 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
570 |-|-|-|-|-|-|-|-|-|D|-|-|A|-|-|-|
572 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
575 Don't Learn bit. When set, this bit indicates that the egress
576 VTEP MUST NOT learn the source address of the encapsulated frame.
579 Indicates that the group policy has already been applied to
580 this packet. Policies MUST NOT be applied by devices when the A bit is set.
583 Format of lower 16 bits of packet mark (policy ID):
586 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
590 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
594 iptables -A OUTPUT [...] -j MARK --set-mark 0x800FF
600 - enables the Generic Protocol extension (VXLAN-GPE). Currently, this is
601 only supported together with the
608 GRE, IPIP, SIT Type Support
611 the following additional arguments are supported:
613 .BI "ip link add " DEVICE
614 .BR type " { " gre " | " ipip " | " sit " }"
615 .BI " remote " ADDR " local " ADDR
617 .BR encap " { " fou " | " gue " | " none " }"
619 .BR encap-sport " { " \fIPORT " | " auto " }"
621 .BI "encap-dport " PORT
623 .RB [ no ] encap-csum
625 .RB [ no ] encap-remcsum
631 - specifies the remote address of the tunnel.
635 - specifies the fixed local address for tunneled packets.
636 It must be an address on another interface on this host.
639 .BR encap " { " fou " | " gue " | " none " }"
640 - specifies type of secondary UDP encapsulation. "fou" indicates
641 Foo-Over-UDP, "gue" indicates Generic UDP Encapsulation.
644 .BR encap-sport " { " \fIPORT " | " auto " }"
645 - specifies the source port in UDP encapsulation.
647 indicates the port by number, "auto"
648 indicates that the port number should be chosen automatically
649 (the kernel picks a flow based on the flow hash of the
650 encapsulated packet).
653 .RB [ no ] encap-csum
654 - specifies if UDP checksums are enabled in the secondary
658 .RB [ no ] encap-remcsum
659 - specifies if Remote Checksum Offload is enabled. This is only
660 applicable for Generic UDP Encapsulation.
665 IP6GRE/IP6GRETAP Type Support
668 the following additional arguments are supported:
670 .BI "ip link add " DEVICE
671 .BR type " { " ip6gre " | " ip6gretap " }"
672 .BI remote " ADDR " local " ADDR"
683 .BI encaplimit " ELIM "
685 .BI tclass " TCLASS "
687 .BI flowlabel " FLOWLABEL "
697 - specifies the remote IPv6 address of the tunnel.
701 - specifies the fixed local IPv6 address for tunneled packets.
702 It must be an address on another interface on this host.
709 flag enables sequencing of outgoing packets.
712 flag requires that all input packets are serialized.
715 .RB [ i | o ] key " \fIKEY"
716 - use keyed GRE with key
718 is either a number or an IPv4 address-like dotted quad.
721 parameter specifies the same key to use in both directions.
723 .BR ikey " and " okey
724 parameters specify different keys for input and output.
728 - generate/require checksums for tunneled packets.
731 flag calculates checksums for outgoing packets.
734 flag requires that all input packets have the correct
737 flag is equivalent to the combination
742 - specifies Hop Limit value to use in outgoing packets.
745 .BI encaplimit " ELIM"
746 - specifies a fixed encapsulation limit. Default is 4.
749 .BI flowlabel " FLOWLABEL"
750 - specifies a fixed flowlabel.
754 - specifies the traffic class field on
755 tunneled packets, which can be specified as either a two-digit
756 hex value (e.g. c0) or a predefined string (e.g. internet).
759 causes the field to be copied from the original IP header. The
761 .BI "inherit/" STRING
763 .BI "inherit/" 00 ".." ff
764 will set the field to
768 when tunneling non-IP packets. The default value is 00.
776 the following additional arguments are supported:
778 .BI "ip link add " DEVICE " name " NAME
779 .BR "type ipoib " [ " pkey \fIPKEY" " ] [ " mode " \fIMODE \fR]"
784 - specifies the IB P-Key to use.
787 - specifies the mode (datagram or connected) to use.
793 the following additional arguments are supported:
795 .BI "ip link add " DEVICE
796 .BI type " geneve " id " VNI " remote " IPADDR"
802 .BI flowlabel " FLOWLABEL "
808 - specifies the Virtual Network Identifer to use.
812 - specifies the unicast destination IP address to use in outgoing packets.
816 - specifies the TTL value to use in outgoing packets.
820 - specifies the TOS value to use in outgoing packets.
823 .BI flowlabel " FLOWLABEL"
824 - specifies the flow label to use in outgoing packets.
829 MACVLAN and MACVTAP Type Support
834 the following additional arguments are supported:
836 .BI "ip link add link " DEVICE " name " NAME
837 .BR type " { " macvlan " | " macvtap " } "
838 .BR mode " { " private " | " vepa " | " bridge " | " passthru
839 .RB " [ " nopromisc " ] } "
843 .BR type " { " macvlan " | " macvtap " } "
844 - specifies the link type to use.
845 .BR macvlan " creates just a virtual interface, while "
846 .BR macvtap " in addition creates a character device "
847 .BR /dev/tapX " to be used just like a " tuntap " device."
850 - Do not allow communication between
852 instances on the same physical interface, even if the external switch supports
856 - Virtual Ethernet Port Aggregator mode. Data from one
858 instance to the other on the same physical interface is transmitted over the
859 physical interface. Either the attached switch needs to support hairpin mode,
860 or there must be a TCP/IP router forwarding the packets in order to allow
861 communication. This is the default mode.
864 - In bridge mode, all endpoints are directly connected to each other,
865 communication is not redirected through the physical interface's peer.
867 .BR mode " " passthru " [ " nopromisc " ] "
868 - This mode gives more power to a single endpoint, usually in
869 .BR macvtap " mode. It is not allowed for more than one endpoint on the same "
870 physical interface. All traffic will be forwarded to this endpoint, allowing
871 virtio guests to change MAC address or set promiscuous mode in order to bridge
872 the interface or create vlan interfaces on top of it. By default, this mode
873 forces the underlying interface into promiscuous mode. Passing the
874 .BR nopromisc " flag prevents this, so the promisc flag may be controlled "
875 using standard tools.
879 High-availability Seamless Redundancy (HSR) Support
882 the following additional arguments are supported:
884 .BI "ip link add link " DEVICE " name " NAME " type hsr"
885 .BI slave1 " SLAVE1-IF " slave2 " SLAVE2-IF "
888 .BR version " { " 0 " | " 1 " } ]"
893 - specifies the link type to use, here HSR.
895 .BI slave1 " SLAVE1-IF "
896 - Specifies the physical device used for the first of the two ring ports.
898 .BI slave2 " SLAVE2-IF "
899 - Specifies the physical device used for the second of the two ring ports.
901 .BI supervision " ADDR-BYTE"
902 - The last byte of the multicast address used for HSR supervision frames.
903 Default option is "0", possible values 0-255.
905 .BR version " { " 0 " | " 1 " }"
906 - Selects the protocol version of the interface. Default option is "0", which
907 corresponds to the 2010 version of the HSR standard. Option "1" activates the
915 the following additional arguments are supported:
917 .BI "ip link add link " DEVICE " name " NAME " type macsec"
923 .BI cipher " CIPHER_SUITE"
926 .BR on " | " off " } ] [ "
927 .BR send_sci " { " on " | " off " } ] ["
928 .BR es " { " on " | " off " } ] ["
929 .BR scb " { " on " | " off " } ] ["
930 .BR protect " { " on " | " off " } ] ["
931 .BR replay " { " on " | " off " }"
933 .IR 0..2^32-1 " } ] ["
934 .BR validate " { " strict " | " check " | " disabled " } ] ["
941 - sets the port number for this MACsec device.
945 - sets the SCI for this MACsec device.
948 .BI cipher " CIPHER_SUITE "
949 - defines the cipher suite to use.
952 .BR "encrypt on " or " encrypt off"
953 - switches between authenticated encryption, or authenticity mode only.
956 .BR "send_sci on " or " send_sci off"
957 - specifies whether the SCI is included in every packet, or only when it is necessary.
960 .BR "es on " or " es off"
961 - sets the End Station bit.
964 .BR "scb on " or " scb off"
965 - sets the Single Copy Broadcast bit.
968 .BR "protect on " or " protect off"
969 - enables MACsec protection on the device.
972 .BR "replay on " or " replay off"
973 - enables replay protection on the device.
979 - sets the size of the replay window.
984 .BR "validate strict " or " validate check " or " validate disabled"
985 - sets the validation mode on the device.
989 - sets the active secure association for transmission.
997 the following additional arguments are supported:
999 .BI "ip link add " DEVICE " type vrf table " TABLE
1003 .BR table " table id associated with VRF device"
1007 .SS ip link delete - delete virtual link
1011 specifies the virtual device to act operate on.
1015 specifies the group of virtual links to delete. Group 0 is not allowed to be
1016 deleted since it is the default group.
1020 specifies the type of the device.
1022 .SS ip link set - change device attributes
1026 If multiple parameter changes are requested,
1028 aborts immediately after any of the changes have failed.
1029 This is the only case when
1031 can move the system to an unpredictable state. The solution
1032 is to avoid changing several parameters with one
1039 specifies network device to operate on. When configuring SR-IOV Virtual Function
1040 (VF) devices, this keyword should specify the associated Physical Function (PF)
1046 has a dual role: If both group and dev are present, then move the device to the
1047 specified group. If only a group is specified, then the command operates on
1048 all devices in that group.
1052 change the state of the device to
1058 .BR "arp on " or " arp off"
1064 .BR "multicast on " or " multicast off"
1070 .BR "protodown on " or " protodown off"
1073 state on the device. Indicates that a protocol error has been detected on the port. Switch drivers can react to this error by doing a phys down on the switch port.
1076 .BR "dynamic on " or " dynamic off"
1079 flag on the device. Indicates that address can change when interface goes down (currently
1085 change the name of the device. This operation is not
1086 recommended if the device is running or has some addresses
1090 .BI txqueuelen " NUMBER"
1092 .BI txqlen " NUMBER"
1093 change the transmit queue length of the device.
1102 .BI address " LLADDRESS"
1103 change the station address of the interface.
1106 .BI broadcast " LLADDRESS"
1108 .BI brd " LLADDRESS"
1110 .BI peer " LLADDRESS"
1111 change the link layer broadcast address or the peer address when
1116 .BI netns " NETNSNAME " \fR| " PID"
1117 move the device to the network namespace associated with name
1121 Some devices are not allowed to change network namespace: loopback, bridge,
1122 ppp, wireless. These are network namespace local devices. In such case
1124 tool will return "Invalid argument" error. It is possible to find out if device is local
1125 to a single network namespace by checking
1127 flag in the output of the
1135 To change network namespace for wireless devices the
1137 tool can be used. But it allows to change network namespace only for physical devices and by process
1142 give the device a symbolic name for easy reference.
1146 specify the group the device belongs to.
1147 The available groups are listed in file
1148 .BR "@SYSCONFDIR@/group" .
1152 specify a Virtual Function device to be configured. The associated PF device
1153 must be specified using the
1158 .BI mac " LLADDRESS"
1159 - change the station address for the specified VF. The
1161 parameter must be specified.
1165 - change the assigned VLAN for the specified VF. When specified, all traffic
1166 sent from the VF will be tagged with the specified VLAN ID. Incoming traffic
1167 will be filtered for the specified VLAN ID, and will have all VLAN tags
1168 stripped before being passed to the VF. Setting this parameter to 0 disables
1169 VLAN tagging and filtering. The
1171 parameter must be specified.
1175 - assign VLAN QOS (priority) bits for the VLAN tag. When specified, all VLAN
1176 tags transmitted by the VF will include the specified priority bits in the
1177 VLAN tag. If not specified, the value is assumed to be 0. Both the
1181 parameters must be specified. Setting both
1185 as 0 disables VLAN tagging and filtering for the VF.
1189 -- change the allowed transmit bandwidth, in Mbps, for the specified VF.
1190 Setting this parameter to 0 disables rate limiting.
1192 parameter must be specified.
1198 .BI max_tx_rate " TXRATE"
1199 - change the allowed maximum transmit bandwidth, in Mbps, for the specified VF.
1201 parameter must be specified.
1204 .BI min_tx_rate " TXRATE"
1205 - change the allowed minimum transmit bandwidth, in Mbps, for the specified VF.
1206 Minimum TXRATE should be always <= Maximum TXRATE.
1208 parameter must be specified.
1211 .BI spoofchk " on|off"
1212 - turn packet spoof checking on or off for the specified VF.
1214 .BI query_rss " on|off"
1215 - toggle the ability of querying the RSS configuration of a specific VF. VF RSS information like RSS hash key may be considered sensitive on some devices where this information is shared between VF and PF and thus its querying may be prohibited by default.
1217 .BI state " auto|enable|disable"
1218 - set the virtual link state as seen by the specified VF. Setting to auto means a
1219 reflection of the PF link state, enable lets the VF to communicate with other VFs on
1220 this host even if the PF link state is down, disable causes the HW to drop any packets
1224 - trust the specified VF user. This enables that VF user can set a specific feature
1225 which may impact security and/or performance. (e.g. VF multicast promiscuous mode)
1227 .BI node_guid " eui64"
1228 - configure node GUID for the VF.
1230 .BI port_guid " eui64"
1231 - configure port GUID for the VF.
1235 .BI master " DEVICE"
1236 set master device of the device (enslave device).
1240 unset master device of the device (release device).
1243 .BI addrgenmode " eui64|none|stable_secret|random"
1244 set the IPv6 address generation mode
1247 - use a Modified EUI-64 format interface identifier
1250 - disable automatic address generation
1253 - generate the interface identifier based on a preset /proc/sys/net/ipv6/conf/{default,DEVICE}/stable_secret
1256 - like stable_secret, but auto-generate a new random secret if none is set
1260 set peer netnsid for a cross-netns interface
1263 .BI type " ETYPE TYPE_ARGS"
1264 Change type-specific settings. For a list of supported types and arguments refer
1265 to the description of
1267 above. In addition to that, it is possible to manipulate settings to slave
1271 Bridge Slave Support
1272 For a link with master
1274 the following additional arguments are supported:
1276 .B "ip link set type bridge_slave"
1280 .BI priority " PRIO"
1284 .BR guard " { " on " | " off " }"
1286 .BR hairpin " { " on " | " off " }"
1288 .BR fastleave " { " on " | " off " }"
1290 .BR root_block " { " on " | " off " }"
1292 .BR learning " { " on " | " off " }"
1294 .BR flood " { " on " | " off " }"
1296 .BR proxy_arp " { " on " | " off " }"
1298 .BR proxy_arp_wifi " { " on " | " off " }"
1300 .BI mcast_router " MULTICAST_ROUTER"
1302 .BR mcast_fast_leave " { " on " | " off "} ]"
1309 is a number representing the following states:
1310 .BR 0 " (disabled),"
1311 .BR 1 " (listening),"
1312 .BR 2 " (learning),"
1313 .BR 3 " (forwarding),"
1314 .BR 4 " (blocking)."
1316 .BI priority " PRIO"
1317 - set port priority (a 16bit unsigned value).
1320 - set port cost (a 32bit unsigned value).
1322 .BR guard " { " on " | " off " }"
1323 - block incoming BPDU packets on this port.
1325 .BR hairpin " { " on " | " off " }"
1326 - enable hairpin mode on this port. This will allow incoming packets on this
1327 port to be reflected back.
1329 .BR fastleave " { " on " | " off " }"
1330 - enable multicast fast leave on this port.
1332 .BR root_block " { " on " | " off " }"
1333 - block this port from becoming the bridge's root port.
1335 .BR learning " { " on " | " off " }"
1336 - allow MAC address learning on this port.
1338 .BR flood " { " on " | " off " }"
1339 - open the flood gates on this port, i.e. forward all unicast frames to this
1341 .BR proxy_arp " and " proxy_arp_wifi
1344 .BR proxy_arp " { " on " | " off " }"
1345 - enable proxy ARP on this port.
1347 .BR proxy_arp_wifi " { " on " | " off " }"
1348 - enable proxy ARP on this port which meets extended requirements by IEEE
1349 802.11 and Hotspot 2.0 specifications.
1351 .BI mcast_router " MULTICAST_ROUTER"
1352 - configure this port for having multicast routers attached. A port with a
1353 multicast router will receive all multicast traffic.
1357 to disable multicast routers on this port,
1359 to let the system detect the presence of of routers (this is the default),
1361 to permanently enable multicast traffic forwarding on this port or
1363 to enable multicast routers temporarily on this port, not depending on incoming
1366 .BR mcast_fast_leave " { " on " | " off " }"
1367 - this is a synonym to the
1374 Bonding Slave Support
1375 For a link with master
1377 the following additional arguments are supported:
1379 .B "ip link set type bond_slave"
1387 - set the slave's queue ID (a 16bit unsigned value).
1391 .SS ip link show - display device attributes
1394 .BI dev " NAME " (default)
1396 specifies the network device to show.
1397 If this argument is omitted all devices in the default group are listed.
1402 specifies what group of devices to show.
1406 only display running interfaces.
1409 .BI master " DEVICE "
1411 specifies the master device which enslaves devices to show.
1416 speficies the VRF which enslaves devices to show.
1421 specifies the type of devices to show.
1423 Note that the type name is not checked against the list of supported types -
1424 instead it is sent as-is to the kernel. Later it is used to filter the returned
1425 interface list by comparing it with the relevant attribute in case the kernel
1426 didn't filter already. Therefore any string is accepted, but may lead to empty
1429 .SS ip link help - display help
1433 specifies which help of link type to dislpay.
1437 may be a number or a string from the file
1438 .B @SYSCONFDIR@/group
1439 which can be manually filled.
1445 Shows the state of all network interfaces on the system.
1448 ip link show type bridge
1450 Shows the bridge devices.
1453 ip link show type vlan
1455 Shows the vlan devices.
1458 ip link show master br0
1460 Shows devices enslaved by br0
1463 ip link set dev ppp0 mtu 1400
1465 Change the MTU the ppp0 device.
1468 ip link add link eth0 name eth0.10 type vlan id 10
1470 Creates a new vlan device eth0.10 on device eth0.
1473 ip link delete dev eth0.10
1475 Removes vlan device.
1480 Display help for the gre link type.
1483 ip link add name tun1 type ipip remote 192.168.1.1
1484 local 192.168.1.2 ttl 225 encap gue encap-sport auto
1485 encap-dport 5555 encap-csum encap-remcsum
1487 Creates an IPIP that is encapsulated with Generic UDP Encapsulation,
1488 and the outer UDP checksum and remote checksum offload are enabled.
1492 ip link add link wpan0 lowpan0 type lowpan
1494 Creates a 6LoWPAN interface named lowpan0 on the underlying
1495 IEEE 802.15.4 device wpan0.
1506 Original Manpage by Michail Litvak <mci@owl.openwall.com>