Forum Discussion

rbagin_75716's avatar
rbagin_75716
Icon for Nimbostratus rankNimbostratus
Nov 19, 2013

tmsh command

what is the tmsh command to show or display the configuration for all objects in a single partition on LTM ver 11.3.0 HF 6 or 8?

 

4 Replies

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    rbagin, I'd normally do:

     

    cat /config/bigip.conf |less

     

    or

     

    tmsh show running-config /ltm

     

    Does that work for you?

     

    N

     

  • That will work for stuff in the /Common partition, but to see things in other partitions:

    cat /config/partitions/[partition name]/bigip.conf
    

    or from within TMSH:

    cd [partition name]
    show running-config /ltm
    

    I don't believe there's a way to show non-Common partition info using TMSH from the Bash shell.

  • Thanks Kevin, that does give me the output I am looking for on that one partition.

     

    Is there a way to sent the output to a file that I can print to be able to compare it to the same partition on the LTMs at out DR location?

     

  • The cat option would be easy. Just pipe that to a file:

    cat /config/partitions/[partition name]/bigip.conf > /var/tmp/my_config.conf