Forum Discussion
Rosieodonell_16
Cirrus
Mar 09, 2015Cmd Line needed to update datagroup list
I have a datagroup list called "auth_keys" and i was wondering if anyone knows a command line to add info to it. Here is the kind of info i need to add to the datagroup
string: [email protected] value: GR45EDWOY76DD342
So far i only know how to do this from the gui and if i had the command lines i could make a scipt to update this datagroup.
e.g.
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) modify ltm data-group internal auth_keys records add { [email protected] { data GR45EDWOY76DD342 }} root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm data-group internal auth_keys ltm data-group internal auth_keys { records { [email protected] { data GR45EDWOY76DD342 } } type string }
8 Replies
- nitass_89166
Noctilucent
e.g.
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) modify ltm data-group internal auth_keys records add { [email protected] { data GR45EDWOY76DD342 }} root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm data-group internal auth_keys ltm data-group internal auth_keys { records { [email protected] { data GR45EDWOY76DD342 } } type string }- entered the first line and got the following error: -bash: modify: command not found
- shaggy
Nimbostratus
if running from bash, precede tmsh command with "tmsh": tmsh modify ltm data-group internal auth_keys records add { [email protected] { data GR45EDWOY76DD342 }} - This fixed my needs, thank you very much!!!
- nitass
Employee
e.g.
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) modify ltm data-group internal auth_keys records add { [email protected] { data GR45EDWOY76DD342 }} root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm data-group internal auth_keys ltm data-group internal auth_keys { records { [email protected] { data GR45EDWOY76DD342 } } type string }- entered the first line and got the following error: -bash: modify: command not found
- shaggy
Nimbostratus
if running from bash, precede tmsh command with "tmsh": tmsh modify ltm data-group internal auth_keys records add { [email protected] { data GR45EDWOY76DD342 }} - This fixed my needs, thank you very much!!!
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects