huawei(config)#vlan 30 standard
huawei(config)#port vlan 30 0/0 0
huawei(config)#interface vlanif 30
huawei(config-if-vlanif30)#ip address 10.1.1.3 24
huawei(config-if-vlanif30)#quit
3. Configure the serial port working mode.
Configure the serial port working mode to RS485, which is the same as the working mode
of the serial port on the terminal unit.
huawei(config)#interface serial 0/2
huawei(config-if-serial-0/2)#port mode 0 rs485
4. (Optional) Configure serial port attributes.
The default value of the serial port baud rate is 2400 bit/s. Configure the serial port baud
rate to be the same as the baud rate of the serial port on the terminal unit.
huawei(config)#interface serial 0/2
huawei(config-if-serial-0/2)#port config 0 baudrate 2400
5. Configure a serial port connection.
Configure the data transmission mode to TCP Server, local end IP address for the TCP/
IP connection to 10.1.1.3, local port ID to 3000, peer end IP address for the TCP/IP
connection to 10.1.1.2, and serial port frame type to none.
huawei(config)#serialop-connection 1 port 0/2/0 working-mode tcp-server local-
address
10.1.1.3 local-port 3000 peer-address 10.1.1.2 frame-type none
6. Save the data.
huawei(config)#save
----End
Result
1. Run the ping command to verify that the route between the ONU and the master station
server is available.
2. Run the display serialop-connection command to query whether the status of the serial
port TCP/IP connection is established to determine whether the ONU and the master station
server communicate with each other properly.
NOTE
If working-mode of the serial port connection is TCP-Client, run the display serialop-
connection command to query whether the status of the serial port TCP/IP connection is
connected to determine whether the ONU and the master station server communicate with each other
properly.
If working-mode of the serial port connection is UDP, run the display serialop-connection
statistics command to query the number of frames received on or sent from the serial port to determine
whether the ONU and the master station server communicate with each other properly.
Configuration File
The OLT configurations are as follows:
vlan 30 smart
port vlan 30 0/19 0
vlan 8 smart
port vlan 8 0/19 0
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
17 Electrical Service Configuration
Issue 01 (2014-04-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1857