Forum Discussion
NewtoF5CLI_2813
Nimbostratus
Jul 25, 2016Command Line Question
Can someone tell me what show commands to use to view the context (partitions) that are on the LB and the command on how to switch to a different context?
zeiss_63263
Jul 26, 2016Historic F5 Account
Another way to view the partitions below. I believe the "cd" command as indicated earlier is what you're looking for when working in other Partitions.
(tmos) create sys folder /New-Partition
(tmos) list sys folder /New-Partition
sys folder /New-Partition {
device-group none
inherited-devicegroup true
inherited-traffic-group true
traffic-group traffic-group-1
}
(tmos) list sys folder recursive /
sys folder / {
device-group none
inherited-devicegroup false
inherited-traffic-group false
traffic-group traffic-group-1
}
sys folder /Common {
device-group none
inherited-devicegroup true
inherited-traffic-group true
traffic-group traffic-group-1
}
sys folder /New-Partition {
device-group none
inherited-devicegroup true
inherited-traffic-group true
traffic-group traffic-group-1
}
You can work from /Common on objects in another pool, here's an example:
(/Common)(tmos) cd ../New-Partition/
(/New-Partition)(tmos) create ltm pool New-Pool members add { 10.1.1.1:80 }
(/New-Partition)(tmos) cd /Common/
(/Common)(tmos) list ltm pool /New-Partition/New-Pool
ltm pool /New-Partition/New-Pool {
members {
/New-Partition/10.1.1.1:http {
address 10.1.1.1
}
}
partition New-Partition
}
Tab completion works in that last command, which helps you more easily find the object's path from /.
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