Page 21 / 757 Scroll up to view Page 16 - 20
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
17
save
Purpose
Used to save changes in the Switch’s configuration to non-volatile RAM.
Syntax
save {[config {<drive_id>} <pathname 64> | log | all]}
Description
This command is used to enter the current switch configuration or log file into non-volatile
RAM. The saved switch configuration will be loaded into the Switch’s memory each time the
Switch is restarted.
Parameters
config <drive_id>
– Specify to save current settings to the Flash memory of the switch.
<drive_id>
– Specify the ID of the drive where the log or configuration file will be placed.
<pathname 64>
– Enter a name of up to 64 characters to define the file to be saved on the
flash drive.
log
– Specify to save current Switch log to NV-RAM.
all
– Use to save the configuration and log file to NV-RAM.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To save the Switch’s current configuration to non-volatile RAM:
DGS-3627:admin# save
Command: save
Saving all configurations to NV-RAM...
Done.
DGS-3627:admin#
reboot
Purpose
Used to restart the Switch.
Syntax
reboot {<string>}
Description
This command is used to restart the Switch.
Parameters
None.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To restart the Switch:
DGS-3627:admin# reboot
Command: reboot
Are you sure want to proceed with the system reboot? (y|n) y
Please wait, the switch is rebooting...
Page 22 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
18
reset
Purpose
Used to reset the Switch to the factory default settings.
Syntax
reset {[config |system]} {<string>}
Description
This command is used to restore the Switch’s configuration to the default settings assigned
from the factory.
Parameters
config
If the keyword ‘config’ is specified, all of the factory default settings are restored on
the Switch including the IP address, user accounts, and the switch history log. The Switch will
not save or reboot.
system
If the keyword ‘system’ is specified all of the factory default settings are restored on
the Switch. The Switch will save and reboot after the settings are changed to default.
Rebooting will clear all entries in the Forwarding Data Base.
If no parameter is specified, the Switch’s current IP address, user accounts, and the switch
history log are not changed. All other parameters are restored to the factory default settings.
The Switch will not save or reboot.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To restore all of the Switch’s parameters to its default values:
DGS-3627:admin# reset config
Command: reset config
Are you sure to proceed with system reset?(y/n) y
Success.
DGS-3627:admin#
login
Purpose
Used to log in a user to the Switch’s console.
Syntax
login
Description
This command is used to initiate the login procedure. The user will be prompted for a
Username and Password.
Parameters
None.
Restrictions
None.
Example usage:
To initiate the login procedure:
DGS-3627:admin# login
Command: login
UserName:
Page 23 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
19
logout
Purpose
Used to log out a user from the Switch’s console.
Syntax
logout
Description
This command terminates the current user’s session on the Switch’s console.
Parameters
None.
Restrictions
None.
Example usage:
To terminate the current user’s console session:
DGS-3627:admin# logout
show device_status
Purpose
Used to display the current status of the hardware of the Switch.
Syntax
show device_status
Description
This command displays the current status of the power and fans on the system. In the fan
status display there are fans on the left of the switch, on the right, at the back and a CPU fan,
if the fans are working normally the display will read “OK” in the fan field. If any of the fans fail
the corresponding field will read ‘Fail’.
Parameters
None.
Restrictions
None.
Example usage:
To show the device status of the Switch:
DGS-3627:admin# show device_status
Command: show device_status
Unit
1:
Internal Power: Active
External Power: Fail
Left Fan
: OK
Right Fan
: OK
Back Fan
: OK
CPU Fan
: OK
CTRL+C ESC q
Quit
SPACE n
Next Page
p
Previous Page
r
Refresh
config command_prompt
Purpose
Used to configure the command prompt for the Command Line Interface.
Syntax
config command_prompt [<string 16> | username | default]
Description
This command is used to configure the command prompt for the CLI interface of the Switch. The
current command prompt consists of “product name + : + user level + product name” (ex. DGS-
3627:admin# ). The user may replace all parts of the command prompt, except the # by entering
a string of 16 alphanumerical characters with no spaces, or the user may enter the current login
Page 24 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
20
Example usage:
To configure the command prompt:
DGS-3627:admin# config command_prompt Tiberius
Command: config command_prompt Tiberius
Success.
Tiberius:admin#
config greeting_message
Purpose
Used to configure the greeting message or banner for the opening screen of the Command Line
Interface.
Syntax
config greeting_message {default}
Description
This command is used to configure the greeting message or login banner for the opening screen
of the CLI.
Parameters
default
– Adding this parameter will return the greeting command to its original factory default
configuration.
Restrictions
The
reset
command will not alter the configured greeting message, yet the
reset system
command will return the greeting message to its original factory default setting.
The maximum character capacity for the greeting banned is 6 lines and 80 characters per line.
Entering Ctrl+W will save the current configured banner to the DRAM only. To save it into the
FLASH memory, the user must enter the save command.
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the greeting message:
username configured on the Switch.
Parameters
<string 16>
– Enter an alphanumeric string of no more than 16 characters to define the
command prompt for the CLI interface.
username
– Entering this parameter will replace the current CLI command prompt with the login
username configured on the Switch.
default
– Entering this parameter will return the command prompt to its original factory default
setting.
Restrictions
The
reset
command will not alter the configured command prompt, yet the
reset system
command will return the command prompt to its original factory default setting.
Only Administrator and Operator-level users can issue this command.
Page 25 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
21
DGS-3627:admin# config greeting_message
Command: config greeting_message
Greeting Messages Editor
===============================================================================
DGS-3627 Gigabit Ethernet Switch
Command Line Interface
Firmware: Build 2.80.B31
Copyright(C) 2010 D-Link Corporation. All rights reserved.
================================================================================
<Function Key>
<Control Key>
Ctrl+C
Quit without save
left/right/
Ctrl+W
Save and quit
up/down
Move cursor
Ctrl+D
Delete line
Ctrl+X
Erase all setting
Ctrl+L
Reload original setting
show greeting_message
Purpose
Used to view the currently configured greeting message configured on the Switch.
Syntax
show greeting_message
Description
This command is used to view the currently configured greeting message on the
Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To view the currently configured greeting message:
DGS-3627:admin# show greeting_message
Command: show greeting_message
================================================================================
DGS-3627 Gigabit Ethernet Switch
Command Line Interface
Firmware: Build 2.80.B31
Copyright(C) 2010 D-Link Corporation. All rights reserved.
================================================================================
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top