Configuration Logging; How To Use The Cli To Configure Features; Configuring The Command History; Changing The Command History Buffer Size - Cisco IE-4000 Software Configuration Manual

Industrial ethernet switch
Hide thumbs Also See for IE-4000:
Table of Contents

Advertisement

Using the Command-Line Interface

How to Use the CLI to Configure Features

Table 3
Common CLI Error Messages
Error Message
% Ambiguous command:
"show con"
% Incomplete command.
% Invalid input detected
at '^' marker.

Configuration Logging

You can log and view changes to the switch configuration. You can use the Configuration Change Logging and
Notification feature to track changes on a per-session and per-user basis. The logger tracks each configuration
command that is applied, the user who entered the command, the time that the command was entered, and the parser
return code for the command. This feature includes a mechanism for asynchronous notification to registered applications
whenever the configuration changes. You can choose to have the notifications sent to the syslog.
Note:
Only CLI or HTTP changes are logged.
How to Use the CLI to Configure Features

Configuring the Command History

The software provides a history or record of commands that you have entered. The command history feature is
particularly useful for recalling long or complex commands or entries, including access lists. You can customize this
feature to suit your needs as described in these sections:
Changing the Command History Buffer Size, page 12
Recalling Commands, page 13
Disabling the Command History Feature, page 13

Changing the Command History Buffer Size

By default, the switch records ten command lines in its history buffer. You can alter this number for a current terminal
session or for all sessions on a particular line. These procedures are optional.
Beginning in privileged EXEC mode, enter this command to change the number of command lines that the switch records
during the current terminal session:
Switch# terminal history
Meaning
You did not enter enough characters
for your switch to recognize the
command.
You did not enter all the keywords or
values required by this command.
You entered the command
incorrectly. The caret (^) marks the
point of the error.
(optional)
[
size number-of-lines
How to Get Help
Reenter the command followed by a question mark (?)
with a space between the command and the question
mark.
The possible keywords that you can enter with the
command appear.
Reenter the command followed by a question mark (?)
with a space between the command and the question
mark.
The possible keywords that you can enter with the
command appear.
Enter a question mark (?) to display all the commands
that are available in this command mode.
The possible keywords that you can enter with the
command appear.
(optional)
(optional)
]
12

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie-5000Ie-4010

Table of Contents