F5: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
  tmsh list auth partition one-line
  tmsh list auth partition one-line
=list info about partition=
=list info about partition=
tmsh list ltm virtual /cambio/*  | less
=Get rules in partition=
  tmsh list ltm virtual /cambio/*  | less
  tmsh list ltm virtual /cambio/*  | less
=get data group list from specific partition=
=get data group list from specific partition=
  tmsh -c 'cd /cambio; list ltm data-group internal all-properties one-line'
  tmsh -c 'cd /cambio; list ltm data-group internal all-properties one-line'

Revision as of 08:39, 25 May 2023

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 /cambio/*  | less

Get rules in partition

tmsh list ltm virtual /cambio/*  | less

get data group list from specific partition

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