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
Packets processed
Bytes processed
Unprocessed packets
Unprocessed bytes
Packets dropped
Bytes dropped
Use the ilbadm show-nat command to display the NAT connection table. Note that the relative positions of elements in consecutive runs of this command are not significant. For example, if you execute the ilbadm show-nat 10 command twice, you might not see the same 10 items each time you execute, especially on a busy system. If a count value is not specified, the entire NAT connection table is displayed.
Example 13 NAT Connection Table EntriesThe 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.
Use the ilbadm show-persist command to display the session persistence mapping table.
Example 14 Session Persistence Mapping Table EntriesThe following example displays five entries from the session persistence mapping table.
# 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.