Siemens S323 User Manual

Page of 381
UMN:CLI                                                                                                                                                              User  Manual 
SURPASS hiD 6615 S223/S323 R1.5 
112                                                                         A50010-Y3-C150-2-7619 
7.1.8.5 Displaying 
SNMP 
Trap 
To display a configuration of SNMP trap, use the following command. 
Command Mode 
Description 
show snmp trap 
Enable 
Global 
Shows a configuration of SNMP trap. 
 
The following is an example of configuring IP address 10.1.1.1 as trap-host, 20.1.1.1 as 
trap2-host and 30.1.1.1 as inform-trap-host. 
SWITCH(config)# snmp trap-host 10.1.1.1 
SWITCH(config)# snmp trap2-host 20.1.1.1 
SWITCH(config)# snmp inform-trap-host 30.1.1.1 
SWITCH(config)# show snmp trap 
Trap-Host List 
              Host          Community 
------------------------------------------ 
inform-trap-host 30.1.1.1 
trap2-host       20.1.1.1 
trap-host        10.1.1.1 
Trap List 
Trap-type       Status 
-------------------------- 
auth-fail       enable 
cold-start      enable 
cpu-threshold   enable 
port-threshold  enable 
dhcp-lease      enable 
power           enable 
module          enable 
fan             enable| 
temp-threshold  enable 
SWITCH(config)# 
 
7.1.9 SNMP 
Alarm 
 
The hiD 6615 S223/S323 provides an alarm notification function. The alarm will be sent to 
a SNMP trap host whenever a specific event in the system occurs through CLI and ACI-E. 
You can also set the alarm severity on each alarm and make the alarm be shown only in 
case of selected severity or higher. This enhanced alarm notification allows system ad-
ministrators to manage the system efficiently. 
 
7.1.9.1 Enabling 
Alarm 
Notification 
To configure whether the switch enable transmitting SNMP alarm or not, use the following 
command. 
Command Mode 
Description 
snmp notify-activity
  {enable | 
disable
Global 
Enables/disables an alarm notification on CLI or ACI-E.
(default: disable)