Forum Discussion
qe_102628
Jan 14, 2014Nimbostratus
Substitute 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