Go to main content

Configuring an Oracle® Solaris 11.4 System as a Router or a Load Balancer

Exit Print View

Updated: November 2020

Displaying ILB Statistics

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.

Displaying ILB Statistics

Use the ilbadm show-statistics command to view load distribution details as shown in the following example.

$ ilbadm show-statistics
9       636        0        0        0        0

The output displays the number of packets processed, unprocessed, or dropped, and their respective sizes in bytes.

Displaying the NAT Connection Table

The following example displays five entries from the NAT connection table.

$ ilbadm show-nat 5
UDP: > IP2 >>> IP3 . IP4
UDP: > IP2 >>> IP3 . IP4
UDP: > 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.

Displaying the Session Persistence Mapping Table

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: → IP2
rule: → IP2
rule: 203.0.113..0 → IP2

Rule that the persistence entry is tied to.


Back-end server's IP address.