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 " | "
191 .IR ETYPE " := [ " TYPE " |"
192 .BR bridge_slave " | " bond_slave " ]"
195 .SS ip link add - add virtual link
199 specifies the physical device to act operate on.
202 specifies the name of the new virtual device.
205 specifies the type of the new device.
211 - Ethernet Bridge device
216 - Controller Area Network interface
219 - Dummy network interface
222 - High-availability Seamless Redundancy device
225 - Intermediate Functional Block device
228 - IP over Infiniband device
231 - Virtual interface base on link layer address (MAC)
234 - Virtual interface based on link layer address (MAC) and TAP.
237 - Virtual Controller Area Network interface
240 - Virtual ethernet interface
243 - 802.1q tagged virtual LAN interface
246 - Virtual eXtended LAN
249 - Virtual tunnel interface IPv4|IPv6 over IPv6
252 - Virtual tunnel interface IPv4 over IPv4
255 - Virtual tunnel interface IPv6 over IPv4
258 - Virtual tunnel interface GRE over IPv4
261 - Virtual L2 tunnel interface GRE over IPv4
264 - Virtual tunnel interface GRE over IPv6
267 - Virtual L2 tunnel interface GRE over IPv6
270 - Virtual tunnel interface
273 - Netlink monitoring device
276 - Interface for L3 (IPv6/IPv4) based VLANs
279 - Interface for 6LoWPAN (IPv6) over IEEE 802.15.4 / Bluetooth
282 - GEneric NEtwork Virtualization Encapsulation
285 - Interface for IEEE 802.1AE MAC Security (MACsec)
288 - Interface for L3 VRF domains
292 .BI numtxqueues " QUEUE_COUNT "
293 specifies the number of transmit queues for new device.
296 .BI numrxqueues " QUEUE_COUNT "
297 specifies the number of receive queues for new device.
301 specifies the desired index of the new virtual device. The link creation fails, if the index is busy.
307 the following additional arguments are supported:
314 .BI protocol " VLAN_PROTO "
318 .BR reorder_hdr " { " on " | " off " } "
321 .BR gvrp " { " on " | " off " } "
324 .BR mvrp " { " on " | " off " } "
327 .BR loose_binding " { " on " | " off " } "
330 .BI ingress-qos-map " QOS-MAP "
333 .BI egress-qos-map " QOS-MAP "
338 .BI protocol " VLAN_PROTO "
339 - either 802.1Q or 802.1ad.
342 - specifies the VLAN Identifer to use. Note that numbers with a leading " 0 " or " 0x " are interpreted as octal or hexadeimal, respectively.
344 .BR reorder_hdr " { " on " | " off " } "
345 - specifies whether ethernet headers are reordered or not (default is
350 .BR reorder_hdr " is " on
351 then VLAN header will be not inserted immediately but only before passing to the
352 physical device (if this device does not support VLAN offloading), the similar
353 on the RX direction - by default the packet will be untagged before being
354 received by VLAN device. Reordering allows to accelerate tagging on egress and
355 to hide VLAN header on ingress so the packet looks like regular Ethernet packet,
356 at the same time it might be confusing for packet capture as the VLAN header
357 does not exist within the packet.
359 VLAN offloading can be checked by
365 .RB grep " tx-vlan-offload"
368 where <phy_dev> is the physical device to which VLAN device is bound.
371 .BR gvrp " { " on " | " off " } "
372 - specifies whether this VLAN should be registered using GARP VLAN Registration Protocol.
374 .BR mvrp " { " on " | " off " } "
375 - specifies whether this VLAN should be registered using Multiple VLAN Registration Protocol.
377 .BR loose_binding " { " on " | " off " } "
378 - specifies whether the VLAN device state is bound to the physical device state.
380 .BI ingress-qos-map " QOS-MAP "
381 - defines a mapping of VLAN header prio field to the Linux internal packet
382 priority on incoming frames. The format is FROM:TO with multiple mappings
385 .BI egress-qos-map " QOS-MAP "
386 - defines a mapping of Linux internal packet priority to VLAN header prio field
387 but for outgoing frames. The format is the same as for ingress-qos-map.
390 Linux packet priority can be set by
395 -t mangle -A POSTROUTING [...] -j CLASSIFY --set-class 0:4
398 and this "4" priority can be used in the egress qos mapping to set VLAN prio "5":
402 link set veth0.10 type vlan egress 4:5
411 the following additional arguments are supported:
413 .BI "ip link add " DEVICE
414 .BI type " vxlan " id " VNI"
417 .RB " ] [ { " group " | " remote " } "
421 .RI "{ "IPADDR " | "any " } "
427 .BI flowlabel " FLOWLABEL "
431 .BI srcport " MIN MAX "
445 .RB [ no ] udp6zerocsumtx
447 .RB [ no ] udp6zerocsumrx
449 .BI ageing " SECONDS "
451 .BI maxaddress " NUMBER "
463 - specifies the VXLAN Network Identifer (or VXLAN Segment
467 - specifies the physical device to use for tunnel endpoint communication.
471 - specifies the multicast IP address to join.
472 This parameter cannot be specified with the
478 - specifies the unicast destination IP address to use in outgoing packets
479 when the destination link layer address is not known in the VXLAN device
480 forwarding database. This parameter cannot be specified with the
486 - specifies the source IP address to use in outgoing packets.
490 - specifies the TTL value to use in outgoing packets.
494 - specifies the TOS value to use in outgoing packets.
497 .BI flowlabel " FLOWLABEL"
498 - specifies the flow label to use in outgoing packets.
502 - specifies the UDP destination port to communicate to the remote VXLAN tunnel endpoint.
505 .BI srcport " MIN MAX"
506 - specifies the range of port numbers to use as UDP
507 source ports to communicate to the remote VXLAN tunnel endpoint.
511 - specifies if unknown source link layer addresses and IP addresses
512 are entered into the VXLAN device forwarding database.
516 - specifies if route short circuit is turned on.
520 - specifies ARP proxy is turned on.
524 - specifies if netlink LLADDR miss notifications are generated.
528 - specifies if netlink IP ADDR miss notifications are generated.
532 - specifies if UDP checksum is calculated for transmitted packets over IPv4.
535 .RB [ no ] udp6zerocsumtx
536 - skip UDP checksum calculation for transmitted packets over IPv6.
539 .RB [ no ] udp6zerocsumrx
540 - allow incoming UDP packets over IPv6 with zero checksum field.
543 .BI ageing " SECONDS"
544 - specifies the lifetime in seconds of FDB entries learnt by the kernel.
547 .BI maxaddress " NUMBER"
548 - specifies the maximum number of FDB entries.
552 - specifies whether an external control plane
553 .RB "(e.g. " "ip route encap" )
554 or the internal FDB should be used.
558 - enables the Group Policy extension (VXLAN-GBP).
561 Allows to transport group policy context across VXLAN network peers.
562 If enabled, includes the mark of a packet in the VXLAN header for outgoing
563 packets and fills the packet mark based on the information found in the
564 VXLAN header for incomming packets.
566 Format of upper 16 bits of packet mark (flags);
569 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
571 |-|-|-|-|-|-|-|-|-|D|-|-|A|-|-|-|
573 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
576 Don't Learn bit. When set, this bit indicates that the egress
577 VTEP MUST NOT learn the source address of the encapsulated frame.
580 Indicates that the group policy has already been applied to
581 this packet. Policies MUST NOT be applied by devices when the A bit is set.
584 Format of lower 16 bits of packet mark (policy ID):
587 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
591 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
595 iptables -A OUTPUT [...] -j MARK --set-mark 0x800FF
601 - enables the Generic Protocol extension (VXLAN-GPE). Currently, this is
602 only supported together with the
609 GRE, IPIP, SIT Type Support
612 the following additional arguments are supported:
614 .BI "ip link add " DEVICE
615 .BR type " { " gre " | " ipip " | " sit " }"
616 .BI " remote " ADDR " local " ADDR
618 .BR encap " { " fou " | " gue " | " none " }"
620 .BR encap-sport " { " \fIPORT " | " auto " }"
622 .BI "encap-dport " PORT
624 .RB [ no ] encap-csum
626 .RB [ no ] encap-remcsum
632 - specifies the remote address of the tunnel.
636 - specifies the fixed local address for tunneled packets.
637 It must be an address on another interface on this host.
640 .BR encap " { " fou " | " gue " | " none " }"
641 - specifies type of secondary UDP encapsulation. "fou" indicates
642 Foo-Over-UDP, "gue" indicates Generic UDP Encapsulation.
645 .BR encap-sport " { " \fIPORT " | " auto " }"
646 - specifies the source port in UDP encapsulation.
648 indicates the port by number, "auto"
649 indicates that the port number should be chosen automatically
650 (the kernel picks a flow based on the flow hash of the
651 encapsulated packet).
654 .RB [ no ] encap-csum
655 - specifies if UDP checksums are enabled in the secondary
659 .RB [ no ] encap-remcsum
660 - specifies if Remote Checksum Offload is enabled. This is only
661 applicable for Generic UDP Encapsulation.
666 IP6GRE/IP6GRETAP Type Support
669 the following additional arguments are supported:
671 .BI "ip link add " DEVICE
672 .BR type " { " ip6gre " | " ip6gretap " }"
673 .BI remote " ADDR " local " ADDR"
684 .BI encaplimit " ELIM "
686 .BI tclass " TCLASS "
688 .BI flowlabel " FLOWLABEL "
698 - specifies the remote IPv6 address of the tunnel.
702 - specifies the fixed local IPv6 address for tunneled packets.
703 It must be an address on another interface on this host.
710 flag enables sequencing of outgoing packets.
713 flag requires that all input packets are serialized.
716 .RB [ i | o ] key " \fIKEY"
717 - use keyed GRE with key
719 is either a number or an IPv4 address-like dotted quad.
722 parameter specifies the same key to use in both directions.
724 .BR ikey " and " okey
725 parameters specify different keys for input and output.
729 - generate/require checksums for tunneled packets.
732 flag calculates checksums for outgoing packets.
735 flag requires that all input packets have the correct
738 flag is equivalent to the combination
743 - specifies Hop Limit value to use in outgoing packets.
746 .BI encaplimit " ELIM"
747 - specifies a fixed encapsulation limit. Default is 4.
750 .BI flowlabel " FLOWLABEL"
751 - specifies a fixed flowlabel.
755 - specifies the traffic class field on
756 tunneled packets, which can be specified as either a two-digit
757 hex value (e.g. c0) or a predefined string (e.g. internet).
760 causes the field to be copied from the original IP header. The
762 .BI "inherit/" STRING
764 .BI "inherit/" 00 ".." ff
765 will set the field to
769 when tunneling non-IP packets. The default value is 00.
777 the following additional arguments are supported:
779 .BI "ip link add " DEVICE " name " NAME
780 .BR "type ipoib " [ " pkey \fIPKEY" " ] [ " mode " \fIMODE \fR]"
785 - specifies the IB P-Key to use.
788 - specifies the mode (datagram or connected) to use.
794 the following additional arguments are supported:
796 .BI "ip link add " DEVICE
797 .BI type " geneve " id " VNI " remote " IPADDR"
803 .BI flowlabel " FLOWLABEL "
809 - specifies the Virtual Network Identifer to use.
813 - specifies the unicast destination IP address to use in outgoing packets.
817 - specifies the TTL value to use in outgoing packets.
821 - specifies the TOS value to use in outgoing packets.
824 .BI flowlabel " FLOWLABEL"
825 - specifies the flow label to use in outgoing packets.
830 MACVLAN and MACVTAP Type Support
835 the following additional arguments are supported:
837 .BI "ip link add link " DEVICE " name " NAME
838 .BR type " { " macvlan " | " macvtap " } "
839 .BR mode " { " private " | " vepa " | " bridge " | " passthru
840 .RB " [ " nopromisc " ] } "
844 .BR type " { " macvlan " | " macvtap " } "
845 - specifies the link type to use.
846 .BR macvlan " creates just a virtual interface, while "
847 .BR macvtap " in addition creates a character device "
848 .BR /dev/tapX " to be used just like a " tuntap " device."
851 - Do not allow communication between
853 instances on the same physical interface, even if the external switch supports
857 - Virtual Ethernet Port Aggregator mode. Data from one
859 instance to the other on the same physical interface is transmitted over the
860 physical interface. Either the attached switch needs to support hairpin mode,
861 or there must be a TCP/IP router forwarding the packets in order to allow
862 communication. This is the default mode.
865 - In bridge mode, all endpoints are directly connected to each other,
866 communication is not redirected through the physical interface's peer.
868 .BR mode " " passthru " [ " nopromisc " ] "
869 - This mode gives more power to a single endpoint, usually in
870 .BR macvtap " mode. It is not allowed for more than one endpoint on the same "
871 physical interface. All traffic will be forwarded to this endpoint, allowing
872 virtio guests to change MAC address or set promiscuous mode in order to bridge
873 the interface or create vlan interfaces on top of it. By default, this mode
874 forces the underlying interface into promiscuous mode. Passing the
875 .BR nopromisc " flag prevents this, so the promisc flag may be controlled "
876 using standard tools.
880 High-availability Seamless Redundancy (HSR) Support
883 the following additional arguments are supported:
885 .BI "ip link add link " DEVICE " name " NAME " type hsr"
886 .BI slave1 " SLAVE1-IF " slave2 " SLAVE2-IF "
889 .BR version " { " 0 " | " 1 " } ]"
894 - specifies the link type to use, here HSR.
896 .BI slave1 " SLAVE1-IF "
897 - Specifies the physical device used for the first of the two ring ports.
899 .BI slave2 " SLAVE2-IF "
900 - Specifies the physical device used for the second of the two ring ports.
902 .BI supervision " ADDR-BYTE"
903 - The last byte of the multicast address used for HSR supervision frames.
904 Default option is "0", possible values 0-255.
906 .BR version " { " 0 " | " 1 " }"
907 - Selects the protocol version of the interface. Default option is "0", which
908 corresponds to the 2010 version of the HSR standard. Option "1" activates the
916 the following additional arguments are supported:
918 .BI "ip link add link " DEVICE " name " NAME " type macsec"
924 .BI cipher " CIPHER_SUITE"
927 .BR on " | " off " } ] [ "
928 .BR send_sci " { " on " | " off " } ] ["
929 .BR end_station " { " on " | " off " } ] ["
930 .BR scb " { " on " | " off " } ] ["
931 .BR protect " { " on " | " off " } ] ["
932 .BR replay " { " on " | " off " }"
934 .IR 0..2^32-1 " } ] ["
935 .BR validate " { " strict " | " check " | " disabled " } ] ["
942 - sets the port number for this MACsec device.
946 - sets the SCI for this MACsec device.
949 .BI cipher " CIPHER_SUITE "
950 - defines the cipher suite to use.
953 .BR "encrypt on " or " encrypt off"
954 - switches between authenticated encryption, or authenticity mode only.
957 .BR "send_sci on " or " send_sci off"
958 - specifies whether the SCI is included in every packet, or only when it is necessary.
961 .BR "end_station on " or " end_station off"
962 - sets the End Station bit.
965 .BR "scb on " or " scb off"
966 - sets the Single Copy Broadcast bit.
969 .BR "protect on " or " protect off"
970 - enables MACsec protection on the device.
973 .BR "replay on " or " replay off"
974 - enables replay protection on the device.
980 - sets the size of the replay window.
985 .BR "validate strict " or " validate check " or " validate disabled"
986 - sets the validation mode on the device.
989 .BI encodingsa " AN "
990 - sets the active secure association for transmission.
998 the following additional arguments are supported:
1000 .BI "ip link add " DEVICE " type vrf table " TABLE
1004 .BR table " table id associated with VRF device"
1008 .SS ip link delete - delete virtual link
1012 specifies the virtual device to act operate on.
1016 specifies the group of virtual links to delete. Group 0 is not allowed to be
1017 deleted since it is the default group.
1021 specifies the type of the device.
1023 .SS ip link set - change device attributes
1027 If multiple parameter changes are requested,
1029 aborts immediately after any of the changes have failed.
1030 This is the only case when
1032 can move the system to an unpredictable state. The solution
1033 is to avoid changing several parameters with one
1040 specifies network device to operate on. When configuring SR-IOV Virtual Function
1041 (VF) devices, this keyword should specify the associated Physical Function (PF)
1047 has a dual role: If both group and dev are present, then move the device to the
1048 specified group. If only a group is specified, then the command operates on
1049 all devices in that group.
1053 change the state of the device to
1059 .BR "arp on " or " arp off"
1065 .BR "multicast on " or " multicast off"
1071 .BR "protodown on " or " protodown off"
1074 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.
1077 .BR "dynamic on " or " dynamic off"
1080 flag on the device. Indicates that address can change when interface goes down (currently
1086 change the name of the device. This operation is not
1087 recommended if the device is running or has some addresses
1091 .BI txqueuelen " NUMBER"
1093 .BI txqlen " NUMBER"
1094 change the transmit queue length of the device.
1103 .BI address " LLADDRESS"
1104 change the station address of the interface.
1107 .BI broadcast " LLADDRESS"
1109 .BI brd " LLADDRESS"
1111 .BI peer " LLADDRESS"
1112 change the link layer broadcast address or the peer address when
1117 .BI netns " NETNSNAME " \fR| " PID"
1118 move the device to the network namespace associated with name
1122 Some devices are not allowed to change network namespace: loopback, bridge,
1123 ppp, wireless. These are network namespace local devices. In such case
1125 tool will return "Invalid argument" error. It is possible to find out if device is local
1126 to a single network namespace by checking
1128 flag in the output of the
1136 To change network namespace for wireless devices the
1138 tool can be used. But it allows to change network namespace only for physical devices and by process
1143 give the device a symbolic name for easy reference.
1147 specify the group the device belongs to.
1148 The available groups are listed in file
1149 .BR "@SYSCONFDIR@/group" .
1153 specify a Virtual Function device to be configured. The associated PF device
1154 must be specified using the
1159 .BI mac " LLADDRESS"
1160 - change the station address for the specified VF. The
1162 parameter must be specified.
1166 - change the assigned VLAN for the specified VF. When specified, all traffic
1167 sent from the VF will be tagged with the specified VLAN ID. Incoming traffic
1168 will be filtered for the specified VLAN ID, and will have all VLAN tags
1169 stripped before being passed to the VF. Setting this parameter to 0 disables
1170 VLAN tagging and filtering. The
1172 parameter must be specified.
1176 - assign VLAN QOS (priority) bits for the VLAN tag. When specified, all VLAN
1177 tags transmitted by the VF will include the specified priority bits in the
1178 VLAN tag. If not specified, the value is assumed to be 0. Both the
1182 parameters must be specified. Setting both
1186 as 0 disables VLAN tagging and filtering for the VF.
1190 -- change the allowed transmit bandwidth, in Mbps, for the specified VF.
1191 Setting this parameter to 0 disables rate limiting.
1193 parameter must be specified.
1199 .BI max_tx_rate " TXRATE"
1200 - change the allowed maximum transmit bandwidth, in Mbps, for the specified VF.
1202 parameter must be specified.
1205 .BI min_tx_rate " TXRATE"
1206 - change the allowed minimum transmit bandwidth, in Mbps, for the specified VF.
1207 Minimum TXRATE should be always <= Maximum TXRATE.
1209 parameter must be specified.
1212 .BI spoofchk " on|off"
1213 - turn packet spoof checking on or off for the specified VF.
1215 .BI query_rss " on|off"
1216 - 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.
1218 .BI state " auto|enable|disable"
1219 - set the virtual link state as seen by the specified VF. Setting to auto means a
1220 reflection of the PF link state, enable lets the VF to communicate with other VFs on
1221 this host even if the PF link state is down, disable causes the HW to drop any packets
1225 - trust the specified VF user. This enables that VF user can set a specific feature
1226 which may impact security and/or performance. (e.g. VF multicast promiscuous mode)
1228 .BI node_guid " eui64"
1229 - configure node GUID for the VF.
1231 .BI port_guid " eui64"
1232 - configure port GUID for the VF.
1236 .BI master " DEVICE"
1237 set master device of the device (enslave device).
1241 unset master device of the device (release device).
1244 .BI addrgenmode " eui64|none|stable_secret|random"
1245 set the IPv6 address generation mode
1248 - use a Modified EUI-64 format interface identifier
1251 - disable automatic address generation
1254 - generate the interface identifier based on a preset /proc/sys/net/ipv6/conf/{default,DEVICE}/stable_secret
1257 - like stable_secret, but auto-generate a new random secret if none is set
1261 set peer netnsid for a cross-netns interface
1264 .BI type " ETYPE TYPE_ARGS"
1265 Change type-specific settings. For a list of supported types and arguments refer
1266 to the description of
1268 above. In addition to that, it is possible to manipulate settings to slave
1272 Bridge Slave Support
1273 For a link with master
1275 the following additional arguments are supported:
1277 .B "ip link set type bridge_slave"
1281 .BI priority " PRIO"
1285 .BR guard " { " on " | " off " }"
1287 .BR hairpin " { " on " | " off " }"
1289 .BR fastleave " { " on " | " off " }"
1291 .BR root_block " { " on " | " off " }"
1293 .BR learning " { " on " | " off " }"
1295 .BR flood " { " on " | " off " }"
1297 .BR proxy_arp " { " on " | " off " }"
1299 .BR proxy_arp_wifi " { " on " | " off " }"
1301 .BI mcast_router " MULTICAST_ROUTER"
1303 .BR mcast_fast_leave " { " on " | " off "} ]"
1310 is a number representing the following states:
1311 .BR 0 " (disabled),"
1312 .BR 1 " (listening),"
1313 .BR 2 " (learning),"
1314 .BR 3 " (forwarding),"
1315 .BR 4 " (blocking)."
1317 .BI priority " PRIO"
1318 - set port priority (a 16bit unsigned value).
1321 - set port cost (a 32bit unsigned value).
1323 .BR guard " { " on " | " off " }"
1324 - block incoming BPDU packets on this port.
1326 .BR hairpin " { " on " | " off " }"
1327 - enable hairpin mode on this port. This will allow incoming packets on this
1328 port to be reflected back.
1330 .BR fastleave " { " on " | " off " }"
1331 - enable multicast fast leave on this port.
1333 .BR root_block " { " on " | " off " }"
1334 - block this port from becoming the bridge's root port.
1336 .BR learning " { " on " | " off " }"
1337 - allow MAC address learning on this port.
1339 .BR flood " { " on " | " off " }"
1340 - open the flood gates on this port, i.e. forward all unicast frames to this
1342 .BR proxy_arp " and " proxy_arp_wifi
1345 .BR proxy_arp " { " on " | " off " }"
1346 - enable proxy ARP on this port.
1348 .BR proxy_arp_wifi " { " on " | " off " }"
1349 - enable proxy ARP on this port which meets extended requirements by IEEE
1350 802.11 and Hotspot 2.0 specifications.
1352 .BI mcast_router " MULTICAST_ROUTER"
1353 - configure this port for having multicast routers attached. A port with a
1354 multicast router will receive all multicast traffic.
1358 to disable multicast routers on this port,
1360 to let the system detect the presence of of routers (this is the default),
1362 to permanently enable multicast traffic forwarding on this port or
1364 to enable multicast routers temporarily on this port, not depending on incoming
1367 .BR mcast_fast_leave " { " on " | " off " }"
1368 - this is a synonym to the
1375 Bonding Slave Support
1376 For a link with master
1378 the following additional arguments are supported:
1380 .B "ip link set type bond_slave"
1388 - set the slave's queue ID (a 16bit unsigned value).
1392 .SS ip link show - display device attributes
1395 .BI dev " NAME " (default)
1397 specifies the network device to show.
1398 If this argument is omitted all devices in the default group are listed.
1403 specifies what group of devices to show.
1407 only display running interfaces.
1410 .BI master " DEVICE "
1412 specifies the master device which enslaves devices to show.
1417 speficies the VRF which enslaves devices to show.
1422 specifies the type of devices to show.
1424 Note that the type name is not checked against the list of supported types -
1425 instead it is sent as-is to the kernel. Later it is used to filter the returned
1426 interface list by comparing it with the relevant attribute in case the kernel
1427 didn't filter already. Therefore any string is accepted, but may lead to empty
1430 .SS ip link help - display help
1434 specifies which help of link type to dislpay.
1438 may be a number or a string from the file
1439 .B @SYSCONFDIR@/group
1440 which can be manually filled.
1446 Shows the state of all network interfaces on the system.
1449 ip link show type bridge
1451 Shows the bridge devices.
1454 ip link show type vlan
1456 Shows the vlan devices.
1459 ip link show master br0
1461 Shows devices enslaved by br0
1464 ip link set dev ppp0 mtu 1400
1466 Change the MTU the ppp0 device.
1469 ip link add link eth0 name eth0.10 type vlan id 10
1471 Creates a new vlan device eth0.10 on device eth0.
1474 ip link delete dev eth0.10
1476 Removes vlan device.
1481 Display help for the gre link type.
1484 ip link add name tun1 type ipip remote 192.168.1.1
1485 local 192.168.1.2 ttl 225 encap gue encap-sport auto
1486 encap-dport 5555 encap-csum encap-remcsum
1488 Creates an IPIP that is encapsulated with Generic UDP Encapsulation,
1489 and the outer UDP checksum and remote checksum offload are enabled.
1493 ip link add link wpan0 lowpan0 type lowpan
1495 Creates a 6LoWPAN interface named lowpan0 on the underlying
1496 IEEE 802.15.4 device wpan0.
1507 Original Manpage by Michail Litvak <mci@owl.openwall.com>