![D-Link xStack DGS-3400 Series Cli Manual Download Page 66](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433066.webp)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
62
D G S – 3 4 2 6 : 5 # u p l o a d a t t a c k _ l o g _ t o T F T P 1 0 . 5 3 . 1 3 . 2 3 c : \ a t t a c k l o g 1 u n i t 1
C o m m a n d : u p l o a d a t t a c k _ l o g _ t o T F T P 1 0 . 5 3 . 1 3 . 2 3 c : \ a t t a c k l o g 1 u n i t 1
C o n n e c t i n g t o s e r v e r . . . . . . . . . . . . . . . . D o n e .
U p l o a d a t t a c k l o g . . . . . . . . . . . . . . . . . . . D o n e .
D G S – 3 4 2 6 : 5 #
show attack_log
Purpose
Used to display the switch history of attack log files.
Syntax
show attack_log {unit <unit_id 1–12>} {index <value_list>}
Description
This command will display the contents of the attack log of the Switch. This log displays
the time and date of a possible attack on the switch, such as a spoofing attack.
Parameters
unit <unit_id 1–12> –
Select the switch in the switch stack for which to view attack log
files.
index <value list> –
This command will display the history log, beginning at 1 and ending
at the value specified by the user in the
<value_list>
field.
If no parameter is specified, all history log entries will be displayed.
Restrictions None.
Example usage:
To display the attack log
:
D G S – 3 4 2 6 : 5 # s h o w a t t a c k _ l o g i n d e x 1 – 2
C o m m a n d : s h o w a t t a c k _ l o g i n d e x 1 – 2
I n d e x D a t e T i m e L o g T e x t
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
2 2 0 0 6 – 0 4 – 2 5 1 2 : 3 8 : 0 0 P o s s i b l e s p o o f i n g a t t a c k f r o m 0 0 0 d 0 1 0 0 2 3 0 0 1 p o r t
1 : 2 3
1 2 0 0 6 – 0 4 – 2 5 1 2 : 3 7 : 4 2 P o s s i b l e s p o o f i n g a t t a c k f r o m 0 0 0 d 0 1 0 0 2 3 0 0 1 p o r t
1 : 2 3
D G S – 3 4 2 6 : 5 #
clear attack_log
Purpose
Used to clear the switch history of attack log files.
Syntax
clear attack_log {[unit <unit_id 1–12> | all]}
Description
This command will clear the contents of the attack log of the Switch.
Parameters
unit <unit_id 1–12> –
Select the switch in the switch stack for which to clear attack log
files.
all
– Entering this parameter will clear all attack log files in the switch stack.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear the attack log for all switches in the switch stack
:
D G S – 3 4 2 6 : 5 # c l e a r a t t a c k _ l o g a l l
C o m m a n d : c l e a r a t t a c k _ l o g a l l
S u c c e s s .