cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4351
Views
0
Helpful
17
Replies

IR809 - Config Serialport

Niklas.D
Level 1
Level 1

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? 

 

 

 

 

17 Replies 17

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

Correct but that is a 807 and i have a 809.



Cant type Line 5



IR800(config)#line 5

No physical hardware support for line 5

IR800(config)#line 6

No physical hardware support for line 6

IR800(config)#line 4

No physical hardware support for line 4

IR800(config)#







IR800#sh run | sec line

line con 0

exec-timeout 5 0

logging synchronous

stopbits 1

line 1 2

stopbits 1

line 3

script dialer lte

no exec

transport preferred lat pad telnet rlogin lapb-ta mop udptn v120 ssh

transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh

rxspeed 100000000

txspeed 50000000

line 8

no exec

transport preferred lat pad telnet rlogin lapb-ta mop udptn v120 ssh

transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh

rxspeed 100000000

txspeed 50000000

line 1/3

transport preferred none

transport output none

stopbits 1

line 1/4

exec-timeout 0 0

transport preferred none

transport input all

transport output all

stopbits 1

line 1/5

exec-timeout 0 0

transport preferred none

transport input telnet

transport output none

stopbits 1

line 1/6

exec-timeout 0 0

transport preferred none

transport input all

transport output none

stopbits 1

line vty 0

access-class MGMT-ACCESS in

exec-timeout 5 0

logging synchronous

transport input all

line vty 1

access-class MGMT-ACCESS in

exec-timeout 5 0

logging synchronous

transport input telnet

line vty 2 4

access-class MGMT-ACCESS in

exec-timeout 5 0

logging synchronous

transport input all

line vty 5 10

transport input none

IR800#



And i cant find a command to verify what line is used for async 0 or 1.


Colin Qld
Level 1
Level 1

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.