
User Access Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A AlliedWare Plus
TM
Operating System - Version 5.4.4C 5.13
line
Use this command to enter line configuration mode for the specified VTYs or the console.
The command prompt changes to show that the switch is in Line Configuration mode.
Syntax line vty <first-line> [<last-line>]
line console 0
Mode Global Configuration
Usage In Line Configuration mode, you can configure console and virtual terminal settings,
including setting speed (asyn), length (asyn), privilege level, and authentication (login
authentication) or accounting (accounting login) method lists.
To change the console (asyn) port speed, use this line command to enter Line
Configuration mode before using the speed (asyn) command on page 8.64. Set the
console speed (Baud rate) to match the transmission rate of the device connected to the
console (asyn) port on your switch.
Note that line configuration commands do not take effect immediately. Line configuration
commands take effect after one of the following commands or events:
■ issuing a clear line console command
■ issuing a reboot command
■ logging out of the current session
Examples To enter Line Configuration mode in order to configure all VTYs, use the commands:
To enter Line Configuration mode to configure the console (asyn 0) port terminal line, use
the commands:
Parameter Description
<first-line> <0-32> Specify the first line number.
<last-line> <0-32> Specify the last line number.
console The console terminal line(s) for local access.
vty Virtual terminal for remote console access.
awplus#
configure terminal
awplus(config)#
line vty 0 32
awplus(config-line)#
awplus#
configure terminal
awplus(config)#
line console 0
awplus(config-line)#
Komentáře k této Příručce