xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
111
upload cfg_toTFTP
dest_file
- The pathname specifies the DOS pathname on the TFTP server. It can be a
relative pathname or an absolute pathname.
config_id
- Specifies the configuration file ID. If configuration ID 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-3450:admin# upload cfg_toTFTP 10.48.74.121 dest_file c:\cfg\DGS-XXXXS\cfg
Command: upload cfg_toTFTP 10.48.74.121 dest_file c:\cfg\DGS-XXXXS\cfg
Connecting to server... Done.
Upload Configuration... Done.
DGS-3450:admin#
In case that the designated file does not exist:
DGS-3450:admin# upload cfg_toTFTP 10.48.74.121 dest_file c:\cfg\DGS-XXXXS\cfg
Command: upload cfg_toTFTP 10.48.74.121 dest_file c:\cfg\DGS-XXXXS\cfg
The designated file does not exist.
Abort.
DGS-3450: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 current_config [current_config {[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_in_nvram <config_id 1-2> { [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>}}}}}|
information]
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.