You can monitor probe-based failure detection by using the dladm show-aggr, dlstat show-aggr, and ipadm show-addr commands.
You can use the dlstat show-aggr command with the following syntax to display the probe-related information:
# dlstat show-aggr -n -P [[t],[i],[all]]
Where –P specifies the probe type to display. You can specify any of the following in a comma-separated list as the probe type:
t – Displays the transitive probes.
i – Displays ICMP probes.
all – Displays both the transitive and ICMP probes.
The following example displays the statistics of the probes for the DLMP aggregation, aggr1.
# dlstat show-aggr -n -P t,i aggr1 TIME AGGR PORT LOCAL TARGET PROBE NETRTT RTT 0.53s aggr1 net0 net0 net1 t16148 -- -- 0.53s aggr1 net0 net0 net1 t16148 0.62ms 0.87ms 1.17s aggr1 net1 net1 net0 t16148 -- -- 1.17s aggr1 net1 net1 net0 t16148 0.72ms 0.99ms 2.24s aggr1 net1 192.0.2.1 192.0.2.2 i15535 -- -- 2.24s aggr1 net1 192.0.2.1 192.0.2.2 i15535 0.11ms 0.55ms
Time at which the probe is sent in seconds. This time is relative to the time when you issue the dlstat command. If the probe is sent before you issue the dlstat command, the time is negative.
Aggregation name for which the probe is sent.
ICMP probes: Source IP address of the probes.
Transitive probes: Port name from which the transitive probe originated.
ICMP probes: Destination IP address of the probes.
Transitive probes: Port name of the probe that is targeted.
Identifier number representing the probe. The prefix t is for transitive probes and the prefix i is for ICMP probes.
Network round-trip-time for the probe. This value is the time period between sending the probe and receiving the acknowledgment by the DLMP aggregation.
Total round-trip-time for the probe. This value is the time period between sending the probe and completing the process of acknowledgment by the DLMP aggregation.
For more information, see the dlstat(1M) man page.
Example 8 Displaying Detailed Information About the Aggregated PortThe following example displays the detailed aggregation information on each underlying port.
# dladm show-aggr -x LINK PORT SPEED DUPLEX STATE ADDRESS PORTSTATE aggr1 -- 100Mb full up 1e:34:db:fa:50:a2 -- net0 100Mb full up 1e:34:db:fa:50:a2 attached net1 100Mb full up b2:c0:6a:3e:c5:b5 attached
For more information, see the dladm(1M) man page.
Example 9 Displaying the State of the Aggregated PortsThe following example shows the state of the ports of the aggregation and the target IP addresses of the ports.
# dladm show-aggr -S -n LINK PORT FLAGS STATE TARGETS XTARGETS aggr1 net1 u--3 active 192.0.2.2 net0 -- net0 u-2- active -- net1Example 10 Displaying probe-ip Property Values
The following example displays the details about the link property probe-ip for the specified DLMP aggregation.
# dladm show-linkprop -p probe-ip aggr1 LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE aggr1 probe-ip rw 192.0.2.2 192.0.2.2 -- --Example 11 Displaying the IP Address and the State of the Aggregation
The following example displays the IP address and the state of the aggregation.
# ipadm show-addr aggr1 ADDROBJ TYPE STATE ADDR aggr1/local1 static ok 192.0.2.1/24