Forum Discussion
egrep command
hi Experts,
wondering any egrep command out there which can grep virtual name, destination ip, Pool members and client-ssl profile name out of ltm config
I had tried this tmsh show ltm virtual detail | egrep -i "Virtual Server:| Destination | Ltm::Pool Memb" | grep -v Reason
and it works for virtual name, destination ip, Pool members but not for client-ssl profile name.
Thanks
4 Replies
- nitass_89166
Noctilucent
it works for virtual name, destination ip, Pool members but not for client-ssl profile name.
have you added clientssl in the egrep pattern?
[root@ve11a:Active:In Sync] config tmsh show ltm virtual detail | egrep "Virtual Server: | Destination | Ltm::Pool: | Ltm::Pool Member: | Ltm::ClientSSL Profile" | grep -v "Destination IP Bypasses" Ltm::Virtual Server: bar Destination : 172.28.24.10:443 | Ltm::Pool: foo | Ltm::Pool Member: 200.200.200.101:80 | Ltm::ClientSSL Profile: clientssl Ltm::Virtual Server: fwd Destination : any:any- Anush
Nimbostratus
work as a charm :) I was trying following command. I forgot to put ":" after Pool Mem tmsh show ltm virtual detail | egrep -i "Virtual Server: | Destination | Ltm::Pool Mem | Ltm::ClientSSL Profile" | grep -v Reason Thanks for your help
- nitass
Employee
it works for virtual name, destination ip, Pool members but not for client-ssl profile name.
have you added clientssl in the egrep pattern?
[root@ve11a:Active:In Sync] config tmsh show ltm virtual detail | egrep "Virtual Server: | Destination | Ltm::Pool: | Ltm::Pool Member: | Ltm::ClientSSL Profile" | grep -v "Destination IP Bypasses" Ltm::Virtual Server: bar Destination : 172.28.24.10:443 | Ltm::Pool: foo | Ltm::Pool Member: 200.200.200.101:80 | Ltm::ClientSSL Profile: clientssl Ltm::Virtual Server: fwd Destination : any:any- Anush
Nimbostratus
work as a charm :) I was trying following command. I forgot to put ":" after Pool Mem tmsh show ltm virtual detail | egrep -i "Virtual Server: | Destination | Ltm::Pool Mem | Ltm::ClientSSL Profile" | grep -v Reason Thanks for your help
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
