TEAMNL(8)

okay so. picture this: it's teamnl(8), the team network device Netlink interface tool, and she is serving. this whole page is about her. buckle up πŸŽ€


✨ SYNOPSIS ✨

teamnl [-p port_name] [-a array_index] team_device command
[command_args...]
teamnl -h

πŸ¦‹ DESCRIPTION πŸ¦‹

so teamnl is a tool that lets you interact with a team device through the team driver's Netlink interface. that's the whole vibe. πŸ’…

real talk though β€” this tool is mainly for debugging purposes. it's giving detective energy, not everyday-driver energy.

⚠️ and listen: it makes no sense to use this tool to change options on a team device that's controlled by a teamd instance. like, none. zero. don't do it. the teamd instance is the main character of that device and you'd just be starting drama. 🚫

🌸 OPTIONS 🌸

  • -h, --help β€” prints the help text to the console and then dips out (exits). that's it, that's the whole job 🫢
  • -p ifname, --port_name ifname β€” picks the per-port option of the interface name you hand over. very "this specific port, actually" of you ✨
  • -a index, --array_index index β€” picks the array option at the array index you give it. array girlies rise πŸ“

πŸ‘‘ COMMAND πŸ‘‘

here's the menu of things you can actually ask her to do:

  • ports β€” dumps the team ports. all of them. out they come πŸ’–
  • option β€” dumps the team options. the full lineup, no filter ⭐
  • getoption opt_name β€” gets the option by the name you selected. one option, hand-picked, iconic πŸ™ˆ
  • setoption opt_name opt_value β€” sets the option by the name you selected, to the value you gave it. you're changing things now, look at you go πŸ”₯
  • monitor opt_style β€” monitors changes made to options, ports and interface information. it just watches. the style can be either "changed" (which is the default, btw) or "all". so you either get the glow-ups only, or literally everything. your call πŸ’€

🌈 SEE ALSO 🌈

go read those too, they're the friend group 🧚


πŸ’œ AUTHOR πŸ’œ

Jiri Pirko is the original author and current maintainer of libteam. we stan. πŸ‘‘


and that's the page, bestie β€” this was libteam, dated 2013-04-01, and honestly? still slaying. no cap. πŸ’…βœ¨