XG Series User's Guide Chapter 5 Command Reference
Mode and Terminal Operation Commands
342
If the host name is not set, the model name will be displayed instead.
The following shows the standard prompts of "\p" and "\$".
Caution This command is an operation command; however, the contents specified in the admin
class can be saved as the configuration by executing the "save" command. This
command setting can be deleted using the "delete" command in the configuration mode.
The contents set in the user class are discarded at logout or execution of the "admin"
command, and they cannot be saved.
Default It is assumed that the following is set.
Execution Example
5.17.2.5 terminal timestamp
Function Set the command execution date and time display function.
Available Model XG0224 / XG0448 / XG2600
Syntax terminal timestamp {enable|disable}
Options
enable
Display the date and time when command is executed.
disable
Do not display the date and time when command is executed.
Use Mode Operation mode (user class/admin class)
Configuration mode (admin class)
Explanation Specify whether or not to display the date and time on which execute the command.
Caution This command is an operation command; however, the contents specified in the admin
class can be saved as the configuration by executing the "save" command. This
command setting can be deleted using the "delete" command in the configuration mode.
The contents set in the user class are discarded at logout or execution of the "admin"
command, and they cannot be saved.
Default It is assumed that the date and time is not displayed when the command is executed.
State Standard prompt
Before login :
When user login >
When administrator
login
#
terminal prompt login "Login: "
terminal prompt user "\h \c\w\p"
terminal prompt admin "\h \c\w\p"
# terminal prompt login "Welcome: "
# terminal prompt user "[\!]\h\w\p"
# terminal prompt admin "\h bank/\C\w\p"
#
terminal timestamp disable