Blame man/man8/tipc-link.8

Packit d3f73b
.TH TIPC-LINK 8 "22 Mar 2019" "iproute2" "Linux"
Packit d3f73b
Packit d3f73b
.\" For consistency, please keep padding right aligned.
Packit d3f73b
.\" For example '.B "foo " bar' and not '.B foo " bar"'
Packit d3f73b
Packit d3f73b
.SH NAME
Packit d3f73b
tipc-link \- show links or modify link properties
Packit d3f73b
Packit d3f73b
.SH SYNOPSIS
Packit d3f73b
.ad l
Packit d3f73b
.in +8
Packit d3f73b
Packit d3f73b
.ti -8
Packit d3f73b
Packit d3f73b
.ti -8
Packit d3f73b
.B tipc link set
Packit d3f73b
.br
Packit d3f73b
.RB "[ " "{ " "priority "
Packit d3f73b
.IR PRIORITY
Packit d3f73b
.RB "| " tolerance
Packit d3f73b
.IR TOLERANCE
Packit d3f73b
.RB "| " window
Packit d3f73b
.IR "WINDOW " }
Packit d3f73b
.BI "link " LINK " ]"
Packit d3f73b
.RB "|"
Packit d3f73b
.br
Packit d3f73b
.RB "[ "
Packit d3f73b
.RB "{ " broadcast " [ "
Packit d3f73b
.IR BROADCAST
Packit d3f73b
.RB " | "
Packit d3f73b
.IR REPLICAST
Packit d3f73b
.RB " | "
Packit d3f73b
.IR AUTOSELECT
Packit d3f73b
.RB "[ " ratio
Packit d3f73b
.IR SIZE
Packit d3f73b
.RB "] " ] " } " "]"
Packit d3f73b
Packit d3f73b
.ti -8
Packit d3f73b
.B tipc link get
Packit d3f73b
.br
Packit d3f73b
.RB "[ " "{ " "priority" " | " tolerance " | " window " } " link
Packit d3f73b
.IR LINK " ] "
Packit d3f73b
.RB "|"
Packit d3f73b
.br
Packit d3f73b
.RB "[ " { " broadcast " } " ]"
Packit d3f73b
.br
Packit d3f73b
Packit d3f73b
.ti -8
Packit d3f73b
.B tipc link statistics
Packit d3f73b
.RB "{ " "show " "[ " link
Packit d3f73b
.I LINK
Packit d3f73b
.RB "] | " "reset
Packit d3f73b
.BI "link " "LINK "
Packit d3f73b
}
Packit d3f73b
Packit d3f73b
.ti -8
Packit d3f73b
.B tipc link list
Packit d3f73b
.br
Packit d3f73b
Packit d3f73b
.ti -8
Packit d3f73b
.B tipc link monitor set
Packit d3f73b
.RB "{ " "threshold" " } "
Packit d3f73b
Packit d3f73b
.ti -8
Packit d3f73b
.B tipc link monitor get
Packit d3f73b
.RB "{ " "threshold" " } "
Packit d3f73b
Packit d3f73b
.ti -8
Packit d3f73b
.B tipc link monitor summary
Packit d3f73b
.br
Packit d3f73b
Packit d3f73b
.ti -8
Packit d3f73b
.B tipc link monitor list
Packit d3f73b
.br
Packit d3f73b
.RB "[ " "media " " { " eth " | " ib " } " device
Packit d3f73b
.IR "DEVICE" " ]"
Packit d3f73b
.RB "|"
Packit d3f73b
.br
Packit d3f73b
.RB "[ " "media udp name"
Packit d3f73b
.IR NAME " ]"
Packit d3f73b
.br
Packit d3f73b
Packit d3f73b
.SH OPTIONS
Packit d3f73b
Options (flags) that can be passed anywhere in the command chain.
Packit d3f73b
.TP
Packit d3f73b
.BR "\-h" , " --help"
Packit d3f73b
Show help about last valid command. For example
Packit d3f73b
.B tipc link --help
Packit d3f73b
will show link help and
Packit d3f73b
.B tipc --help
Packit d3f73b
will show general help. The position of the option in the string is irrelevant.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.BR "\-j", " \-json"
Packit d3f73b
Output results in JavaScript Object Notation (JSON).
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.BR "\-p", " \-pretty"
Packit d3f73b
The default JSON format is compact and more efficient to parse but hard for most users to read.
Packit d3f73b
This flag adds indentation for readability.
Packit d3f73b
Packit d3f73b
.SH DESCRIPTION
Packit d3f73b
Packit d3f73b
.SS Link statistics
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.BR "ACTIVE " "link state"
Packit d3f73b
.br
Packit d3f73b
An
Packit d3f73b
.B ACTIVE
Packit d3f73b
link is serving traffic. Two links to the same node can become
Packit d3f73b
.B ACTIVE
Packit d3f73b
if they have the same link
Packit d3f73b
.BR priority .
Packit d3f73b
If there is more than two links with the same priority the additional links will
Packit d3f73b
be put in
Packit d3f73b
.B STANDBY
Packit d3f73b
state.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.BR "STANDBY " "link state"
Packit d3f73b
.br
Packit d3f73b
A
Packit d3f73b
.B STANDBY
Packit d3f73b
link has lower link priority than an
Packit d3f73b
.B ACTIVE
Packit d3f73b
link. A
Packit d3f73b
.B STANDBY
Packit d3f73b
link has control traffic flowing and is ready to take over should the
Packit d3f73b
.B ACTIVE
Packit d3f73b
link(s) go down.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B MTU
Packit d3f73b
.br
Packit d3f73b
The Maximum Transmission Unit. The two endpoints advertise their default or
Packit d3f73b
configured
Packit d3f73b
.B MTU
Packit d3f73b
at initial link setup and will agree to use the lower of the two values should
Packit d3f73b
they differ.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B Packets
Packit d3f73b
.br
Packit d3f73b
The total amount of transmitted or received TIPC packets on a link. Including
Packit d3f73b
.BR "fragmented " "and " "bundled " packets.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B Fragments
Packit d3f73b
.br
Packit d3f73b
Represented in the form
Packit d3f73b
.BR fragments / fragmented .
Packit d3f73b
Where
Packit d3f73b
.B fragmented
Packit d3f73b
is the amount of data messages which have been broken into
Packit d3f73b
.BR fragments .
Packit d3f73b
Subsequently the
Packit d3f73b
.B fragments
Packit d3f73b
are the total amount of packets that the
Packit d3f73b
.B fragmented
Packit d3f73b
messages has been broken into.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B Bundles
Packit d3f73b
.br
Packit d3f73b
Represented in the form
Packit d3f73b
.BR bundles / bundled .
Packit d3f73b
If a link becomes congested the link will attempt to bundle data from small
Packit d3f73b
.B bundled
Packit d3f73b
packets into
Packit d3f73b
.B bundles
Packit d3f73b
of full MTU size packets before they are transmitted.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B Profile
Packit d3f73b
.br
Packit d3f73b
Shows the
Packit d3f73b
.B average
Packit d3f73b
packet size in octets/bytes for a
Packit d3f73b
.B sample
Packit d3f73b
of packets. It also shows the packet size distribution of the
Packit d3f73b
.B sampled
Packit d3f73b
packets in the intervals
Packit d3f73b
Packit d3f73b
0-64 bytes
Packit d3f73b
.br
Packit d3f73b
64-256 bytes
Packit d3f73b
.br
Packit d3f73b
256-1024 bytes
Packit d3f73b
.br
Packit d3f73b
1024-4096 bytes
Packit d3f73b
.br
Packit d3f73b
4096-16384 bytes
Packit d3f73b
.br
Packit d3f73b
16384-32768 bytes
Packit d3f73b
.br
Packit d3f73b
32768-66000 bytes
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B Message counters
Packit d3f73b
Packit d3f73b
.B states
Packit d3f73b
- Number of link state messages
Packit d3f73b
.sp
Packit d3f73b
Packit d3f73b
.B probes
Packit d3f73b
- Link state messages with probe flag set. Typically sent when a link is idle
Packit d3f73b
.sp
Packit d3f73b
Packit d3f73b
.B nacks
Packit d3f73b
- Number of negative acknowledgement (NACK) packets sent and received by the
Packit d3f73b
link
Packit d3f73b
.sp
Packit d3f73b
Packit d3f73b
.B defs
Packit d3f73b
- Number of packets received out of order
Packit d3f73b
.sp
Packit d3f73b
Packit d3f73b
.B dups
Packit d3f73b
- Number of duplicate packets received
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B Congestion link
Packit d3f73b
The number of times an application has tried to send data when the TIPC link
Packit d3f73b
was congested
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B Send queue
Packit d3f73b
.B Max
Packit d3f73b
is the maximum amount of messages that has resided in the out queue during the
Packit d3f73b
statistics collection period of a link.
Packit d3f73b
Packit d3f73b
.B Avg
Packit d3f73b
is the average outqueue size during the lifetime of a link.
Packit d3f73b
Packit d3f73b
.SS Link properties
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B priority
Packit d3f73b
.br
Packit d3f73b
The priority between logical TIPC links to a particular node. Link priority can
Packit d3f73b
range from 0 (lowest) to 31 (highest).
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B tolerance
Packit d3f73b
.br
Packit d3f73b
Link tolerance specifies the maximum time in milliseconds that TIPC will allow
Packit d3f73b
a communication problem to exist before taking the link down. The default value
Packit d3f73b
is 1500 milliseconds.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B window
Packit d3f73b
.br
Packit d3f73b
The link window controls how many unacknowledged messages a link endpoint can
Packit d3f73b
have in its transmit queue before TIPC's congestion control mechanism is
Packit d3f73b
activated.
Packit d3f73b
Packit d3f73b
.SS Monitor properties
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B threshold
Packit d3f73b
.br
Packit d3f73b
The threshold specifies the cluster size exceeding which the link monitoring
Packit d3f73b
algorithm will switch from "full-mesh" to "overlapping-ring".
Packit d3f73b
If set of 0 the overlapping-ring monitoring is always on and if set to a
Packit d3f73b
value larger than anticipated cluster size the overlapping-ring is disabled.
Packit d3f73b
The default value is 32.
Packit d3f73b
Packit d3f73b
.SS Monitor information
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B table_generation
Packit d3f73b
.br
Packit d3f73b
Represents the event count in a node's local monitoring list. It steps every
Packit d3f73b
time something changes in the local monitor list, including changes in the
Packit d3f73b
local domain.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B cluster_size
Packit d3f73b
.br
Packit d3f73b
Represents the current count of cluster members.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B algorithm
Packit d3f73b
.br
Packit d3f73b
The current supervision algorithm used for neighbour monitoring for the bearer.
Packit d3f73b
Possible values are full-mesh or overlapping-ring.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B status
Packit d3f73b
.br
Packit d3f73b
The node status derived by the local node.
Packit d3f73b
Possible status are up or down.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B monitored
Packit d3f73b
.br
Packit d3f73b
Represent the type of monitoring chosen by the local node.
Packit d3f73b
Possible values are direct or indirect.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B generation
Packit d3f73b
.br
Packit d3f73b
Represents the domain generation which is the event count in a node's local
Packit d3f73b
domain. Every time something changes (peer add/remove/up/down) the domain
Packit d3f73b
generation is stepped and a new version of node record is sent to inform
Packit d3f73b
the neighbors about this change. The domain generation helps the receiver
Packit d3f73b
of a domain record to know if it should ignore or process the record.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B applied_node_status
Packit d3f73b
.br
Packit d3f73b
The node status reported by the peer node for the succeeding peers in
Packit d3f73b
the node list. The Node list is a circular list of ascending addresses
Packit d3f73b
starting with the local node.
Packit d3f73b
Possible status are: U or D. The status U implies up and D down.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B [non_applied_node:status]
Packit d3f73b
.br
Packit d3f73b
Represents the nodes and their status as reported by the peer node.
Packit d3f73b
These nodes were not applied to the monitoring list for this peer node.
Packit d3f73b
They are usually transient and occur during the cluster startup phase
Packit d3f73b
or network reconfiguration.
Packit d3f73b
Possible status are: U or D. The status U implies up and D down.
Packit d3f73b
Packit d3f73b
.SS Broadcast properties
Packit d3f73b
.TP
Packit d3f73b
.B  BROADCAST
Packit d3f73b
.br
Packit d3f73b
Forces all multicast traffic to be transmitted via broadcast only,
Packit d3f73b
irrespective of cluster size and number of destinations.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B REPLICAST
Packit d3f73b
.br
Packit d3f73b
Forces all multicast traffic to be transmitted via replicast only,
Packit d3f73b
irrespective of cluster size and number of destinations.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B AUTOSELECT
Packit d3f73b
.br
Packit d3f73b
Auto switching to broadcast or replicast depending on cluster size and
Packit d3f73b
destination node number.
Packit d3f73b
Packit d3f73b
.TP
Packit d3f73b
.B ratio SIZE
Packit d3f73b
.br
Packit d3f73b
Set the AUTOSELECT criteria, percentage of destination nodes vs cluster
Packit d3f73b
size.
Packit d3f73b
Packit d3f73b
.SH EXAMPLES
Packit d3f73b
.PP
Packit d3f73b
tipc link monitor list
Packit d3f73b
.RS 4
Packit d3f73b
Shows the link monitoring information for cluster members on device data0.
Packit d3f73b
.RE
Packit d3f73b
.PP
Packit d3f73b
tipc link monitor summary
Packit d3f73b
.RS 4
Packit d3f73b
The monitor summary command prints the basic attributes.
Packit d3f73b
.RE
Packit d3f73b
Packit d3f73b
.SH EXIT STATUS
Packit d3f73b
Exit status is 0 if command was successful or a positive integer upon failure.
Packit d3f73b
Packit d3f73b
.SH SEE ALSO
Packit d3f73b
.BR tipc (8),
Packit d3f73b
.BR tipc-media (8),
Packit d3f73b
.BR tipc-bearer (8),
Packit d3f73b
.BR tipc-nametable (8),
Packit d3f73b
.BR tipc-node (8),
Packit d3f73b
.BR tipc-peer (8),
Packit d3f73b
.BR tipc-socket (8)
Packit d3f73b
.br
Packit d3f73b
.SH REPORTING BUGS
Packit d3f73b
Report any bugs to the Network Developers mailing list
Packit d3f73b
.B <netdev@vger.kernel.org>
Packit d3f73b
where the development and maintenance is primarily done.
Packit d3f73b
You do not have to be subscribed to the list to send a message there.
Packit d3f73b
Packit d3f73b
.SH AUTHOR
Packit d3f73b
Richard Alpe <richard.alpe@ericsson.com>