F5: Difference between revisions

From Halfface
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
  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
  tmsh list ltm virtual /company/*  | 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

Latest revision as of 08:20, 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 /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