Wednesday 9 March 2022

TMSH

 

TMSH (Traffic Management Shell):

              o In Local Traffic Manager (LTM) TMSH which is stand for Traffic Management Shell.

                o To access TMOS (Traffic Management Shell) Shell we use to type command tmsh.

                o LTM Includes TMOS Shell that can be used to manage system from command line.

                o Enter tmsh to configure the BIG-IP system and view statistics and performance data.

              o In LTM tmsh is an interactive shell that you can use to manage the BIG-IP system.

                o The structure of Traffic Management Shell is hierarchical & modular as shown below.

                o The highest level is the root module, which contains six subordinate modules are.

              o In Local Traffic Manager xix subordinate modules are auth, cli, gtm, ltm, net, and sys.









 

Show

View runtime information, statistics and status

List

View and provides actual configuration and settings

Help

Command is very useful if you are not familiar with CLI mode of TMSH. Example is help ltm pool this will show you all detail CLI syntax, description, configuration example and related options with their descriptions.

Save

Command is used to save the running configuration.

Delete

Command is used to delete the configuration.

[root@F5-1:Active:Standalone] config # tmsh

 

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show ltm pool

 

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# list ltm pool

 

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# ltm

 

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos.ltm)# list pool

 

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos.ltm)# show pool

 

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos.ltm)# show virtual-address

 

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos.ltm)# show node

 

 

Local Traffic Manager TMSH Commands

[root@F5-1:Active:Standalone] config # tmsh

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# list ltm virtual all

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# list ltm pool

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show ltm virtual

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show ltm pool

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show ltm snat-translation

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show ltm snat

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show ltm snatpool

 

 

System TMSH Commands

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show sys cpu

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# save sys ucs bk.ucs

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# load sys ucs bk.ucs no-license

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# save sys ucs

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show sys version

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show sys hardware

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show sys failover

root@(F5-1)(cfg-sync Standalone)(:Active)(/Common)(tmos)# list sys snmp


Network TMSH Commands

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show net interface

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show net arp

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show net routing

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show net vlan

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# show net self

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# list net vlan

root@(F5-1)(cfg-sync Standalone)(Active)(/Common)(tmos)# list net routing 

 


No comments:

Post a Comment

iRule

  iRule: -- o iRule is a powerful and flexible feature within the BIG-IP local traffic management (LTM). o IRule is a powerful & flexibl...