![D-Link xStack DGS-3400 Series Скачать руководство пользователя страница 84](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433084.webp)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
80
config system_severity
Purpose
To configure severity level of an alert required for log entry or trap message.
Syntax
config system_severity [trap | log | all] [critical | warning | information]
Description
This command is used to configure the system severity levels on the Switch. When an
event occurs on the Switch, a message will be sent to the SNMP agent (trap), the
Switch’s log or both. Events occurring on the Switch are separated into three main
categories, these categories are NOT precisely the same as the parameters of the same
name (see below).
•
Information – Events classified as information are basic events occurring on the
Switch that are not deemed as problematic, such as enabling or disabling various
functions on the Switch.
•
Warning – Events classified as warning are problematic events that are not critical
to the overall function of the Switch but do require attention, such as unsuccessful
downloads or uploads and failed logins.
•
Critical – Events classified as critical are fatal exceptions occurring on the Switch,
such as hardware failures or spoofing attacks.
Parameters
Choose one of the following to identify where severity messages are to be sent.
•
trap –
Entering this parameter will define which events occurring on the Switch will
be sent to a SNMP agent for analysis.
•
log –
Entering this parameter will define which events occurring on the Switch will
be sent to the Switch’s log for analysis.
•
all –
Entering this parameter will define which events occurring on the Switch will be
sent to a SNMP agent and the Switch’s log for analysis.
Choose one of the following to identify what level of severity warnings are to be sent to
the destination entered above.
critical –
Entering this parameter along with the proper destination, stated above, will
instruct the Switch to send only critical events to the Switch’s log or SNMP agent.
warning –
Entering this parameter along with the proper destination, stated above, will
instruct the Switch to send critical and warning events to the Switch’s log or SNMP
agent.
information
– Entering this parameter along with the proper destination, stated above,
will instruct the switch to send informational, warning and critical events to the
Switch’s log or SNMP agent.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the system severity settings for critical traps only:
D G S – 3 4 2 6 : 5 # c o n f i g s y s t e m _ s e v e r i t y t r a p c r i t i c a l
C o m m a n d : c o n f i g s y s t e m _ s e v e r i t y t r a p c r i t i c a l
S u c c e s s .
D G S – 3 4 2 6 : 5 #
Example usage:
To upload an attack log file:
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 #