F5

From Halfface
Jump to navigation Jump to search

tmsh

Is the default shell. It has file completion. And help.

List running configuration

tmsh show running-config

Which version of f5

tmsh show /sys version

when

Irules start with when

when CLIENT_ACCEPTED {
 if { [IP::addr [IP::client_addr] equals 10.10.10.10] } {
    pool my_pool
 }
}

list partitions

tmsh list auth partition one-line

list info about partition

tmsh list ltm virtual /company/*  | less

Get rules in partition

tmsh -c 'cd /company; list ltm rule all-properties'

get data group list from specific partition

tmsh -c 'cd /company; list ltm data-group internal all-properties one-line'

top(similar to the linux command)

tmsh show /sys performance