UMN:CLI
User Manual
V8102
62
To save the command history in non-volatile memory, use the following command.
Command
Mode
Description
history
non-volatile
[<10-2000>]
Global
Saves a command history.
10-2000: history recording max. count (default:2000)
history non-volatile sdcard
{
cli
|
snmp
}
Enables the system to store CLI/SNMP log history in a
local SD card.
To delete the non-volatile command history, use the following command.
Command
Mode
Description
no
history non-volatile
Global
Deletes the command history.
no history non-volatile sdcard
{
cli
|
snmp
}
Disables the system to store CLI/SNMP log history in a
local SD card.
remove history user NAME
Deletes the command history of specified user.
NAME: user name
clear history non-volatile
Enable
Global
Clears the command history recorded in memory.
clear history non-volatile sdcard
{
cli
|
snmp
}
Clears all CLI/SNMP log history stored in a local SD
card.
To display the command history, use the following command.
Command
Mode
Description
show
history
Enable
Shows a command history.
show cli history list
Shows a command hisroty list.
show
history non-volatile
[<1-
2000>]
Enable
Global
Shows a command history.
non-volatile: reserves the command history.
1-2000: line number to be displayed
show
history non-volatile user
NAME
[<1-2000>]
Shows the command history of specified user.
NAME: user name
1-2000: line number to be displayed
show
history non-volatile tail
[<1-2000>]
shows the command history of last lines..
1-2000: line number to be displayed
show config-list file FILE
Shows the configured content file saved. .
FILE: file name
show
history
non-volatile
sdcard
{
cli
|
snmp
}
Shows the recent CLI/SNMP log files stored in a local
SD card.
show
history
non-volatile
sdcard
{
cli
|
snmp
} {
FILENAME
|
file-list
}
Shows the specified CLI/SNMP log files stored in a
local SD card.
To enable/disable the command history logging, use the following command.
Command
Mode
Description
command-history-log
enable
Enable
Enables the command history logging.