Enabling Snmp Traps; Displaying Catalyst 2955 Switch Alarms Status - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 3
Configuring Catalyst 2955 Switch Alarms
This example detaches an alarm profile named fastE from a port.
Switch(config)# interface FastEthernet 0/2
Switch(config-if)# no alarm profile fastE

Enabling SNMP Traps

Use the snmp-server enable traps alarms global configuration command to enable the switch to send
alarm traps.
Before using alarm profiles to set the switch to send SNMP alarm trap notifications to an SNMP server,
Note
you must first enable SNMP by using the snmp-server enable traps alarms global configuration
command.
Beginning in privileged EXEC mode, follow these steps to enable the switch to send alarm traps:
Command
Step 1
configure terminal
Step 2
snmp-server enable traps alarms
Step 3
end
Step 4
show alarm settings
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.

Displaying Catalyst 2955 Switch Alarms Status

To display the global and port alarm status, use one or more of the privileged EXEC commands in
Table
Table 3-5
Commands for Displaying Global and Port Alarm Status
Command
show alarm description port
show alarm profile [name]
show alarm settings
show env {all | power | temperature}
show alarm status [critical | info | major |
minor]
78-11380-12
Purpose
Enter global configuration mode.
Enable the switch to send SNMP traps.
Return to privileged EXEC mode.
Verify the configuration.
3-5:
Purpose
Displays an alarm number and its text description.
Displays all alarm profiles in the system or a specified profile.
Displays all global alarm settings in the switch.
Displays the status of environmental facilities on the Catalyst 2955 switch.
Displays generated alarms in the switch.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
Displaying Catalyst 2955 Switch Alarms Status
3-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents