Configuring common AUX line settings

Some common settings configured for an AUX line take effect immediately and can interrupt the current session. Use a login method different from console login to log in to the device before you change AUX line settings.

To log in through the console port after the configuration is completed, change the terminal settings on the configuration terminal to match the console port settings on the device.

To configure common settings for an AUX line:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter AUX line view or class view.

  • To enter AUX line view: line aux first-number [ last-number ]

  • To enter AUX line class view:line class aux

Use either command.

A setting in user line view is applied only to the user line. A setting in user line class view is applied to all user lines of the class.

A non-default setting in either view takes precedence over a default setting in the other view. A non-default setting in user line view takes precedence over a non-default setting in user line class view.

A setting in user line view takes effect immediately and affects the online user. A setting in user line class view does not affect online users and takes effect only for users who log in after the configuration is completed.

3. Set the baud rate.

speed speed-value

By default, the baud rate is 9600 bps.

This command is not available in AUX line class view.

4. Specify the parity check mode.

parity { even | mark | none | odd | space }

By default, the parity check mode is none, and no parity check is performed.

This command is not available in AUX line class view.

5. Specify the number of stop bits.

stopbits { 1 | 1.5 | 2 }

The default is 1.

Stop bits indicate the end of a character. The more the stop bits, the slower the transmission.

This command is not available in AUX line class view.

6. Specify the number of data bits for each character.

databits { 5 | 6 | 7 | 8 }

The default is 8.

The setting depends on the character coding type. For example, you can set it to 7 if standard ASCII characters are to be sent, and set it to 8 if extended ASCII characters are to be sent.

This command is not available in AUX line class view.

7. Define a shortcut key for starting a terminal session.

activation-key character

By default, pressing Enter starts the terminal session.

8. Define a shortcut key for terminating tasks.

escape-key { character | default }

By default, pressing Ctrl+C terminates a task.

9. Configure the flow control mode.

flow-control { hardware | none | software }

By default, the flow control mode is none.

This command is not available in AUX line class view.

10. Specify the terminal display type.

terminal type { ansi | vt100 }

By default, the terminal display type is ANSI.

The device supports ANSI and VT100 terminal display types. As a best practice, set the display type to VT100 on both the device and the configuration terminal. If either side uses the ANSI type, a display problem such as cursor positioning error might occur when a command line has more than 80 characters.

11. Set the maximum number of lines to be displayed on a screen.

screen-length screen-length

By default, a screen displays 24 lines at most.

A value of 0 disables pausing between screens of output.

12. Set the size of the command history buffer.

history-command max-size value

By default, the buffer saves 10 history commands at most.

13. Set the CLI connection idle-timeout timer.

idle-timeout minutes [ seconds ]

By default, the CLI connection idle-timeout timer is 10 minutes.

If no interaction occurs between the device and the user within the idle-timeout interval, the system automatically terminates the user connection on the user line.

If you set the timeout timer to 0, the connection will not be aged out.