PREV NEXT INDEX

Avici Systems Inc.


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:

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.

Table 1-1. Commands Available in Line Configuration Command Mode 
Command Description

exec-timeout

Session logs out if there is no command line activity for the length of time set by this command on virtual (vty) sessions.

history

Enables command line history.

history size

Shows default number set for number of history items.

ip netmask-format

Sets the netmask format for the show command.

length

Sets the number of lines on the terminal screen.

password

Sets this password for logging in through this line.

privilege [0 | 1]

Allows you to set the command mode in which the terminal starts at logon.

width

Sets terminal width for this line.

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,

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


PREV NEXT INDEX

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

Please email suggestions and comments to: doc@avici.com