D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
174
20
CONFIGURATION COMMANDS
Configuration function is used to conserve several configuration files in switch. With configuration function, user could
conserve several same configurations in switch, one for currently use, other for back up, and user could conserve several
different configurations in switch for different condition use.
The Configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameters
download cfg_fromTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] src_file <path_filename 64>
{[increment | dest_file {<drive_id>} <pathname 64>]}
upload cfg_toTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] dest_file <path_filename 64>
{src_file {<drive_id>} <pathname 64>} { [include | exclude | begin] <filter_string
80> {<filter_string 80> {<filter_string 80>} } { [include | exclude | begin ]
<filter_string 80> {<filter_string 80> {<filter_string 80>} } { [include | exclude |
begin ] <filter_string 80> {<filter_string 80> {<filter_string 80>}}}}}
show config [active | boot_up | {<drive_id>} <pathname 64>] { [include | exclude | begin]
<filter_string 80> {<filter_string 80> {<filter_string 80>} } { [include | exclude |
begin ] <filter_string 80> {<filter_string 80> {<filter_string 80>} } { [include |
exclude | begin ] <filter_string 80> {<filter_string 80> {<filter_string 80>}}}}}
config configuration {<drive_id>} <pathename 64> {delete | boot_up | active}
save config {<drive_id>} <pathname 64>
Each command is listed, in detail, in the following sections.
download cfg_fromTFTP
Purpose Used to down load a switch configuration file from TFTP server
Syntax
download cfg_fromTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] src_file
<path_filename 64> {[increment | dest_file {<drive_id>} <pathname 64>]}
Description This command is used to download a config file from a TFTP server. For projects that
support file system, the stored file name must be specified, for projects that support multiple
configurations, the configuration ID can be specified. If the configuration ID is not specified,
the boot up configuration is implied.
Parameters
ipaddr - The IPv4 address of the TFTP server.
ipv6addr - The IPv6 address of the TFTP server.
domain_name - The domain name of the host.
src_file - The pathname specifies the DOS pathname on the TFTP server. It can be a relative
pathname or an absolute pathname.
dest_file - The pathname specifies an absolute pathname on the device. If pathname is not
specified, it refers to the boot up configuration file.
<drive_id> - Specify the drive ID here.
increment - If increment is specified, then the existing configuration will not be cleared before
applying of the new configuration. If it is not specified, then the existing configuration will be
cleared before applying of the new configuration.
Restrictions Only Administrator and Operator-level users can issue this command.