Forum Discussion
Mubasher_Sultan
Nimbostratus
Jan 14, 2014How to use Grep command to identify the particular VS and their state?
Hi Folks,
I want to identify the VS servers having the string e.g., TO2 and their "Availability" or "State"
I am using the below command
show /ltm virtual all-properties | grep -i "to...
qe_102628
Nimbostratus
Jan 14, 2014Substitute where I use ^Ltm:: with "to2" (in both greps) to accomplish that.
Here's my example where I've modified the grep statements to show only virtuals with "p82" in the name: [root@snk-5:Active:Standalone] config tmsh show ltm virtual|grep p82 -A5|grep -e 'p82|\ \ Availability|\ \ State'
Ltm::Virtual Server: next4p82
Availability : unknown
State : enabled
Ltm::Virtual Server: next6p82
Availability : unknown
State : enabled
[root@snk-5:Active:Standalone] config
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