F5: Difference between revisions

From Halfface
Jump to navigation Jump to search
(Created page with "=List running configuration= tmsh show running-config")
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
=tmsh=
Is the default shell. It has file completion. And help.
=List running configuration=
=List running configuration=
  tmsh show running-config
  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

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