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
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.

Displaying the NAT Connection Table

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
UDP

Transport protocol used in this entry

IP2

VIP and port

IP3

In half-NAT mode, the client's IP address and port.

In full-NAT mode, the client's IP address and port.

IP4

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

Rule that the persistence entry is tied to.

IP2

Back-end server's IP address.