Page 681 / 757 Scroll up to view Page 676 - 680
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
677
DGS-3627:admin# clear attack_log
Command: clear attack_log
Success.
DGS-3627:admin#
upload attack_log_toTFTP
Purpose
Used to upload the attack log on a unit.
Syntax
upload attack_log_toTFTP [<ipaddr> | <ipv6addr> |<domain_name 255>] dest_file
<path_filename 64> {unit <unit_id 1-12>}
Description
To upload the attack log stored on a unit.
When the attack log is empty, the prompt message, “Log is empty,” will be displayed.
Parameters
unit
- The attack log messages on the specified unit will be uploaded to the TFTP server. If
specified, this unit will be referred to as the master unit.
<ipaddr>
- The IPv4 address of the TFTP server.
<ipv6addr>
- The IPv6 address of the TFTP server.
<domain_name 255>
- The domain name of the TFTP server.
dest_file
– The destination file name.
<path_filename 64>
- Specifies the path name on the TFTP server to hold the attack log.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To upload the master’s dangerous log:
DGS-3627:admin# upload attack_log_toTFTP 10.90.90.1 dest_file c:\alert.txt
Command: upload attack_log_toTFTP 10.90.90.1 dest_file c:\alert.txt
Success.
DGS-3627:admin#
upload attack_log_toRCP
Purpose
Used to upload the attack log file from the device to an RCP server.
Syntax
upload attack_log_toRCP [{username <username 15>} {<ipaddr>} dest_file
<path_filename 64> | rcp: <string 128> ] {unit <unit_id 1-12>}
Description
This command is used to upload the attack log file from the device to an RCP server.
Parameters
username
- The remote user name on the RCP Server.
<ipaddr>
- The IPv4 address of the RCP server.
path_filename
- The pathname specifies the pathname on the RCP server or local device.
Note:
If a user specifies the relative file path, the path search strategy will depend on the
server system. For some systems, it will search the current user working directory first, and
then search the environment paths.
dest_file
– Specify the destination file here.
rcp: <string 128>
- Syntax: rcp: username@ipaddr/directory/filename
Example for FULL path: [email protected]/home/user_name/desxxxx.had
Example for relative path: [email protected]./desxxxx.had
Page 682 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
678
upload attack_log_toRCP
Note:
Do not use any blank spaces in the <string>.
unitid
- The attack log messages on the specified unit will be uploaded to the RCP server. If
specified, this unit will be referred to as the master unit.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To upload the attack log from the device to an RCP server:
DGS-3627:admin#
upload attack_log_toRCP username rcp_user 172.18.212.104 /home/DGS-
XXXX.log unit 2
Command: upload attack_log_toRCP username rcp_user 172.18.212.104 /home/DGS-XXXX.log unit
2
Connecting to server
..........
Done.
Upload Attack log
.............
Done.
DGS-3627:admin#
config system_severity
Purpose
This command is used to configure the severity level control for the system.
Syntax
config system_severity [trap | log | all] [emergency | alert | critical | error | warning |
notice | information | debug | <level 0-7>]
Description
When the user chooses a specific level to log or trap, messages at that severity level or more
will be logged or trapped to SNMP managers.
Parameters
trap
- Specifies the severity level control for traps.
log
- Specifies the severity level control for the log.
all
- Specifies the severity level control for traps and the log.
emergency
- Severity level 0.
alert
- Severity level 1.
critical
- Severity level 2.
error
- Severity level 3.
warning
- Severity level 4.
notice
- Severity level 5.
information
- Severity level 6.
debug
- Severity level 7.
<
level 0-7
> - Enter the severity level here. This value must be between 0 and 7.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure severity level control as information level for trap:
Page 683 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
679
DGS-3627:admin# config system_severity trap information
Command: config system_severity trap information
Success.
DGS-3627:admin#
show system_severity
Purpose
This command is used to display the severity level controls for the system.
Syntax
show system_severity
Description
This command is used to display the severity level controls for the system.
Parameters
None.
Restrictions
None.
Example usage:
To show severity level control for system:
DGS-3627:admin# show system_severity
Command: show system_severity
System Severity Trap : warning
System Severity Log
: information
DGS-3627:admin#
Page 684 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
680
92
TECHNICAL SUPPORT COMMANDS
The Technical Support commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
show tech_support
upload tech_support_toTFTP
<ipaddr> <path_filename 64>
Each command is listed, in detail, in the following sections.
show tech_support
Purpose
Used to show the information of technique’s support.
Syntax
show tech_support
Description
This command is especially used by the technical support personnel to dump the device
overall operation information. The information is project dependent and includes the following
information.
Basic System information
system log
Running configuration
Layer 1 information
Layer 2 information
Layer 3 information
Application
OS status
Controller’s status
This command can be interrupted by Ctrl - C or ESC when it is executing.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To show the information of technique’s support:
Page 685 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
681
DGS-3627:admin# show tech_support
Command: show tech_support
#-------------------------------------------------------------------------------
#
DGS-3627 Gigabit Ethernet Switch
#
Technical Support Information
#
#
Firmware: Build 2.80.B31
#
Copyright(C) 2010
D-Link Corporation. All rights reserved.
#-------------------------------------------------------------------------------
********************
Basic System Information
********************
[SYS 2010-1-1 08:59:20]
Boot Time
: 8 Sep 2010
08:54:00
RTC Time
: 2010/09/08 08:59:20
Boot PROM Version : Build 1.10-B09
Firmware Version : Build 2.80.B31
Hardware Version : 0A2G
MAC Address : 00-01-02-03-04-05
MAC Address Number
: 256
upload tech_support_toTFTP
Purpose
Used to upload the information of technique’s support.
Syntax
upload tech_support_toTFTP <ipaddr> <path_filename 64>
Description
The upload tech_support_toTFTP command is used to upload the information of technique’s
support to TFTP server. The information is project dependent and includes the following
information.
Basic System information
system log
Running configuration
Layer 1 information
Layer 2 information
Layer 3 information
Application
OS status
Controller’s status
This command can be interrupted by Ctrl - C or ESC when it is executing.
Parameters
ipaddr
- Specifies the IP address of TFTP server.
path_filename
- Specifies the file name to store the information of technique’s support in
TFTP server. The max size of the file name is 64.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To upload the information of technique’s support:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top