Linux "tipc-link" Command Line Options and Examples
show links or modify link properties

Link statistics ACTIVE link state An ACTIVE link is serving traffic. Two links to the same node can become ACTIVE if they have the same link priority. If there is more than two links with the same priority the additional links will be put in STANDBY state.


tipc link set { priority PRIORITY | tolerance TOLERANCE | window WINDOW } link LINK

Command Line Options:

Show help about last valid command. For example tipc link --help will show link help and tipc --helpwill show general help. The position of the option in the string is irrelevant.DESCRIPTIONLink statisticsACTIVE link stateAn ACTIVE link is serving traffic. Two links to the same node can become ACTIVE if they have the samelink priority. If there is more than two links with the same priority the additional links will be putin STANDBY state.STANDBY link stateA STANDBY link has lower link priority than an ACTIVE link. A STANDBY link has control traffic flowingand is ready to take over should the ACTIVE link(s) go down.MTUThe Maximum Transmission Unit. The two endpoints advertise their default or configured MTU at initiallink setup and will agree to use the lower of the two values should they differ.PacketsThe total amount of transmitted or received TIPC packets on a link. Including fragmented and bundledpackets.FragmentsRepresented in the form fragments/fragmented. Where fragmented is the amount of data messages whichhave been broken into fragments. Subsequently the fragments are the total amount of packets that thefragmented messages has been broken into.BundlesRepresented in the form bundles/bundled. If a link becomes congested the link will attempt to bundledata from small bundled packets into bundles of full MTU size packets before they are transmitted.ProfileShows the average packet size in octets/bytes for a sample of packets. It also shows the packet sizedistribution of the sampled packets in the intervals
tipc-link -h ...
64-256 bytes256-1024 bytes1024-4096 bytes4096-16384 bytes16384-32768 bytes32768-66000 bytesMessage countersstates - Number of link state messagesprobes - Link state messages with probe flag set. Typically sent when a link is idlenacks - Number of negative acknowledgement (NACK) packets sent and received by the linkdefs - Number of packets received out of orderdups - Number of duplicate packets receivedCongestion linkThe number of times an application has tried to send data when the TIPC link was congestedSend queueMax is the maximum amount of messages that has resided in the out queue during the statistics collec‐tion period of a link.Avg is the average outqueue size during the lifetime of a link.Link propertiespriorityThe priority between logical TIPC links to a particular node. Link priority can range from 0 (lowest)to 31 (highest).toleranceLink tolerance specifies the maximum time in milliseconds that TIPC will allow a communication problemto exist before taking the link down. The default value is 1500 milliseconds.windowThe link window controls how many unacknowledged messages a link endpoint can have in its transmitqueue before TIPC's congestion control mechanism is activated.Monitor propertiesthresholdThe threshold specifies the cluster size exceeding which the link monitoring algorithm will switch from"full-mesh" to "overlapping-ring". If set of 0 the overlapping-ring monitoring is always on and if setto a value larger than anticipated cluster size the overlapping-ring is disabled. The default value is32.Monitor informationtable_generationRepresents the event count in a node's local monitoring list. It steps every time something changes inthe local monitor list, including changes in the local domain.cluster_sizeRepresents the current count of cluster members.algorithmThe current supervision algorithm used for neighbour monitoring for the bearer. Possible values arefull-mesh or overlapping-ring.statusThe node status derived by the local node. Possible status are up or down.monitoredRepresent the type of monitoring chosen by the local node. Possible values are direct or indirect.generationRepresents the domain generation which is the event count in a node's local domain. Every time some‐thing changes (peer add/remove/up/down) the domain generation is stepped and a new version of noderecord is sent to inform the neighbors about this change. The domain generation helps the receiver of adomain record to know if it should ignore or process the record.applied_node_statusThe node status reported by the peer node for the succeeding peers in the node list. The Node list is acircular list of ascending addresses starting with the local node. Possible status are: U or D. Thestatus U implies up and D down.[non_applied_node:status]Represents the nodes and their status as reported by the peer node. These nodes were not applied tothe monitoring list for this peer node. They are usually transient and occur during the clusterstartup phase or network reconfiguration. Possible status are: U or D. The status U implies up and Ddown.EXAMPLEStipc link monitor listShows the link monitoring information for cluster members on device data0.tipc link monitor summaryThe monitor summary command prints the basic attributes.EXIT STATUSExit status is 0 if command was successful or a positive integer upon failure.
tipc-link -64 ...