
line
Changes the command mode to Line configuration mode.
Syntax: line {vty value | console value}
vty value
The value is always 0 4.
There is always a space between the 0 and 4.
The line changes are effective at the next logon.
console value
The value is always 0.
The line changes are effective immediately and at the next login.
Description: The line command changes the command mode to Line configuration command mode.
Virtual terminal sessions may only be configured as one unit. Configuration changes are effective immediately for "like-kind" configurations. Two examples of "like-kind" configurations:
- Configure the console 0 characteristics from the console session.
- Configure vty 0 4 changes from (any) a telnet session.
For non "like-kind" configurations, the effect is delayed until the next logon. If configuration of console 0 is made from a telnet session those changes are applied to the next console session.
Changes made in Line configuration command mode persist across sessions. Changes made with the terminal commands (terminal length and terminal width) last for the current session only.
Factory Default: None.
Command Mode: Configuration.
Example 1: In the following example, the line command changes the command mode from Configuration to Line Configuration:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#line vty 0 4
router(config-line)#
Example 2: In the following example,
- The line console command specifies a console line 0 and changes the command mode to Line Configuration.
- The ? command lists the commands available in Line Configuration command mode:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#line console 0
router(config-line)#?
exit Exit from line configuration mode
help Description of the interactive help system
history Set terminal history buffer size
ip Set IP netmask format
length Number of lines on the display screen (0 defeats screen pause)
login Enable login facility on this line
no Negate a command or set its defaults
password Set a password
privilege Change privilege level for line
width Number of columns on the display screen (0 use default of 80)
router(config-line)#
Related Commands: exec-timeout
history
history size
ip netmask-format
length
password
privilege level
show line
width
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: navigation.fm
HTML File Name: navigation14.html
Last Updated: 02/25/05 at 14:25:22