5: Commands and Levels

 

 

parity none

Does not use a parity bit on the line.

parity odd

Uses a parity bit on the line for odd parity.

protocol none

Uses no protocol on the line.

protocol tunnel

Applies tunnel protocol on the line.

reassert

Asserts line status with current configured values.

show

Displays the current status.

show command mode

Shows the command mode settings for the current line.

show history

Displays the last 20 commands entered during the current CLI

 

session.

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 configure-terminal level.

 

<line> = number of the terminal line (serial port) to be configured.

terminal network

Enters the configure-terminal level for the network.

termination disable

Refrains from terminating the line.

termination enable

Enables 120 ohm line termination in RS485 half-duplex mode.

threshold <bytes>

Sets the threshold in bytes. After this many bytes are received,

 

they are

 

forwarded without delay.

tunnel <line>

Enters the tunnel level.

 

<line> = number of the tunnel line (serial port) to be configured.

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 user-defined serial boot string to be echoed in the CLI.

command mode echo serial string enable

Enables user-defined serial boot string to be echoed in the CLI.

PremierWave EN Command Reference

185

Page 185
Image 185
Lantronix 900-581 manual Line 2 line2 level commands