Forum Discussion
DeVon_Jarvis
Feb 04, 2011Nimbostratus
tmsh equivalent of 'b shell partition' command?
Playing with tmsh today, and having issues with having the right write partition set. Is there an equivalent in tmsh for the 'b shell partition' command?
DeVon
hooleylist
Nov 15, 2012Cirrostratus
Here's another example for v10 and v11. In current versions of both v10 and v11 the partition is inherited so you don't need to fully qualify objects with the partition name.
v10.2.4
tmsh
modify / cli admin-partitions update-partition partition2
modify /ltm pool my_pool_p2 members add { 10.1.0.100:80 }
list /ltm pool my_pool_p2
ltm pool my_pool_p2 {
members {
10.1.0.100:http { }
}
partition partition2
}
And for v11:
cd /partition2
create /ltm pool my_pool_p2
list /ltm pool
ltm pool my_pool_p2 {
partition partition2
}
Aaron
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