Cisco Systems 78-11424-03 manual Changing the CLI Prompt, Modifying the History Buffer

Models: 78-11424-03

1 50
Download 50 pages 2.4 Kb
Page 7
Image 7
Changing the CLI Prompt

Chapter 2 Configuring User Profiles and CSS Parameters

Configuring User Profiles

Changing the CLI Prompt

The CLI default prompt displays as the product model number followed by the

#symbol. The CSS adds a # sign to the prompt automatically to indicate SuperUser mode. To change the default prompt, enter the prompt command as shown in the following example (maximum of 15 alphanumeric characters):

CSS11800# prompt CSS1-lab

CSS1-lab#

To save the new prompt, add it to user or default profiles. To restore the prompt to its default, use the no prompt command.

Modifying the History Buffer

Use the history command to modify the history buffer length. The command line history buffer stores the most recent CLI commands that you enter. Enter the number of lines you want in the history buffer as an integer from 0 to 256. The default is 20. This command is available in SuperUser mode.

To set the history buffer to 80 lines, enter:

#history length 80

To disable the history function (setting of 0), enter:

#history length 0

To restore the history buffer to the default of 20 lines, enter:

#no history length

Displaying the History Buffer

Use the show history command to display the history buffer. The history buffer is cleared automatically upon reboot.

 

 

Cisco Content Services Switch Basic Configuration Guide

 

 

 

 

 

 

78-11424-03

 

 

2-7

 

 

 

Page 7
Image 7
Cisco Systems 78-11424-03 manual Changing the CLI Prompt, Modifying the History Buffer, Displaying the History Buffer