Use the following CLI syntax to configure an RS-232 raw socket serial port.
config# port port-id
serial
rs232
socket
description description-string
rx
eop
length bytes
idle-timeout milliseconds
[no] special-char value
exit
no squelch-delay
no unsquelch-delay
exit
tx
inter-session-delay ms
exit
exit
exit
The following CLI syntax shows an example of configuring an RS-232 raw socket serial port.
config# port 1/3/2
config>port# description "RS-232 Serial"
config>port# serial
config>port>serial# rs232
config>port>serial>rs232# socket
config>port>serial>rs232>socket# rx
config>port>serial>rs232>socket>rx# eop
config>port>serial>rs232>socket>rx>eop# idle-timeout 50
config>port>serial>rs232>socket>rx>eop# length 1500
config>port>serial>rs232>socket>rx>eop# no special-char
config>port>serial>rs232>socket>rx>eop# exit
config>port>serial>rs232>socket>rx# no squelch-delay
config>port>serial>rs232>socket>rx# no unsquelch-delay
config>port>serial>rs232>socket>rx# exit
config>port>serial>rs232>socket# tx
config>port>serial>rs232>socket>tx# inter-session-delay 10
config>port>serial>rs232>socket>tx# exit
config>port>serial>rs232>socket# exit
config>port>serial>rs232# exit
config>port>serial# exit
config>port# exit
Use the admin>display-config detail command to display the raw socket port configuration information.
*A:Dut>admin# display-config detail
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
.....
port 1/3/2
description "RS-232 Serial"
serial
rs232
socket
rx
eop
length 1500
idle-timeout 50
no special-char
exit
no squelch-delay
no unsquelch-delay
exit
tx
inter-session-delay 10
exit
exit
exit
exit
exit
.....
#--------------------------------------------------