![](/images/new-backgrounds/1192112/192112295x1.webp)
| 5: Commands and Levels |
|
|
show line | Displays the current configuration. |
show statistics | Shows the line statistics. |
state disable | Disables the line so data cannot be sent/received. |
state enable | Enables the line so data can be sent/received. |
stop bits 1 | Uses one stop bit after data on the line. |
stop bits 2 | Uses two stop bits after data on the line. |
terminal <line> | Enters the |
| <line> = number of the terminal line (serial port) to be con- |
| figured. |
terminal network | Enters the |
termination disable | Refrains from terminating the line. |
termination enable | Enables 120 ohm line termination in RS485 |
| mode. |
threshold <bytes> | Sets the threshold in bytes. After this many bytes are re- |
| ceived, they are |
| forwarded without delay. |
tunnel <line> | Enters the tunnel level. |
| <line> = number of the tunnel line (serial port) to be confi- |
| gured. |
write | Stores the current configuration in permanent memory. |
xoff char <control> | Sets the xoff character for use with software flow control |
| on this line. |
| The character may be input as text, control, decimal, or |
| hex. |
| A control character has the form <control>C. |
| A decimal value character has the form \99. |
| A hex value character has the form 0xFF. |
xon char <control> | Sets the xon character for use with software flow control |
| on this line. |
| The character may be input as text, control, decimal, or |
| hex. |
| A control character has the form <control>C. |
| A decimal value character has the form \99. |
| A hex value character has the form 0xFF. |
line 2 (line:2) level commands |
|
auto show statistics | Continuously displays line statistics. |
baud rate <bits per second> | Sets the line speed. |
| <bits per second> = the speed. |
| Standard speeds include 1200, 2400, 4800, 9600, 19200, |
| and so on. |
clear line counters | Sets the serial counters to zero. |
clrscrn | Clears the screen. |
command mode always | Sets the current line to always be in command mode. |
command mode echo serial string disable | Disables |
| the CLI. |
command mode echo serial string enable | Enables |
| CLI. |
command mode serial string | Enables user to enter a custom string at boot time to enter |
| command mode. |
command mode serial string <string> | Sets a string that can be entered at boot time to enter |
| command mode. |
| <string> = text with possible binary characters. |
| Within [] use binary decimal up to 255 or hex up to 0xFF. |
| Within {} specify decimal milliseconds time delay. |
command mode signon message <string> | Sets a |
PremierWave XN Command Reference | 148 |