TIPC-LINK(8)
๐ TIPC-LINK(8) โ the tipc-link page, but make it make sense ๐
okay bestie, gather round, because this is the manual page for tipc-link from the Linux manual set, and it is genuinely so much less scary than it looks. it shows you links and lets you mess with link properties. that's the whole vibe. ๐ฆ
โจ SYNOPSIS โจ
tipc link set
[ { priority PRIORITY | tolerance TOLERANCE | window WINDOW }
link LINK ] |
[ { broadcast [ BROADCAST | REPLICAST | AUTOSELECT [ ratio
SIZE ] ] } ]
tipc link get
[ { priority | tolerance | window } link LINK ] |
[ { broadcast } ]
tipc link statistics { show [ link LINK ] | reset link LINK }
tipc link list
tipc link monitor set { threshold }
tipc link monitor get { threshold }
tipc link monitor summary
tipc link monitor list
[ media { eth | ib } device DEVICE ] |
[ media udp name NAME ]
like yes it's a lot of brackets. breathe. it's fine. ๐
๐ OPTIONS ๐
these are the flags (options) you can drop anywhere in the command chain. not just at the end. anywhere. iconic behavior honestly.
-h,--helpโ shows help about the last valid command. for example,tipc link --helpshows link help, andtipc --helpshows general help. where you put the option in the string literally does not matter. ๐ซ-j,-jsonโ spits the results out in JavaScript Object Notation (JSON).-p,-prettyโ the default JSON format is compact and more efficient to parse, but ngl it's hard for most people to read. this flag adds indentation so it's actually readable. ๐ซถ
๐ DESCRIPTION ๐
๐ Link statistics
- ACTIVE link state โ an ACTIVE link is out here serving traffic. two links to the same node can become ACTIVE if they have the same link priority. and if there's more than two links with the same priority, the extra links get put in STANDBY state. sorry bestie, only so many can be main characters. ๐
- STANDBY link state โ a STANDBY link has lower link priority than an ACTIVE link. it's got control traffic flowing and is ready to take over should the ACTIVE link(s) go down. it's giving understudy energy and honestly we love her for it. ๐ญ
- MTU โ the Maximum Transmission Unit. the two endpoints advertise their default or configured MTU at initial link setup, and they'll agree to use the lower of the two values if they differ.
- Packets โ the total amount of transmitted or received TIPC packets on a link. this includes fragmented and bundled packets.
- Fragments โ shown in the form
fragments/fragmented.fragmentedis the amount of data messages that have been broken into fragments, and thenfragmentsis the total amount of packets that those fragmented messages got broken into. - Bundles โ shown in the form
bundles/bundled. if a link becomes congested, the link will attempt to bundle data from small bundled packets into bundles of full MTU size packets before they're transmitted. โจ - Profile โ shows the average packet size in octets/bytes for a sample of packets. it also shows the packet size distribution of the sampled packets in these intervals:
0-64 bytes 64-256 bytes 256-1024 bytes 1024-4096 bytes 4096-16384 bytes 16384-32768 bytes 32768-66000 bytes
- Message counters
statesโ Number of link state messagesprobesโ Link state messages with probe flag set. typically sent when a link is idlenacksโ Number of negative acknowledgment (NACK) packets sent and received by the linkdefsโ Number of packets received out of orderdupsโ Number of duplicate packets received
- Congestion link โ the number of times an application has tried to send data when the TIPC link was congested.
- Send queue โ
Maxis the maximum amount of messages that has resided in the out queue during the statistics collection period of a link.Avgis the average outqueue size during the lifetime of a link.
๐ธ Link properties
- priority โ the priority between logical TIPC links to a particular node. link priority can range from
0(lowest) to31(highest). - tolerance โ link tolerance specifies the maximum time in milliseconds that TIPC will allow a communication problem to exist before taking the link down. the default value is
1500milliseconds. - window โ the link window controls how many unacknowledged messages a link endpoint can have in its transmit queue before TIPC's congestion control mechanism is activated.
๐ง Monitor properties
- threshold โ the threshold specifies the cluster size exceeding which the link monitoring algorithm will switch from
"full-mesh"to"overlapping-ring". if set to0the overlapping-ring monitoring is always on, and if set to a value larger than the anticipated cluster size, the overlapping-ring is disabled. the default value is32.
๐ Monitor information
- table_generation โ represents the event count in a node's local monitoring list. it steps every time something changes in the local monitor list, including changes in the local domain.
- cluster_size โ represents the current count of cluster members.
- algorithm โ the current supervision algorithm used for neighbour monitoring for the bearer. possible values are
full-meshoroverlapping-ring. - status โ the node status derived by the local node. possible statuses are
upordown. - monitored โ represents the type of monitoring chosen by the local node. possible values are
directorindirect. - generation โ represents the domain generation, which is the event count in a node's local domain. every time something changes (peer add/remove/up/down) the domain generation is stepped and a new version of node record is sent to inform the neighbors about this change. the domain generation helps the receiver of a domain record know whether it should ignore or process the record. ๐ญ
- applied_node_status โ the node status reported by the peer node for the succeeding peers in the node list. the node list is a circular list of ascending addresses starting with the local node. possible statuses are:
UorD. the statusUimplies up andDdown. - [non_applied_node:status] โ represents the nodes and their status as reported by the peer node. these nodes were not applied to the monitoring list for this peer node. they're usually transient and occur during the cluster startup phase or network reconfiguration. possible statuses are:
UorD. the statusUimplies up andDdown.
๐ก Broadcast properties
- BROADCAST โ forces all multicast traffic to be transmitted via broadcast only, irrespective of cluster size and number of destinations.
- REPLICAST โ forces all multicast traffic to be transmitted via replicast only, irrespective of cluster size and number of destinations.
- AUTOSELECT โ auto switching to broadcast or replicast depending on cluster size and destination node number.
- ratio SIZE โ set the AUTOSELECT criteria, percentage of destination nodes vs cluster size.
๐ EXAMPLES ๐
tipc link monitor list
Shows the link monitoring information for cluster members on device data0. ๐ฅ
tipc link monitor summary
The monitor summary command prints the basic attributes. cute and to the point, periodt. โจ
๐ EXIT STATUS ๐
Exit status is 0 if command was successful, or a positive integer upon failure. so if you see a number bigger than zero, something went wrong bestie, no cap.
๐ซถ SEE ALSO ๐ซถ
tipc(8), tipc-media(8), tipc-bearer(8), tipc-nametable(8), tipc-node(8), tipc-peer(8), tipc-socket(8)
๐ REPORTING BUGS ๐
Report any bugs to the Network Developers mailing list <netdev@vger.kernel.org>, where the development and maintenance is primarily done. you do not have to be subscribed to the list to send a message there. so like, don't be shy. ๐
๐ AUTHOR ๐
Richard Alpe <richard.alpe@ericsson.com>
and that's the whole page, bestie!! this one comes from the iproute2 crew, dated 22 Mar 2019 โ go forth and monitor those links, you absolute icon ๐โจ๐
๐ฆ where this page comes from
- alpine 3.24: iproute2-doc 7.0.0-r0 ยท GPL-2.0-or-later
- arch rolling: iproute2 7.2.0-1
- arch rolling: iproute2 7.3.0-1 ยท GPL-2.0-or-later
- centos-stream 10: iproute 7.0.0-2.el10 ยท GPL-2.0-or-later AND NIST-PD
- nixos 26.05: iproute2 7.0.0
- nixpkgs unstable: iproute2 7.2.0
- ubuntu stonking: iproute2 7.2.0-1ubuntu1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms