This section describes how to use the ilbadm command to obtain information such as the printing statistics for a server or statistics for a rule. You can also display NAT table information and the session persistence mapping table.
Use the ilbadm show-statistics command to view load distribution details as shown in the following example.
$ ilbadm show-statistics PKT_P BYTES_P PKT_U BYTES_U PKT_D BYTES_D 9 636 0 0 0 0
The output displays the number of packets processed, unprocessed, or dropped, and their respective sizes in bytes.
The following example displays five entries from the NAT connection table.
$ ilbadm show-nat 5 UDP: 192.0.2.0 > IP2 >>> IP3 . IP4 UDP: 198.51.100.0 > IP2 >>> IP3 . IP4 UDP: 203.0.113.0. > IP2 >>> IP3 . IP4
Transport protocol used in this entry
VIP and port
In half-NAT mode, the client's IP address and port.
In full-NAT mode, the client's IP address and port.
Back-end server's IP address and port.
When you display the NAT connection table, the relative positions of elements in consecutive runs of the command are not significant. For example, if you issue the command ilbadm show-nat 10 twice, you might not see the same 10 items each time, especially on a busy system. If a count value is not specified, the entire NAT connection table is displayed.
To display the session persistence mapping table, use the ilbadm show-persist command.
For example, to display five entries from the session persistence mapping table, you would type the following:
$ ilbadm show-persist 5 rule: 192.0.2.0 → IP2 rule: 198.51.100.0 → IP2 rule: 203.0.113..0 → IP2
Rule that the persistence entry is tied to.
Back-end server's IP address.