PREV NEXT INDEX

Avici Systems Inc.


history


Enables/disables command line history for this line.

Syntax: [terminal | no] history

terminal

Sets the command line history for this session only. The setting is not saved in the running-configuration file.

Description: Command line history allows the user to view command lines entered during this session. Use the command in Privileged command mode to enable/disable history for this session only. Use the command in Line configuration command mode to enable/disable history for this and future sessions

NOTE The number of command lines that are accessible is set by the history size command.

In Privileged command mode: use the terminal keyword to enable/disable history for only this session. The setting is not saved when the session ends.

Use the terminal history command to enable the storage and display of the last commands entered for only this session.

Use the terminal no history command to disable the storage and display of commands for only this session.

In Line configuration command mode: omit the terminal keyword. The setting is saved for future sessions.

Use the history command to enable the storage and display of the the last commands entered.

Use the no history command to disable the storage and display of commands.

Factory Default: Enabled.

Command Mode: Line configuration and privileged.

Example 1: 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)#history

router(config-line)#end

router#show line

Length: 15 lines, Width: 80 columns

History is ENABLED, history size is 10.

Example 2: In the following example:

router#terminal no history

router#show terminal

Length: 15 lines, Width: 80 columns

History is DISABLED.

Related Commands: history size
line
show history
show line
show terminal


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: navigation10.html
    Last Updated: 02/25/05 at 14:25:22

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