Forum Discussion

bwilliam's avatar
bwilliam
Icon for Cirrus rankCirrus
Mar 06, 2015

How do I show the configuration of a VIP from CLI

Let me start by saying I am an F5 newbie. Recently I was given a project to migrate from old LTM3400's v9.1 to new LTM2000's. To make sure all the vips, pools and nodes are correctly built on the new LTM's I was looking for a cli way to get the configuration. With Cisco you can do a show running-config, or show run interface g0/1. Is there something similar in v9.1 to show a vip, pool, or node?

 

I did figure out how to get some general data. Using "bigpipe pool show all | grep -v ( | grep -v | | grep -v total" I was able get some data. However, it looks like its missing info as I compare it to the gui.

 

Thanks in advance,

 

Bret

 

4 Replies

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    Bret, as Michael has mentioned, the blog post shows core bigip files which will have all the information you need, in particular bigip.conf and bigip_base.conf.

     

    if you want to do stuff on the CLI then these commands will help return information you need.

     

    tmsh list /ltm virtual all-properties

     

    tmsh list /ltm pool all-properties

     

    tmsh list /ltm node all-properties

     

    Hope this helps,

     

    N

     

  • Thanks Michael and Nathan. Based on this info I'm sure I can find what I want. Nathan, do you know if there is a bigpipe command similar to your tmsh list commands?

     

  • Thanks guys I tried those commands after I posted, "man bigpipe" is a wonderful thing. It looks like some of the info is there, but lacking in other areas. Say for example if I look at the VIP from the GUI and the VIP has a type of Performance L4. When I look at the bigip.conf, or run the list commands that info is no where to be found.

     

    I appreciate the guidance all the info has been extremely helpful.