- Index
- Preface
- Overview
- Using the Command-Line Interface
- Assigning the Switch IP Address and Default Gateway
- Configuring Cisco IOS CNS Agents
- Administering the Switch
- Configuring Switch Alarms
- Configuring SDM Templates
- Configuring Switch-Based Authentication
- Configuring IEEE 802.1x Port-Based Authentication
- Configuring Interface Characteristics
- Configuring Command Macros
- Configuring VLANs
- Configuring Private VLANs
- Configuring IEEE 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling
- Configuring STP
- Configuring MSTP
- Configuring Optional Spanning-Tree Features
- Configuring Resilient Ethernet Protocol
- Configuring Flex Links and the MAC Address-Table Move Update Feature
- Configuring DHCP Features and IP Source Guard
- Configuring Dynamic ARP Inspection
- Configuring IGMP Snooping and MVR
- Configuring Port-Based Traffic Control
- Configuring CDP
- Configuring LLDP and LLDP-MED
- Configuring UDLD
- Configuring SPAN and RSPAN
- Configuring RMON
- Configuring System Message Logging
- Configuring SNMP
- Configuring Embedded Event Manager
- Configuring Network Security with ACLs
- Configuring Control-Plane Security
- Configuring QoS
- Configuring EtherChannels and Link State Tracking
- Configuring IP Unicast Routing
- Configuring HSRP
- Configuring Cisco IOS IP SLAs Operations
- Configuring Enhanced Object Tracking
- Configuring Ethernet OAM, CFM, and E-LMI
- Configuring IP Multicast Routing
- Configuring MSDP
- Troubleshooting
- Configuring Online Diagnostics
- Supported MIBs
- Working with the Cisco IOS File System, Configuration Files, and Software Images
- Unsupported Commands in Cisco IOS Release 12.2(44)EY
Configuring the Switch Alarms
On the ME 3400E switch, you can configure external alarm inputs, as well as alarms to identify a missing or malfunctioning power supply or a power supply with no input.
•Configuring Power Supply Alarms
Configuring External Alarms
You can connect up to four alarm inputs from external devices in your environment, such as a door, a temperature gauge, or a fire alarm, to the alarm input port on the switch front panel. Figure 6-1 shows the location of the alarm pinouts.
Figure 6-1 Alarm Input Port Pinouts
For each alarm input, you can configure an open or closed circuit to trigger an alarm and configure the severity of the alarm. A triggered alarm generates an system message. If you enter a descriptive name for the alarm, that name is included in the system message. A triggered alarm also turns on the LED display (the LED is normally off, meaning no alarm). See the Cisco ME-3400E Hardware Installation Guide for information about the LEDs.
The alarm trigger setting is open or closed. If not set, the alarm is triggered when the circuit closes.
•Open means that the normal condition has current flowing through the contact (normally closed contact). The alarm is generated when the current stops flowing.
•Closed means that no current flows through the contact (normally open contact). The alarm is generated when current does flow.
You can set the alarm severity to minor, major, or critical. The severity is included in the alarm message and also sets the LED color when the alarm is triggered. The LED is amber for a minor alarm, red for a major alarm, and blinking red for a critical alarm. If not set, the default alarm severity is minor.
Beginning in privileged EXEC mode, follow these steps to configure alarm contacts.
|
|
|
---|---|---|
Step 1 |
configure terminal |
Enter global configuration mode. |
Step 2 |
alarm-contact contact-number description string |
(Optional) Configure a description for the alarm contact number. •The contact-number can be from 1 to 4. •The description string can be up to 80 alphanumeric characters in length and is included in any generated system messages. |
Step 3 |
alarm-contact {contact-number | all} {severity {critical | major | minor} | trigger {closed | open}} |
Configure the trigger and severity for an alarm contact number or for all contact numbers. •Enter a contact number (1 to 4) or specify that you are configuring all alarms. See Figure 6-1 for the alarm contact pinouts. •For severity, enter critical, major, or minor. If you do not configure a severity, the default is minor. •For trigger, enter open or closed. If you do not configure a trigger, the alarm is triggered when the circuit is closed. |
Step 4 |
end |
Return to privileged EXEC mode. |
Step 5 |
show env alarm-contact |
Show the configured alarm contacts. |
Step 6 |
copy running-config startup-config |
(Optional) Save your entries in the configuration file. |
To delete the alarm description, enter the no alarm-contact contact-number description privileged EXEC command. To set the alarm severity to minor (the default), enter the no alarm-contact {contact-number | all} severity. To set the alarm contact trigger to closed (the default), enter the no alarm-contact {contact-number | all} trigger.
To see the alarm configuration and status, enter the show env alarm-contact privileged EXEC command.
For more detailed information about the alarm commands, see the command reference for this release.
Note The switch supports the CISCO-ENTITY-ALARM-MIB for these alarms.
This example configures alarm input 2 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 2 description door sensor
Switch
(config)# alarm-contact 2 severity major
Switch
(config)# alarm-contact 2 trigger closed
Switch
(config)# end
Switch
(config)# show env alarm-contact
Switch# show env alarm-contact
ALARM CONTACT 1
Status: not asserted
Description: test_1
Severity: critical
Trigger: open
ALARM CONTACT 2
Status: not asserted
Description: door sensor
Severity: major
Trigger: closed
ALARM CONTACT 3
Status: not asserted
Description: flood sensor
Severity: critical
Trigger: closed
ALARM CONTACT 4
Status: not asserted
Description:
Severity: critical
Trigger: closed
Configuring Power Supply Alarms
Some switch models have two power supply slots that contain either AC- or DC- power supplies. The status and type of power supplied to each slot is shown by the switch LEDs. AC power supplies have corresponding AC-power inputs (AC 1 and AC 2), and DC-power supplies have two DC inputs (DC A and DC B).
The default power supply configuration is to have one power supply installed in slot 1 and the software configured for no power-supply dual. This suppresses any alarms triggered by not having two power supplies installed. When the switch is operating with two power supplies, we recommend you enter the power-supply dual global configuration command to trigger an alarm when one is missing or inoperable.
If you are using DC-power supplies, the most common practice is to have both DC inputs connected.
Note The Cisco ME 3400EG-2CS-A switch does not support removable power supplies.
When the switch detects a power supply fault, it triggers an LED indicator and sends a system message. Power-supply alarm indications are sent when a power supply is missing, has no input, has insufficient output, or has a malfunctioning fan. Some of these alarm conditions are configurable.
Power-Supply-Missing Alarms
If you are operating the switch with a single power supply (AC or DC), you can suppress any alarm conditions associated with a missing power supply. Entering the no power-supply dual global configuration command (the default) specifies that only one power supply is expected to be present. Then the switch does not generate an alarm that a power supply is missing.
The no power-supply dual command controls only the sending of messages about the absence of a second power supply or the absence of input to the second power supply. The software detects whether a power supply is present and if there is an input voltage. When there is input, the software can detect if there is output voltage and if the fan is operating. These are possible conditions and results when only one power supply is expected:
•If only one power supply is present, no alarm is sent. However, if this power supply is connected to the AC input and is not receiving or sending power, a power supply fault message is sent.
•If two power supplies are present, and both are receiving and sending power, no message is sent.
•If two power supplies are present, and one is connected and operating and the other is not connected to the AC input, no message is sent.
•If two power supplies are present and both are connected to AC inputs, but only one is receiving or sending power, a power supply fault message is sent.
Note The switch always sends an error message when an AC-power supply connected to an AC input is not receiving or outputting power.
If you operate the switch with two power supplies, enter the power-supply dual global configuration command to configure the switch to send a message when one power supply is missing.
DC-Power-Supply Feed Alarms
The two DC-power supply inputs are bridged internally and fed to both power supply slots. When one or two DC-power supplies are installed, if the switch does not detect both DC inputs, it generates an LED alarm and a system message. If you want to use only one DC input, you can enter the no power-supply dual dc-feed global configuration command to disable sending alarm messages when the second DC input is not present. This command is valid only when DC-power supplies are installed in the switch.
Regardless of how this command is configured, if the expected DC-power inputs (one or two) are present and a problem is detected in the power supply, a faulty power-supply message is generated.
Beginning in privileged EXEC mode, follow these steps to configure power supply alarm messages.
You can verify switch power supply settings by entering the show env power user EXEC command.
For more information about the commands, see the command reference for this release.
This example shows how to suppress alarm indications when a single power supply is present and to verify the configuration:
Switch
(config)# no power-supply dual
Switch
(config)# end
Switch# show env power
POWER SUPPLY 1 is AC OK
AC Input : OK
Output : OK
Fan : OK
POWER SUPPLY 2 is NOT PRESENT