10-20-2022 02:17 PM
Hello,
is it possible to tell a router not to run a certain command, if 443 port is down?
Let us say users have access permit right on a address with some data. But I would like to a kind of skip the permission any time the 443 port is down. And when the port is up the permission works again.
I hope the idiea is clear. Thanks for Help.
Regards
Taka
10-20-2022 10:16 PM
sounds like automation requirement. can you give us sample of practical scenario for this use case?
10-21-2022 12:48 AM
10-21-2022 05:01 AM
Hello,
do the clients need to have connectivity with the host on 443, or the router ? If it is the clients, you could just use a simple batch script that telnets to the host/port, and if the port is not reachable, install a null route on the client...
10-21-2022 12:54 AM
Hello,
certainly possible. The first thing you would need is for the router to check if port 443 is open. That said, 443 is https, so I am not sure under what conditions the port would be 'down'. Either way, the command 'show tcp brief' would show if the status of port 443 is ESTAB, if not, you could consider that to be down/unreachable. Based on that status, you could enable/disable an access list, all this by using EEM.
10-21-2022 01:57 AM
You are right but which command we use to check port that is issue here ??
10-21-2022 01:01 PM
Hello All,
I have a static route in the Router to send packets to a server, which should only be ON if the 443 port is UP. Which is the daily healthy case. Now sometimes, we have a case this port is for some reason down but the Router still keeps flooding the server with Requestes and the server hangs up on trying to respond but it can`t do it. That is a big problem, I think i should find a way to tell the Router not to use the static route if I let it know that the port is down. I also thought about Cisco EEM because I read about it. However I am not very sure if this can solve my problem, so i am still searching and hoping that some one must have a situation like this before and may gives me a hint how to solve it.
Regards
Taka
10-21-2022 02:23 PM
port up or down!!
That I could not get, the port is l4 and it not up or down,
It either open or close, and that depend usually on if there is FW or not.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide