System information

15
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
System Services Commands
history
Displays the command history buffer for the current CLI session.
Syntax: history
Defaults: None
Access: All
Examples To show the history of your session, type the following command:
DWS-1008# history
Show History (most recent first)
------------------------------------------
[00] show config
[01] show version
[02] enable
set banner motd
Configures the banner string that is displayed before the beginning of each login prompt for
each CLI session on the switch.
Syntax: set banner motd ^text^
^ Delimiting character that begins and ends the message.
text Up to 2000 alphanumeric characters, including tabs and carriage returns, but not the
delimiting character (^). The maximum number of characters is approximately 24 lines
by 80 characters.
Defaults: None
Access: Enabled
Usage: Type a caret (^), then the message, then another caret. Do not use the following
characters with commands in which you set text to be displayed on the switch, such
as message-of-the-day (MOTD) banners:
• Ampersand (&) • Number sign (#) • Single quotation mark (‘)
• Question mark (?) • Angle brackets (< >) • Double quotation marks (“”)
Examples: To create a banner that says Meeting at 3 p.m., type the following command:
DWS-1008# set banner motd ^Update meeting at 3 p.m.^
success: change accepted.