Forum Discussion
how to take config backup through cli - guest account
We are using a external product for configuration management. I have discovered all the F5 devices LC / LTM on to the tool. And the tool uses SSH to get the configuration from the F5.
But now we can provide guest access to the user ID that is going to SSH into F5 devices. My question is, is there any command that will give information of "/config/bigip.conf".
I tried command " list all-properties"which is giving all the configuration detail with guest account, but I have to hit space bar every time to get complete output. The tool does not have capability to provide space bar.
Can someone suggest a command that can be used via cli with guest account to get configuration details..
user@(hqprodf5lc01)(cfg-sync In Sync)(Active)(/Common)(tmos) list all-properties
6 Replies
- gsharri
Altostratus
Run this command while logged into tmsh as the guest user:
modify /cli preference pager disabledThis will stop the paging of the list command output and dump the entire config at once.
- vigneshkumar_22
Nimbostratus
That worked !! Thanks Scott..
- gsharri
Altostratus
Excellent. You are welcome. - vigneshkumar_22
Nimbostratus
Scott, With Guest account - is there a command to take F5 config file alone. Base config
- gsharri
Altostratus
I am not sure what you mean. Do you want to view the config found in the bigip_base.conf or bigip.conf files?
- gsharri
Altostratus
When the config is loaded into memory all the files are merged into the "running config". This is what tmsh is displaying when using the list command so there is no command to view the individual files (without having bash shell access which a guest account does not have).
However, you can list config by the tmsh modules. Bigip.conf and bigip_base.config contain config from these tmsh modules: cli, cm, ltm, net, sys. Try these tmsh commands they will probably give you what you need:list ltm list net list sys list cm list cli
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com