D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
176
upload cfg_toTFTP
<drive_id> - Specify the drive ID here.
src_file - The pathname specifies an absolute pathname on the device file system. If
pathname is not specified, it refers to the boot up configuration file.
filter_string - A filter string is enclosed by symbol ". Thus, the filter string itself cannot contain
the “character. The filter string is case sensitive.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To upload the boot up configuration file to TFTP server and save as “cfg”:
DGS-3627:admin# upload cfg_toTFTP 10.48.74.121 dest_file c:\cfg\DGS-3627S\cfg
Command: upload cfg_toTFTP 10.48.74.121 dest_file c:\cfg\DGS-3627S\cfg
Connecting to server... Done.
Upload Configuration... Done.
DGS-3627:admin#
In case that the designated file does not exist:
DGS-3627:admin# upload cfg_toTFTP 10.48.74.121 dest_file c:\cfg\DGS-3627S\cfg
Command: upload cfg_toTFTP 10.48.74.121 dest_file c:\cfg\DGS-3627S\cfg
The designated file does not exist.
Abort.
DGS-3627:admin#
show config
Purpose Display the content of the current configuration, the configuration to be used in next boot, or
the configuration file specified by the command.
Syntax
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>}}}}}
Description Display the content of the current configuration, the configuration to be used in next boot, or
the configuration file specified by the command.
The output stream of the configuration data can be filtered by the expression specified at the
end of the command. The expression can contain up to three multiple filter evaluations. A
filter evaluation begins with a filter type (include, exclude, and begin), followed by up to three
filter strings (ex: “stp”). A filter string is enclosed by symbol ". The following describes the
meaning of the each filter type.
include: includes lines that contain the specified filter string.
exclude: excludes lines that contain the specified filter string
begin: The first line that contains the specified filter string will be the first line of the output.
The relationship of multiple filter strings following the same filter type is OR. That is, one line
is qualified if one of specified filter strings is matched.
If more than one filter evaluation is specified; the output of filtered by the former evaluation
will be used as the input of the latter evaluation.