Forum Discussion
Need to test F5 setup
Everything depends on what process you want to test on your backend server.
Base on the manual of curl, it can be used to test these protocols:
DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP
For example, to test HTTP you can use a command similar to this:
# curl -v http://<f5_virtual_ip>For HTTPS, something like this:
# curl -vk https://<f5_virtual_ip>In both cases, you are sending this query to your server (changing only the port between 80 and 443)
GET / HTTP/1.1If you need more complexity, it's necessary you share more info with us.
KR,
Dario.
Thanks Dario, but in my case the virtual port is set to * ie any.
In this case what command should I use to test connection.
- Dario_GarridoJun 12, 2019
Noctilucent
Hello Samit.
You cannot test all services in 'any' port at the same time.
As much as you can do is to verify that TCP handshake is established in a range of ports.
seq <initial_port> <final_port> | xargs -I {} nc -vz -w1 <backend_ip> {}UDP is stateless connection, so you cannot verify it with total garanties.
KR,
Dario.
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
