Forum Discussion
Copy over self IPs from several partitions
- Nov 16, 2023
I wonder if this is as simple as not setting a default route domain for your other partitions? Try to set that before the import, rather than modifying the IPs to put the route domain in with the %xxx syntax. You have to first define the route domain object (net route-domain), then set the partition to it.
admin@(west)(cfg-sync Standalone)(ModuleNotLicensed::Active)(/Common)(tmos)# create net route-domain rd_foo id 1234 vlans replace-all-with { con1 }
admin@(west)(cfg-sync Standalone)(ModuleNotLicensed::Active)(/Common)(tmos)# list auth partition foo all-properties
auth partition foo {
default-route-domain 0
description none
}
admin@(west)(cfg-sync Standalone)(ModuleNotLicensed::Active)(/Common)(tmos)# modify auth partition foo default-route-domain 1234
admin@(west)(cfg-sync Standalone)(ModuleNotLicensed::Active)(/Common)(tmos)# list auth partition foo all-properties
auth partition foo {
default-route-domain 1234
description none
}
I wonder if this is as simple as not setting a default route domain for your other partitions? Try to set that before the import, rather than modifying the IPs to put the route domain in with the %xxx syntax. You have to first define the route domain object (net route-domain), then set the partition to it.
admin@(west)(cfg-sync Standalone)(ModuleNotLicensed::Active)(/Common)(tmos)# create net route-domain rd_foo id 1234 vlans replace-all-with { con1 }
admin@(west)(cfg-sync Standalone)(ModuleNotLicensed::Active)(/Common)(tmos)# list auth partition foo all-properties
auth partition foo {
default-route-domain 0
description none
}
admin@(west)(cfg-sync Standalone)(ModuleNotLicensed::Active)(/Common)(tmos)# modify auth partition foo default-route-domain 1234
admin@(west)(cfg-sync Standalone)(ModuleNotLicensed::Active)(/Common)(tmos)# list auth partition foo all-properties
auth partition foo {
default-route-domain 1234
description none
}
- Gerald_MeeseNov 17, 2023Cirrus
Hi Lucas,
Thanks for your answer ! Actually the 3 partitions have their own route domain :
auth partition Common {
default-route-domain 0
description "Repository for system objects and shared objects."
}auth partition Partition1 {
default-route-domain 1
description none
}auth partition Partition2 {
default-route-domain 2
description none
}What is really strange is this : “I edited the Partition1-selfip.txt file and modified the IP to 10.160.10.118%1, the error for that entry has disappeared... but the SelfIP is not created (in any of the partitions) 😞”.
Usually when preparing migrations I add SelfIP’s manually but this customer has +/- 150 (!) of them across 3 partitions ☹
Have a good day,
Gerald
- Gerald_MeeseNov 17, 2023Cirrus
I found the issue 🙂 when I use a concatenated command to move to Partition1 and run the import, it fails (silently) and stays in partition /Common :
tmsh -c "cd /Partition1; load /sys config merge file Partition1-selfip.txt verify"When I do the same using 2 commands in sequence... it works like a charm 🙂
Thanks for your help!!
Gerald
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