rekrowteN | Networker

All you want to know about computer networks and more

F5 BigIP LTM: Let’s Start

I hope that you are already taking your training on F5 University on BigIP LTM. Here are a couple of notes before I start posting new articles about F5 TMSH configuration. I will show you, how to do labs in CLI instead of GUI and then I will continue with more advanced stuff on GUI and CLI.

So, here are a couple of my notes.

  • Default management IP address is 192.168.1.245/24.
  • For console root access, use username root and password is default.
  • Root can not get to the GUI. In GUI, use admin credentials – username admin and password admin. To get to the GUI, type: https://IP_address, i.e. https://192.168.1.245.
  • To invoke secondary OS type on CLI: Esc (
  • TMOS stands for Traffic Management Operating System.
  • TMSH stands for Traffic Management Shell (TMOS Shell).
  • F5 does have at least 2 partitions. From version 10, there is a partition and volume.
  • Firmware or hotfix is installed on non-active partition / volume.

Example of Bigpipe Outputs

In the history, Bigpipe was the only option how to configure your F5 on CLI, besides of direct editing of configuration files. Newly, TMSH is used instead and prior to version 11, TMSH is the default.

Here are a couple of examples from Bigpipe. I will focus primarily on TMSH in next posts. First letter b is an acronym for Bigpipe.

Following outputs show the list of self addresses, VLANs and interfaces.

[root@bigip1:Active] config # b self show
SELF 10.10.1.31   mask 255.255.0.0
|     VLAN External   floating disable
SELF 10.10.1.33   mask 255.255.0.0
|     VLAN External   unit 1   floating enable
SELF 172.16.1.31   mask 255.255.0.0
|     VLAN Internal   floating disable
SELF 172.16.1.33   mask 255.255.0.0
|     VLAN Internal   unit 1   floating enable

[root@bigip1:Active] config # b vlan show
VLAN External   tag 4093   00:50:56:AC:0C:2B   MTU 1500
+-> VLAN MEMBER External/1.1   untagged
    +-> INTERFACE 1.1   00:50:56:AC:0C:2B   ENABLED   up   MTU 1500
        |     media 10GbaseT full (10GbaseT full)   aggregation: detached
        |     flow control tx rx (none)
        |     (pkts,bits,errs) in = (13, 9472, 0), out = (13, 6480, 0)
        |     (drop,mcast) in = (0, 0), out = (0, 6)    coll = 0
VLAN Internal   tag 4094   00:50:56:AC:0C:2C   MTU 1500
+-> VLAN MEMBER Internal/1.2   untagged
    +-> INTERFACE 1.2   00:50:56:AC:0C:2C   ENABLED   up   MTU 1500
        |     media 10GbaseT full (10GbaseT full)   aggregation: detached
        |     flow control tx rx (none)
        |     (pkts,bits,errs) in = (1, 480, 0), out = (13, 6480, 0)
        |     (drop,mcast) in = (0, 0), out = (0, 6)    coll = 0

[root@bigip1:Active] config # b interface show
INTERFACE
Key     Speed    Pkts Pkts Drop Coll   Bits   Bits Errs Trunk
         Mbps      in  out               in    out
1.1  UP 10000 FD  129   19    0    0 107672   8848    0
1.2  UP 10000 FD    2   19    0    0    960   8848    0
mgmt UP   100 FD 2730 4115    0    0 2.378M 30.73M    0

Moving from Bigpipe to TMSH

If you need to move from Bigpipe to TMSH, use command:

[root@bigip1:Active] config # tmsh

You can freely move to other modules, sub-modules or categories. First command moves us to category pool from module ltm. Second command exits in hierarchy one step higher to module ltm. Once again, we move to category pool. See, how is the prompt before character # changing.

root@bigip1(Active)(tmos)# ltm pool
root@bigip1(Active)(tmos.ltm.pool)# exit
root@bigip1(Active)(tmos.ltm)# pool
root@bigip1(Active)(tmos.ltm.pool)#

At any time, you can type help command.

Also, there is a possibility to invoke help or list of available keywords by using question mark. Don’t forget to use tabulator to complete your request. Here is an output from root. You see the list of modules and other available commands.

root@bigip1(Active)(tmos)# ?
Modules:
  /            TMOS Command Line Interface
  auth         User accounts and authentication
  cli          Local user settings and configuration transactions
  gtm          Global Traffic Manager
  ltm          Local Traffic Manager
  net          Network configuration
  sys          General system configuration
  util         Utility programs that can be run from within tmsh
  wom          WAN Optimization
Commands:
  create       Create new configuration items
  delete       Remove configuration items
  edit         Update configuration using a text editor
  exit         Exit the current command mode
  help         View tmsh man pages
  install      Install an image or hotfix to a volume
  list         View configuration and settings
  load         Replace running configuration with configuration files
  modify       Update existing configuration items
  quit         Quit tmsh
  reboot       Reboot the system
  reset-stats  Reset runtime statistics
  restart      Restart BIG-IP services
  run          Run an external program
  save         Save the running configuration to configuration files
  show         View runtime information, statistics and status
  start        Start BIG-IP services
  stop         Stop BIG-IP services
  submit       Submit a batched transaction

To exit from TMSH, type quit. Prompt will change. You can edit your configuration by using TMSH, Bigpipe or directly editing correct file. Use your favorite editing tool. To show current configuration, you can view it by cat, more, less or anything else you like.

[root@bigip1:Active] config # less /config/bigip.conf

In the next post, I will start series of TMSH configuration.

Want more? Check post from series:

F5 University (2011/11/25)
F5 Help Pages (2011/12/02)
F5 BigIP LTM: Let’s Start (2011/12/09)
F5 TMOS Configuration (Part 1) (2011/12/16)
F5 TMOS Configuration (Part 2) (2011/12/23)
F5 TMOS Configuration (Part 3) (2011/12/30)
F5 Hints (2012/01/06)

About these ads

9 responses to “F5 BigIP LTM: Let’s Start

  1. Pingback: F5 University « rekrowteN | Networker

  2. Pingback: F5 Help Pages « rekrowteN | Networker

  3. Pingback: F5 TMOS Configuration (Part 2) « rekrowteN | Networker

  4. Pingback: F5 TMOS Configuration (Part 1) « rekrowteN | Networker

  5. Pingback: F5 Hints « rekrowteN | Networker

  6. Pingback: F5 TMOS Configuration (Part 3) « rekrowteN | Networker

  7. Pingback: 200 Posts on rekrowteN | Networker « rekrowteN | Networker

  8. Pingback: rekrowteN | Networker Stats for Year 2012 « rekrowteN | Networker

  9. Pingback: rekrowteN | Networker Stats for Year 2013 | rekrowteN | Networker

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: