Forum Discussion
- Mark_Crosland_2Historic F5 AccountHere you go...
- Alscion_68122NimbostratusEDIT : Ok, I understood
I use it like that :
I select my partition :
tmsh::modify cli admin-partitions query-partitions all update-partition part1
I create my object in the wanted partition :
tmsh::create net vlan vlan1
I come back in Common partiton
tmsh::modify cli admin-partitions query-partitions all update-partition Common
Have fun!
- kev_245_28249Nimbostratusin Regards to admin partitions per route dom id.
- hooleylistCirrostratusHi Kev,
- Sake_BlokNimbostratus
And how do I do that from the CLI, I would like to list config items from specific partitions and/or create items in a particular partition. But I can't seem to change to my partition:
[root@ltm03:ModuleNotLicensed:Active:Standalone] tmp tmsh modify cli admin-partitions query-partitions TEST update-partition TEST Syntax Error: "query-partitions" unknown property [root@ltm03:ModuleNotLicensed:Active:Standalone] tmp tmsh modify cli admin-partitions query-partition TEST update-partition TEST Syntax Error: "query-partition" unknown property [root@ltm03:ModuleNotLicensed:Active:Standalone] tmp tmsh modify cli admin-partitions update-partition TEST Syntax Error: admin-partitions may only be specified in a config file [root@ltm03:ModuleNotLicensed:Active:Standalone] tmp
So how can I add a partition name to the commands:
tmsh list ltm virtual tmsh create ltm node xxx { address 1.1.1.1 }
- Mark_Crosland_2Historic F5 AccountLooks like you are using a V11.X product. In that case, the cd command will move you to a different partition. When a partition is created a top level folder (sys folder) is also created. When a top level folder is created a partition is also created.
- Sake_BlokNimbostratusHi Mark,
- Mark_Crosland_2Historic F5 AccountI believe you would need to fully qualify the path to the objects.
- Jason_40733CirrocumulusStill looking for a single command from bash to do it all. A very limited set of items work currently.
- nitassEmployeenot sure if this is called a single command.
[root@ve11a:Active:Changes Pending] config tmsh -c "cd /par1;list net vlan" net vlan test { if-index 144 partition par1 tag 4092 }