AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
168
NXA-ENET24 - Software Management Guide
Line Commands (Cont.)
Command Function
parity
This command defines
the generation of a
parity bit.
Use the no form to
restore the default
setting.
Syntax:
parity {none | even | odd}
no parity
none - No parity
even - Even parity
odd - Odd parity
Default Setting: No parity
Command Mode: Line Configuration
Command Usage: Communication protocols provided by devices such as terminals
and modems often require a specific parity bit setting.
Example: To specify no parity, enter this command:
Console(config-line)#parity none
Console(config-line)#
Note: This command applies only to the serial port.
speed
This command sets
the terminal line’s
baud rate. This
command sets both
the transmit (to
terminal) and receive
(from terminal)
speeds.
Use the no form to
restore the default set-
ting.
Syntax:
speed bps
no speed
bps - Baud rate in bits per second.
(Options: 9600, 19200, 38400, 57600, 115200 bps)
Default Setting: 9600
Command Mode: Line Configuration
Command Usage: Set the speed to match the baud rate of the device connected to
the serial port. Some baud rates available on devices connected to the port might not
be supported. The system indicates if the speed you selected is not supported.
Example: To specify 57600 bps, enter this command:
Console(config-line)#speed 57600
Console(config-line)#
stopbits
This command sets
the number of the stop
bits transmitted per
byte.
Use the no form to
restore the default set-
ting.
Syntax:
stopbits {1 | 2}
1 - One stop bit
2 - Two stop bits
Default Setting: 1 stop bit
Command Mode: Line Configuration
Example: To specify 2 stop bits, enter this command:
Console(config-line)#stopbits 2
Console(config-line)#
Note: This command applies only to the serial port.
disconnect
This command
terminates an SSH,
Telnet, or console
connection.
Syntax:
disconnect session-id
session-id – The session identifier for an SSH, Telnet or console connection.
(Range: 0-4)
Command Mode: Privileged Exec
Command Usage: Specifying session identifier “0” will disconnect the console con-
nection. Specifying any other identifiers for an active session will disconnect an SSH
or Telnet connection.
Example:
Console#disconnect 1
Console#