DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
58
Example usage:
To view the current configuration settings:
DES-1228/ME:4#show config current_config
Command: show config current_config
-------------------------------------------------------------------
# DES-1228/ME Configuration
#
# Firmware: Build 1.00.B04
# Copyright(C) 2009 D-Link Corporation. All rights reserved.
#-------------------------------------------------------------------
# BASIC
config serial_port baud_rate 9600 auto_logout never
# ACCOUNT LIST
# ACCOUNT END
# PASSWORD ENCRYPTION
disable password encryption
config terminal_line default
enable clipaging
# STORM
CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All
upload
Purpose
Used to upload the current switch settings or the switch history log to a TFTP.
Syntax
upload [ cfg_toTFTP <ipaddr> <path_filename 64> {config_id <value 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>}}}}} |
log_toTFTP <ipaddr> <path_filename 64>]
Description
This command is used to upload either the Switch’s current settings or the Switch’s history
log to a TFTP server.
Parameters
cfg_toTFTP
−
Specifies that the Switch’s current settings will be uploaded to the TFTP
server.
log_toTFTP
−
Specifies that the switch history log will be uploaded to the TFTP server.
<ipaddr>
−
The IP address of the TFTP server. The TFTP server must be on the same IP
subnet as the Switch.
<path_filename 64>
−
Specifies the location of the Switch configuration file on the TFTP
server. This file will be replaced by the uploaded file from the Switch.
Restrictions
Only Administrator-level users can issue this command.