Forum Discussion
b class datagroup-name all - removes existing ip addresses
Hello All,
I am working with BigIP LTM VE Trial edition 10.1.0. Datagroup caled DG-TEST has a few IP addresses like below:
ltm data-group DG-TEST {
records {
10.10.10.10/32 { }
20.20.20.20/32 { }
30.30.30.30/32 { }
}
type ip
}
If I type the folowing I get the info about the class:
b class DG-TEST show all
CLASS lstymqmiapub | TYPE ip 3 items
However, If I type the following
b class DG-TEST all
All existing IP addresses are removed and replaced as following:
class DG-TEST {
network default inet6
}
Is this the expected behaviour?
Apologies if this has already been asked.
Regards, Os
3 Replies
- Samir_Jha_52506
Noctilucent
Its expected behavior of LTM. If you wanted to see the existing object in class. Then use below command.
--> List the object in specific class.b class DG-TEST list
--> Return all object in specific classb class DG-TEST show all
--> Return Network default.b class DG-TEST all - Hamish
Cirrocumulus
Yeah. I've come a cropper on this one before.
I logged a call about it as IMO the command is a bit dangerous. Especially considering ANYONE with CLI access can accidentally do this. But was told it's by design. I did raise an RFE IIRC. But looks like it was never looked at.
H
- Os_69448
Nimbostratus
Thank you guys.
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