12-10-2018 04:32 AM
So I am working with alot of PLC and they are a bit on the old side and uses Serial communication
On the IR 809 i want to use the Serial ports async 1 (RS232-DTE)
I manage to connect to that port by setting a IP on it and useing ssh.
But the SCADA systems do not ofcs use SSH.
how do i change tcp/udp ports?
12-11-2018 04:34 AM
Can you configure the client ?
I am not sure about the line numbers by the way. The example in the doc uses line 5:
line 5
raw-socket tcp client 10.0.0.254 5000
stopbits 1
12-11-2018 04:38 AM
01-17-2023 08:42 PM
Niklas,
Did you get to resolve this. I believe the problem is the IP Addressing statement.
interface Async0 ip address 10.128.7.33 255.255.255.254 encapsulation raw-tcp !
IP addressing is not on the Async interface, it's RAW Serial only with no IP. A working solution is;
XXXXXXXX
interface Async0
no ip address
encapsulation raw-tcp
line 1
raw-socket tcp server 20000
XXXXXXXXXX
In this example router will listen on port 20000 on any IP interface (that's why you don't need the IP address under Async 0) in a similar way that SSH is accessible on any IP interface. I configure a Loopback address and use access lists to limit traffic. Depending on the serial requirements, you will need to configure stop bits, flow control, parity and data bits under Line 1.
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