Forum Discussion
JQUINONES82NB
Nimbostratus
Jan 11, 2019LTM script modification
Was wondering if a SED Guru could help me but looking to transform a certain lines of configs in my f5 configuration using bash. i will have another file with an ip address mapping to do modificatio...
Stanislas_Piro2
Cumulonimbus
Jan 12, 2019Do you really need
sed to build your new command???
Create the node with a name instead of IP...
tmsh create ltm node mytest address 4.4.4.4
search all pools with IP 1.1.1.1 member and create the modify command line
for OUTPUT in $(tmsh list ltm pool one-line | grep "ltm pool" | grep 1.1.1.1 | awk '{print $3}')
> do
> echo modify ltm pool $OUTPUT members add { mytest:8004} members delete { 1.1.1.1:8004}
> done
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
