Fujitsu P3NK-4452-01ENZD Computer Hardware User Manual


 
XG Series User's Guide Chapter 2 Using the CLI
Using the CLI
48
To disable the configuration hierarchy function: Press CTRL + G.
The following message is displayed and the configuration hierarchy function is disabled. Information which has been
partially entered will be discarded.
A command execution example is shown below.
z Command
2.2.1.8 Time of command execution display function
The time of command execution display function allows you to display the time when the execution of a command starts.
This function is useful when a command execution log is being recorded during operations.
To enable the time of command execution display function, use the terminal timestamp command.
Although you can check command execution time with the show logging command, execution time is only displayed for
commands recorded in the command execution history. You can also use the terminal prompt command to display the date
and time in the prompt string However, this is not the time when a command was executed but the time when the prompt
was displayed.
2.2.1.9 Command history function
The command history function allows you to record command execution history and re-execute commands using this
history. You can also redisplay commands and replace commands in the history.
You can set the number of lines in the command history using a terminal logging command.
The following explains how to re-execute and redisplay commands.
You can use the history specifier and display specifier together with command character string replacement.
<NOTICE> The configuration directory mode is disabled.
# configure
(Change to configuration mode.)
(config)# lan 0 ip address 192.168.1.1/24 3 (Run configuration command.)
(config-lan-0-ip)# (Hierarchy level is displayed at the command prompt.)
(config-lan-0-ip)# show (Display configuration following the current level.)
address 192.168.1.1/24 3
service server
info address 192.168.1.100/24 32
(config-lan-0-ip)# save
(Enter the command name and run the command.)
(config-lan-0-ip)# top (Move to the top level.)
(config)#
Note
You can also press CTRL + P and CTRL + N to sequentially display the command history items, and re-execute or re-edit and
execute a displayed command.
Reference
"2.2.1.10 List of shell key bindings" (pg.52)