TEAMD.CONF(5) Team daemon configuration TEAMD.CONF(5) (NAME) teamd.conf - teamd (DESCRIPTION) teamd JSON . (OPTIONS) device (string) team . debug_level (int) . . -g . : 0 () hwaddr (string) team . MAC . runner.name (string) (runner) team. : broadcast -- team . roundrobin -- team (round-robin) . random -- team . activebackup -- . loadbalance -- (passive) BPF . (active) . lacp -- 802.3ad LACP . Tx loadbalance . : roundrobin notify_peers.count (int) NA gratuitous ARP . : 0 () activebackup: 1 notify_peers.interval (int) . notify-peer . : 0 mcast_rejoin.count (int) (multicast) . : 0 () activebackup: 1 mcast_rejoin.interval (int) . . : 0 link_watch.name | ports.PORTIFNAME.link_watch.name (string) . : ethtool -- Libteam ethtool . arp_ping -- ARP . ARP (up) . nsna_ping -- Neighbor Solicitation / Neighbor Advertisement IPv6 . arp_ping IPv6 . ports (object) team . . ports.PORTIFNAME.queue_id (int) . : None ACTIVE-BACKUP (ACTIVE-BACKUP RUNNER SPECIFIC OPTIONS) runner.hwaddr_policy (string) team team . : same_all -- team . by_active -- team . . only_active -- team . . : same_all ports.PORTIFNAME.prio (int) . . : 0 ports.PORTIFNAME.sticky (bool) (sticky) . . : false LOAD BALANCE (LOAD BALANCE RUNNER SPECIFIC OPTIONS) runner.tx_hash (array) () (Tx hash) . : eth -- MAC . vlan -- VLAN . ipv4 -- IPv4 . ipv6 -- IPv6 . ip -- IPv4 IPv6 . l3 -- IPv4 IPv6 . tcp -- TCP . udp -- UDP . sctp -- SCTP . l4 -- TCP UDP SCTP . : ["eth", "ipv4", "ipv6"] runner.tx_balancer.name (string) Tx . Tx . basic . : None runner.tx_balancer.balancing_interval (int) . . : 50 LACP (LACP RUNNER SPECIFIC OPTIONS) runner.active (bool) true LACPDU . << >> . : true runner.fast_rate (bool) LACPDU . true . . : false runner.tx_hash (array) load balance. runner.tx_balancer.name (string) load balance. runner.tx_balancer.balancing_interval (int) load balance. runner.sys_prio (int) 0 - 65535 . : 65535 runner.min_ports (int) (carrier) 1 - 1024 . : 1 runner.agg_select_policy (string) (aggregators) . : lacp_prio -- LACP . lacp_prio . lacp_prio_stable -- . bandwidth -- . count -- . port_config -- prio sticky . sticky . : lacp_prio ports.PORTIFNAME.lacp_prio (int) LACP. . : 255 ports.PORTIFNAME.lacp_key (int) LACP. . : 0 ETHTOOL (ETHTOOL LINK WATCH SPECIFIC OPTIONS) link_watch.delay_up | ports.PORTIFNAME.link_watch.delay_up (int) . (up ) . : 0 link_watch.delay_down | ports.PORTIFNAME.link_watch.delay_down (int) . (down ) . : 0 ARP PING (ARP PING LINK WATCH SPECIFIC OPTIONS) link_watch.interval | ports.PORTIFNAME.link_watch.interval (int) . ARP . : 1000 link_watch.init_wait | ports.PORTIFNAME.link_watch.init_wait (int) . ARP . : 0 link_watch.missed_max | ports.PORTIFNAME.link_watch.missed_max (int) ARP. (down) . : 3 link_watch.source_host | ports.PORTIFNAME.link_watch.source_host (hostname) IP ARP . : 0.0.0.0 link_watch.target_host | ports.PORTIFNAME.link_watch.target_host (hostname) IP ARP . link_watch.validate_active | ports.PORTIFNAME.link_watch.validate_active (bool) ARP . ARP . : false link_watch.validate_inactive | ports.PORTIFNAME.link_watch.validate_inactive (bool) ARP . ARP . : false link_watch.vlanid | ports.PORTIFNAME.link_watch.vlanid (int) ARP VLAN . ARP VLAN . : None link_watch.send_always | ports.PORTIFNAME.link_watch.send_always (bool) ARP . . : false NS/NA PING (NS/NA PING LINK WATCH SPECIFIC OPTIONS) link_watch.interval | ports.PORTIFNAME.link_watch.interval (int) . NS . : 1000 link_watch.init_wait | ports.PORTIFNAME.link_watch.init_wait (int) . NS . link_watch.missed_max | ports.PORTIFNAME.link_watch.missed_max (int) NA. (down) . : 3 link_watch.target_host | ports.PORTIFNAME.link_watch.target_host (hostname) IPv6 NS . link_watch_policy (string) . : any -- (up) any ( ) . all -- (up) all () . : any (EXAMPLES) { "device": "team0", "runner": {"name": "roundrobin"}, "ports": {"eth1": {}, "eth2": {}} } . { "device": "team0", "runner": {"name": "activebackup"}, "link_watch": {"name": "ethtool"}, "ports": { "eth1": { "prio": -10, "sticky": true }, "eth2": { "prio": 100 } } } active-backup ethtool . eth2 sticky eth1 . { "device": "team0", "runner": {"name": "activebackup"}, "link_watch": { "name": "ethtool", "delay_up": 2500, "delay_down": 1000 }, "ports": { "eth1": { "prio": -10, "sticky": true }, "eth2": { "prio": 100 } } } . . { "device": "team0", "runner": {"name": "activebackup"}, "link_watch": { "name": "arp_ping", "interval": 100, "missed_max": 30, "target_host": "192.168.23.1" }, "ports": { "eth1": { "prio": -10, "sticky": true }, "eth2": { "prio": 100 } } } ARP ping . { "device": "team0", "runner": {"name": "activebackup"}, "link_watch": [ { "name": "arp_ping", "interval": 100, "missed_max": 30, "target_host": "192.168.23.1" }, { "name": "arp_ping", "interval": 50, "missed_max": 20, "target_host": "192.168.24.1" } ], "ports": { "eth1": { "prio": -10, "sticky": true }, "eth2": { "prio": 100 } } } . { "device": "team0", "runner": {"name": "activebackup"}, "link_watch_policy": "all", "link_watch": [ { "name": "arp_ping", "interval": 100, "missed_max": 30, "target_host": "192.168.23.1" }, { "name": "ethtool" } ], "ports": { "eth1": { "prio": -10, "sticky": true }, "eth2": { "prio": 100 } } } . (up) . { "device": "team0", "runner": { "name": "loadbalance", "tx_hash": ["eth", "ipv4", "ipv6"] }, "ports": {"eth1": {}, "eth2": {}} } (passive) Tx . { "device": "team0", "runner": { "name": "loadbalance", "tx_hash": ["eth", "ipv4", "ipv6"], "tx_balancer": { "name": "basic" } }, "ports": {"eth1": {}, "eth2": {}} } Tx (basic). { "device": "team0", "runner": { "name": "lacp", "active": true, "fast_rate": true, "tx_hash": ["eth", "ipv4", "ipv6"] }, "link_watch": {"name": "ethtool"}, "ports": {"eth1": {}, "eth2": {}} } LACP . (SEE ALSO) teamd(8), teamdctl(8), teamnl(8), bond2team(1) (AUTHOR) Jiri Pirko libteam . libteam 2013-07-09 TEAMD.CONF(5)