PREV NEXT INDEX

Avici Systems Inc.


history size


Sets the number of buffered command lines for this line.

Syntax: [terminal | no] history size num-lines

num_lines

The number of command lines to be stored in the history buffer. Valid values are 0 - 256.

Description: Use the history size command to configure the number of command lines stored in the history buffer. Use the command in Privileged command mode to set the history size for this session only. Use the command in Line configuration command mode to set the history for this and future sessions

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

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

Use the terminal no history size command to set the buffer to the default value of 10 lines for only this session.

Use the terminal history size 0 command to disable history for only this session. No command lines are stored.

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

Use the history size num-lines command to enable the storage and display of the last commands entered.

Use the no history size command to set the buffer to the default value of 10 lines.

Use the history size 0 command to disable history.

Factory Default: 10 lines.

Command Mode: Line configuration and privileged.

Example 1: In the following example:

router(config)#line console 0

router(config-line)#history size 75

router(config-line)#end

router(config)#end

router#show line



Line console 0

Length: 24 lines, Width: 80 columns

History is ENABLED, history size is 75.

Example 2: In the following example:

router#terminal no history size

router#show terminal

Length: 15 lines, Width: 80 columns

History is ENABLED, history size is 10.

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

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