55
Configuring Switch Alarms
Configuration Examples for Switch Alarms
Configuration Examples for Switch Alarms
Configuring External Alarms: Example
This example configures alarm input 1 named
door sensor
to assert a major alarm when the door circuit is closed and
then displays the status and configuration for all alarms:
Switch(config)#
alarm contact 1 description door sensor
Switch(config)#
alarm contact 1 severity major
Switch(config)#
alarm contact 1 trigger closed
Switch(config)#
end
Switch(config)#
show env alarm-contact
Switch#
show env alarm-contact
ALARM CONTACT 1
Status: not asserted
Description: door sensor
Severity: major
Trigger: closed
ALARM CONTACT 2
Status: not asserted
Description: external alarm contact 2
Severity: minor
Trigger: closed
Associating Temperature Alarms to a Relay: Examples
This example sets the secondary temperature alarm to the major relay, with a high temperature threshold value of 113
o
F
(45
o
C). All alarms and traps associated with this alarm are sent to a syslog server and an SNMP server.
Switch(config) #
alarm facility temperature secondary high 45
Switch(config) #
alarm facility temperature secondary relay major
Switch(config) #
alarm facility temperature secondary syslog
Switch(config) #
alarm facility temperature secondary notifies
This example sets the first (primary) temperature alarm to the major relay. All alarms and traps associated with this alarm
are sent to a syslog server.
Switch(config) #
alarm facility temperature primary syslog
Switch(config) #
alarm facility temperature primary relay major
Configuring a Dual Power Supply: Examples
This example shows how to configure two power supplies:
Switch#
configure terminal
show alarm settings
Displays all global alarm settings on the switch.
show env
{
alarm-contact
|
all
|
power
|
temperature
}
Displays the status of environmental facilities on the switch.
show facility-alarm status
[
critical
|
info
|
major | minor
]
Displays generated alarms on the switch.
Table 13
Commands for Displaying Global and Port Alarm Status (continued)
Command
Purpose
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...