AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010 Command Reference

transparent transmission commands

transparent transmission commands

display transport info

Function

The display transport info command displays the service configuration of the current serial interface.

Format

display transport info

Parameters

None

Views

TTY user interface view

Default Level

1: Monitoring level

Usage Guidelines

A router can function as a server or client to transparently transmit data through the serial interface in TCP or UDP mode. You can run the display transport info command to check information, such as the transmission mode, connection type, IP address of the remote device, interface number, about the router in TCP server, TCP client, and UDP client modes of transparent transmission through the serial interface, respectively.

Example

# Display the service configuration of the current serial interface when the router functions as a TCP server.

<Huawei> system-view
[Huawei] user-interface tty 9
[Huawei-ui-tty9] display transport info
*******************************************************************************
 TTYIndex                           9      IsTransEnable                Enabled
 TransMode                        RAW      ConnectType               TCP Server
 MaxClientNum                       4      TcpIdleTimeOut                     0
 PacketTimer                      100      PacketSize                         0
 SpecialChar                               best-effort                 Disabled
 RS232Mode                   Disabled      TTY2Mode                       RS485
 Server Port                    60000      IsSetClientIp                     No 
 ******************************************************************************* 

# Display the service configuration of the current serial interface when the router functions as a TCP client.

<Huawei> system-view
[Huawei] user-interface tty 9
[Huawei-ui-tty9] display transport info
*******************************************************************************
 TTYIndex                           9      IsTransEnable                Enabled
 TransMode                        RAW      ConnectType               TCP Client
 MaxServerNum                     100      TcpServerCount                     0
 TcpIdleTimeOut                     0      PacketSize                         0
 PacketTimer                      100      best-effort                 Disabled
 SpecialChar                               TTY2Mode                       RS485
 RS232Mode                   Disabled      
 Server IP               1.1.2.1      Server Port                    60000
 Server IP               1.1.2.1      Server Port                    60001
 ******************************************************************************* 

Table 5-76  Description of the display transport info command output
Item Description
TTYIndex Index of the user interface view.
IsTransEnable Whether the RAW service function is enabled. To enable the RAW service function, run the raw-transport enable command.
TransMode Transmission mode for transparent data transmission through the serial interface.
  • None: no service mode
  • RAW: transparent transmission mode
To configure the transmission mode, run the mode (TTY user interface view) command.
ConnectType Connection type for transparent data transmission through the serial interface.
  • TCP server
  • TCP client
  • UDP client
To configure the connection type, run the raw-transport server-port command.
MaxClientNum Maximum number of clients that the router functioning as a server can be connected to. The value is 4.
MaxServerNum Maximum number of servers that the router functioning as a client can be connected to. The value is 100.
TcpClientCount Current number of clients that the router functioning as a server is connected to.
TcpServerCount Current number of servers that the router functioning as a client is connected to.
TcpIdleTimeOut Timeout interval for TCP connections. To configure the timeout interval for TCP connections, run the raw-transport tcp idle-timeout command.
PacketSize Size of an encapsulated packet. To configure the size of an encapsulated packet, run the raw-transport packet-size command.
PacketTimer Packet encapsulation timer. To configure the packet encapsulation timer, run the raw-transport packet-timer command.
best-effort Whether the best-effort function is enabled. To enable the best-effort function, run the raw-transport best-effort command.
SpecialChar Special character of an encapsulated packet. To configure the special character of an encapsulated packet, run the raw-transport special-char command.
TTY2Mode TTY2 mode.
  • RS485
  • RS422
To configure the TTY2 mode, run the raw-transport tty2-mode command.
RS232Mode Whether the RS232 serial interface mode is enabled. To configure the RS232 serial interface mode, run the raw-transport server-port command.
Server IP IP address of the server. To configure the IP address of the server, run the raw-transport server-port command.
Server Port Interface number of the server. To configure the interface number of the server, run the raw-transport server-port command.
IsSetClientIp Whether the IP address of the client is configured. To configure the IP address of the client, run the raw-transport server-port command.

display transport mode

Function

The display transport mode command displays the service mode of the current serial interface.

Format

display transport mode

Parameters

None

Views

TTY user interface view

Default Level

1: Monitoring level

Usage Guidelines

After checking the service mode of the current serial interface using the display transport mode command, you can run the mode command to enter the service mode of the current serial interface or switch to another service mode of the serial interface base on actual requirements.

Example

# Display the service mode of the current serial interface.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] display transport mode
Info: Current TTY mode is RAW.
Table 5-77  Description of the display transport mode command output
Item Description
Current TTY mode Service mode of the current serial interface.
  • none
  • raw
To configure the service mode of the current serial interface, run the mode (TTY user interface view) command.
Related Topics

display transport session

Function

The display transport session command displays session information about the current serial interface.

Format

display transport session

Parameters

None

Views

TTY user interface view

Default Level

1: Monitoring level

Usage Guidelines

A router can function as a server or client to transparently transmit data through the serial interface in TCP or UDP mode. You can run the display transport session command to check the session ID, establishment time of the session, and the IP address and interface number of the client or server for which the session is established.

Example

# Display session information about the current serial interface when the router functions as a TCP server.

<Huawei> system-view
[Huawei] user-interface tty 9
[Huawei-ui-tty9] display transport session
 *******************************************************************************
 TTYIndex                           9      IsTransEnable                Enabled
 TransMode                        RAW      ConnectType               TCP Server
 Server Port                    60000      
 Session                            1      Time             2017-12-11 12:07:53
 Client IP               1.1.2.1      Client Port                    53094
 Session                            2      Time             2017-12-11 12:08:04
 Client IP               1.1.2.1      Client Port                    53122
 
 *******************************************************************************

# Display session information about the current serial interface when the router functions as a TCP client.

<Huawei> system-view
[Huawei] user-interface tty 9
[Huawei-ui-tty9] display transport session
 *******************************************************************************
 TTYIndex                           9      IsTransEnable                Enabled
 TransMode                        RAW      ConnectType               TCP Client
 MaxServerNum                     100      TcpIdleTimeOut                     0
 PacketTimer                      100      PacketSize                         0
 SpecialChar                               best-effort                 Disabled
 RS232Mode                   Disabled      TTY2Mode                       RS485
 Server IP               1.1.2.1      Server Port                    60000
 Server IP               1.1.2.1      Server Port                    60001 
 *******************************************************************************
Table 5-78  Description of the display transport session command output
Item Description
TTYIndex Index of the user interface view.
IsTransEnable Whether the RAW service function is enabled. To configure the RAW service function, run the raw-transport enable command.
TransMode Transmission mode for transparent data transmission through the serial interface.
  • None: no service mode
  • RAW: transparent transmission mode
To configure the transmission mode, run the mode (TTY user interface view) command.
ConnectType Connection type for transparent data transmission through the serial interface.
  • TCP server
  • TCP client
  • UDP client
To configure the connection type, run the raw-transport server-port command.
Session Session ID. To delete a specified session, run the kick-out session command.
Time Connection time of a session.
ServerPort Interface number of the server. To configure the interface number of the server, run the raw-transport server-port command.
Server IP IP address of the server. To configure the IP address of the server, run the raw-transport server-port command.
Client IP IP address of the client. To configure the IP address of the client, run the raw-transport server-port command.
Client Port Interface number of the client. To configure the interface number of the client, run the raw-transport server-port command.

display transport stat

Function

The display transport stat command displays packet statistics of the current serial interface.

Format

display transport stat

Parameters

None

Views

TTY user interface view

Default Level

1: Monitoring level

Usage Guidelines

A router can function as a server or client to transparently transmit data through the serial interface in TCP or UDP mode. You can run the display transport stat command to check packet statistics information of the current serial interface, including the number of times sessions are established, number of times sessions are rejected, number of received packets, and number of sent packets.

Example

# Display status information about the current serial interface when the router functions as a TCP server.

<Huawei> system-view
[Huawei] user-interface tty 9
[Huawei-ui-tty9] display transport stat
 *******************************************************************************
 TTYIndex                           9      IsTransEnable                Enabled
 TransMode                        RAW      ConnectType               TCP Server
 Serial Tx                          0      Serial Rx                          0
 Session                            1
 Client IP               1.1.2.1      Client Port                    53094
 Socket Tx                          0      Socket Rx                          0
 Session                            2
 Client IP               1.1.2.1      Client Port                    53122
 Socket Tx                          0      Socket Rx                          0

 *******************************************************************************

# Display status information about the current serial interface when the router functions as a TCP client.

<Huawei> system-view
[Huawei] user-interface tty 9
[Huawei-ui-tty9] display transport stat
 *******************************************************************************
 TTYIndex                           9      IsTransEnable                Enabled
 TransMode                        RAW      ConnectType               TCP Client
 Serial Tx                          0      Serial Rx                          0
 Session                            3
 Server IP               1.1.2.1      Server Port                    60000
 TTYIndex                           9      IsTransEnable                Enabled
 TransMode                        RAW      ConnectType               TCP Client
 Serial Tx                          0      Serial Rx                          0
 Session                            3
 Server IP               1.1.2.1      Server Port                    60000
                   
 *******************************************************************************
Table 5-79  Description of the display transport stat command output
Item Description
TTYIndex Index of the user interface view.
IsTransEnable Whether the RAW service function is enabled. To configure the RAW service function, run the raw-transport enable command.
TransMode Transmission mode for transparent data transmission through the serial interface.
  • None: no service mode
  • RAW: transparent transmission mode
To configure the transmission mode, run the mode (TTY user interface view) command.
ConnectType Connection type for transparent data transmission through the serial interface.
  • TCP server
  • TCP client
  • UDP client
To configure the connection type, run the raw-transport server-port command.
Serial Tx Number of packets sent through the serial interface.
Serial Rx Number of packets received through the serial interface.
Session Session ID. To delete a specified session, run the kick-out session command.
ServerPort Interface number of the server. To configure the interface number of the server, run the raw-transport server-port command.
Server IP IP address of the server. To configure the IP address of the server, run the raw-transport server-port command.
Client IP IP address of the client. To configure the IP address of the client, run the raw-transport server-port command.
Client Port Interface number of the client. To configure the interface number of the client, run the raw-transport server-port command.
Socket Tx Number of sent packets on the TCP or UDP layer.
Socket Rx Number of received packets on the TCP or UDP layer.

kick-out session

Function

The kick-out session command deletes the specified session connection.

Format

kick-out session session-id

Parameters

Parameter Description Value
session-id Specifies the session ID. The value is an integer that ranges from 1 to 4294967290.

Views

TTY user interface view

Default Level

2: Configuration level

Usage Guidelines

A unique session ID (session-id) is allocated to each connection in the TTY user interface view. You can check session information of the current serial interface using the display transport session command. Deleting the session connection corresponding to the value of session-id using the kick-out session command is similar to disabling the RAW service using the undo raw-transport enable command in the RAW service view.

Example

# Delete the session connection with the ID 100.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] kick-out session 100

mode (TTY user interface view)

Function

The mode command configures the service mode of the serial interface, and displays the corresponding service view or an existing service view.

By default, the service mode of the serial interface is none.

Format

mode { none | raw | scada | modbus-transport }

Parameters

Parameter Description Value
none Sets the service mode of the serial interface to none. -
raw Sets the service mode of the serial interface to RAW. -
scada Sets the service mode of the serial interface to SCADA. This is a reserved parameter. -
modbus-transport Sets the service mode of the serial interface to modbus-transport. This is a reserved parameter. -

Views

TTY user interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After running the mode command, you can enter the corresponding service view and configure corresponding service functions. You can configure the following modes based on actual requirements:
  • None: no service mode
  • RAW: transparent transmission mode

Prerequisites

Transparent transmission through the serial interface has been enabled using the socket-transport enable command before the mode raw command is run on the RS232 serial interface.

Example

# Set the service mode of the serial interface to the RAW mode and display the RAW service view.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] socket-transport enable
Info : RS232 has been changed to service mode.
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw]

raw-transport server-port

Function

The raw-transport server-port command configures transmission parameters for transparent transmission through the serial interface.

The undo raw-transport { tcp | udp } client server-port server-port server-ip server-ip command deletes transmission parameters specified in the RAW service view.

The undo { tcp | udp } command deletes all transmission parameters in the RAW service view.

By default, the working mode of the router for transparent transmission through the serial interface is not configured.

Format

raw-transport tcp server server-port server-port [ client-ip client-ip ] [ vpn-instance vpn-instance-name ]

raw-transport tcp client server-port server-port server-ip server-ip [ vpn-instance vpn-instance-name ]

raw-transport udp client server-port server-port server-ip server-ip

undo raw-transport tcp client server-port server-port server-ip server-ip [ vpn-instance vpn-instance-name ]

undo raw-transport udp client server-port server-port server-ip server-ip

undo { tcp | udp }

Only V200R010C10 and later versions support the vpn-instance vpn-instance-name parameter.

Parameters

Parameter Description Value
tcp server

Configures the router as a server to transparently transmit data through the serial interface in TCP mode.

-

tcp client

Configures the router as a client to transparently transmit data through the serial interface in TCP mode.

-

udp client

Configures the router as a client to transparently transmit data through the serial interface in UDP mode.

-

server-port server-port

Specifies the listening interface number of the server.

The value is an integer that ranges from 1 to 65534.

server-ip server-ip

Specifies the IP address of the server to which the listened router is connected.

The value is in dotted decimal notation, and must be a valid IP address of class A, B, or C. A maximum of 100 different IP addresses of servers can be configured.

client-ip client-ip

Specifies the IP address of the client that needs to be listened and is connected to the router.

The value is in dotted decimal notation, and must be a valid IP address of class A, B, or C. If the client-ip client-ip parameter is not specified, the router can randomly connect to a maximum of four clients. If the client-ip client-ip is specified, the client has occupied a connection and the router can randomly connect to a maximum of three clients.

vpn-instance vpn-instance-name

Specifies the name of the VPN instance to which the transparent transmission service of a serial port is bound.

The value is a string of 1 to 31 case-sensitive characters without spaces.

Views

RAW service view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Major differences between transparent transmission through the serial interface in TCP and UDP modes are as follows:
  • TCP is connection-oriented and provides a data retransmission mechanism. It has high requirements for the network quality and real-time data transmission. When the network quality is poor, packet loss may occur.
  • UDP is connectionless and does not provide a data retransmission mechanism. It has low requirements for the network quality and real-time data transmission.
You can choose an appropriate mode based on data integrity, network quality, and real-time data transmission requirements.

Precautions

If the RAW service has been enabled, run the undo raw-transport enable command to disable the RAW service before running the raw-transport server-port command. Otherwise, an error message is displayed.

For the same TTY, you can select only one mode from the TCP client, TCP server, and UDP client modes. The latest configured mode takes effect. A router functioning as a client can be connected to a maximum of 100 servers. A router functioning as a server can be connected to a maximum of four clients.

The system verifies the configured IP address and interface number.
  • The following IP addresses are invalid:
    • Addresses with all 0s or 1s
    • Multicast addresses (class D addresses)
    • Loopback addresses (in the 127.x.x.x format)
    • Broadcast addresses of classes A, B, and C
  • When the router functions as a server, values of server-port configured in different TTYs cannot be the same at the same time.
  • When the router functions as a client, values of server-ip configured in different TTYs cannot be the same at the same time.

Example

# Configure the router as a server to transparently transmit data through the serial interface in TCP mode.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] raw-transport tcp server server-port 1111 client-ip 10.1.1.100

# Configure the router as a client to transparently transmit data through the serial interface in TCP mode.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] raw-transport tcp client server-port 1111 server-ip 10.1.1.100

# Configure the router as a client to transparently transmit data through the serial interface in UDP mode.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] raw-transport udp client server-port 1111 server-ip 10.1.1.100
Related Topics

raw-transport best-effort

Function

The raw-transport best-effort command enables the best effort mode, so that the router discards old data from the cache first.

undo best-effort command disables the best effort mode.

By default, the best effort mode is disabled, so that the router discards new data from the cache first.

Format

raw-transport best-effort

undo best-effort

Parameters

None

Views

RAW service view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the router discards new data from the cache first. After the raw-transport best-effort command is run, the router discards old data from the cache first.

Precautions

If the RAW service has been enabled, run the undo raw-transport enable command to disable the RAW service before running the raw-transport best-effort command. Otherwise, an error message is displayed.

Example

# Configure the best effort mode, so that the router discards old data from the cache first.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] raw-transport best-effort

raw-transport enable

Function

The raw-transport enable command enables the RAW service function.

The undo raw-transport enable command disables the RAW service function.

By default, the RAW service function is disabled.

Format

raw-transport enable

undo raw-transport enable

Parameters

None

Views

RAW service view

Default Level

2: Configuration level

Usage Guidelines

Configuration commands run in the RAW service view take effect only after the RAW service function is enabled.

Example

# Enable the RAW service function.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] raw-transport enable

raw-transport packet-size

Function

The raw-transport packet-size command configures the size of an encapsulated packet.

The undo packet-size command cancels the configured size of an encapsulated packet.

By default, the size of an encapsulated packet is not configured. The router does not encapsulate received packets and sends them without changing their sizes (not greater than 2000 bytes).

Format

raw-transport packet-size size

undo packet-size

Parameters

Parameter Description Value
size Specifies the size of an encapsulated packet. The value is an integer that ranges from 16 to 1400, in bytes.

Views

RAW service view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the size of an encapsulated packet is configured, the router only sends packets whose sizes reach the specified size.

Precautions

If the RAW service has been enabled, run the undo raw-transport enable command to disable the RAW service before running the raw-transport packet-size command. Otherwise, an error message is displayed.

Example

# Set the size of an encapsulated packet to 100 bytes.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] raw-transport packet-size 100

raw-transport packet-timer

Function

The raw-transport packet-timer command configures the packet encapsulation timer.

The undo packet-timer command restores the default interval of the packet encapsulation timer.

By default, the interval of the packet encapsulation timer is 100 ms.

Format

raw-transport packet-timer time

undo packet-timer

Parameters

Parameter Description Value
time Specifies the periodic packet sending time. The value is an integer that ranges from 20 to 100000, in milliseconds. The value must be an integer multiple of 20, for example, 40, 60, or 80.

Views

RAW service view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the packet encapsulation timer is configured and a router does not obtain packets within a specified period, the router sends received packets.

Precautions

If the RAW service has been enabled, run the undo raw-transport enable command to disable the RAW service before running the raw-transport packet-timer command. Otherwise, an error message is displayed.

Example

# Set the interval of the packet encapsulation timer to 200 ms.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] raw-transport packet-timer 200

raw-transport special-char

Function

The raw-transport special-char command enables the special character filtering function.

The undo special-char command disables the special character filtering function.

By default, the special character filtering function is disabled.

Format

raw-transport special-char char-value

undo special-char

Parameters

Parameter Description Value
char-value Specifies the special character to be filtered. The value is an integer that ranges from 0 to 255.

Views

RAW service view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the special character filtering function is enabled and a router receives a packet containing a special character, the router immediately sends the packet.

Precautions

If the RAW service has been enabled, run the undo raw-transport enable command to disable the RAW service before running the raw-transport special-char command. Otherwise, an error message is displayed.

Example

# Enable the special character filtering function and set the special character to be filtered to 3.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] raw-transport special-char 3

raw-transport tcp idle-timeout

Function

The raw-transport tcp idle-timeout command configures the timeout interval for TCP connections.

The undo idle-timeout command restores the default timeout interval for TCP connections.

By default, the timeout interval for TCP connections is 0 minutes.

Format

raw-transport tcp idle-timeout time

undo idle-timeout

Parameters

Parameter Description Value
time Specifies the timeout interval for TCP connections. The value is an integer that ranges from 0 to 60, in minutes.

Views

RAW service view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the timeout interval for TCP connections is 0 minutes, indicating that TCP connections are not automatically disconnected. For security purposes, you can disconnect TCP connections if the router does not receive or send any data within a specified period. If a router functions a server and the TCP connection is disconnected, the router re-enters the listening status and waits from the next connection. If a router functions as a client and the TCP connection is disconnected, the TCP connection is automatically re-established when data needs to be sent.

Precautions

If the RAW service has been enabled, run the undo raw-transport enable command to disable the RAW service before running the raw-transport tcp idle-timeout command. Otherwise, an error message is displayed.

Example

# Set the timeout interval for TCP connections to 2 minutes.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] raw-transport tcp idle-timeout 2

raw-transport tty2-mode

Function

The raw-transport tty2-mode command configures the working mode of the TTY2.

By default, the working mode of the TTY2 is RS485.

Format

raw-transport tty2-mode mode

Parameters

Parameter Description Value
mode Specifies the working mode of the TTY2. The value is a character string and can be:
  • RS485
  • RS422

Views

RAW service view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can set the working mode of the TTY2 to RS485 or RS422 using the raw-transport tty2-mode command. This command takes effect only for the TTY2.

Precautions

If the RAW service has been enabled, run the undo raw-transport enable command to disable the RAW service before running the raw-transport tty2-mode command. Otherwise, an error message is displayed.

Example

# Set the working mode of the TTY2 to RS422.

<Huawei> system-view
[Huawei] user-interface tty 2
[Huawei-ui-tty2] mode raw
[Huawei-ui-tty2] raw-transport tty2-mode rs422

socket-transport enable

Function

The socket-transport enable command switches the RS232 serial interface of a router from the management mode to the service mode.

The undo socket-transport enable command switches the RS232 serial interface of a router from the service mode back to the management mode.

By default, the RS232 serial interface is a management interface.

The 8AS interface board does not support the socket-transport enable command.

Format

socket-transport enable

undo socket-transport enable

Parameters

None

Views

TTY user interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the RS232 serial interface of a router functions as a management interface and users can perform configuration management using this interface. After the socket-transport enable command is run, the RS232 serial interface of a router is switched from a management interface to a service interface for transparent transmission through the serial interface. In this case, the local router can receive data of the remote device when interconnected with the remote device.

The RJ45 and RS485 serial interfaces are service interfaces, and the serial interface modes do not need to be switched.

Precautions

The RS232 serial interface cannot receive data from a management interface after being switched to a service interface. To switch a serial interface back to a management interface, run the undo socket-transport enable command. You need to log in to the router and be authenticated again after a switchover.

Only the TTY1 interface supports the socket-transport enable command.

Example

# Enable the function of transparent transmission through the serial interface.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] socket-transport enable
Info : RS232 has been changed to service mode.

undo parameter

Function

The undo parameter command deletes all RAW service configurations.

Format

undo parameter

Parameters

None

Views

RAW service view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To delete all RAW service configurations in the RAW service view, run the undo parameter command.

Prerequisites

The RAW service function has been disabled using the undo raw-transport enable command.

Example

# Delete all RAW service configurations.

<Huawei> system-view
[Huawei] user-interface tty 1
[Huawei-ui-tty1] mode raw
[Huawei-ui-tty1-raw] undo raw-transport enable
[Huawei-ui-tty1-raw] undo parameter