15
(The information displayed in the following figure is for reference only.)
Run the
display ip interface brief [ interface-type
[ interface-number ] ]
command to view the brief
information about the IP address for the interface.
NOTE
1. Run the
user-interface
tty
2
command to access the TTY user interface view. For the RS422/485 serial port, the TTY value is
2
.
2. Run the
mode raw
command to set the serial port service mode to
RAW
and access the RAW service view, or access the existing RAW
service view.
3. Run the
undo raw-transport enable
command to disable the RAW service function.
By default, the serial port service mode is
NONE
.
Configuring Serial Port Transparent Transmission
4. Run the
raw-transport tcp server server-port
5000 command to appoint the device as the server and to transparently transmit serial port
data over TCP. The appointed listening port of the server is 5000.
5. Run the
raw-transport enable
command to enable the RAW service function.
(The information displayed in the following figure is for reference only.)
6. Run the
quit
command.
In the system view, run the following commands:
Check the configuration result and verify that the server can receive data collected by the function module.
Run the
display transport info
command to check the serial port service configuration.
Run the
display transport mode
command to check the serial port service mode.
Run the
display transport session
command to check the serial port session information.
Run the
display transport stat
command to check the serial port status information.
NOTE
NOTE
By default, the RAW service function is disabled.
The device working mode and the basic properties of the serial port transparent transmission service configured in the
RAW service view take effect only after the RAW service is enabled.
NOTE
By default, the RAW service function is disabled.
The device working mode in the serial port transparent transmission service and the basic properties of the service
should be configured when the RAW service is disabled.