F5: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:
  tmsh list ltm virtual /cambio/*  | less
  tmsh list ltm virtual /cambio/*  | less
=Get rules in partition=
=Get rules in partition=
  tmsh -c 'cd /cambio; list ltm rule all-properties'
  tmsh -c 'cd /company; list ltm rule all-properties'


=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 /company; list ltm data-group internal all-properties one-line'
=top(similar to the linux command)=
=top(similar to the linux command)=
  tmsh show /sys performance
  tmsh show /sys performance

Revision as of 08:19, 4 October 2023

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