532
Configuring SNMP
Information About SNMP
Community Strings
You use the SNMP community string to define the relationship between the SNMP manager and the agent. The
community string acts like a password to permit access to the agent on the switch. Optionally, you can specify one or
more of these characteristics associated with the string:
An access list of IP addresses of the SNMP managers that are permitted to use the community string to gain access
to the agent
A MIB view, which defines the subset of all MIB objects accessible to the given community
Read and write or read-only permission for the MIB objects accessible to the community
SNMP Notifications
A trap manager is a management station that receives and processes traps. Traps are system alerts that the switch
generates when certain events occur. By default, no trap manager is defined, and no traps are sent. Switches running
this Cisco IOS release can have an unlimited number of trap managers.
Note:
Many commands use the word
traps
in the command syntax. Unless there is an option in the command to select
either traps or informs, the keyword
traps
refers to traps, informs, or both. Use the
snmp-server host
global
configuration command to specify whether to send SNMP notifications as traps or informs.
This table describes the supported switch traps (notification types). You can enable any or all of these traps and configure
a trap manager to receive them. To enable the sending of SNMP inform notifications, use the
snmp-server enable traps
global configuration command combined with the
snmp-server host
host-addr
informs
global configuration command.
Table 54
Switch Notification Types
Notification Type
Keyword
Description
bridge
Generates STP bridge MIB traps.
config
Generates a trap for SNMP configuration changes.
copy-config
Generates a trap for SNMP copy configuration changes.
entity
Generates a trap for SNMP entity changes.
cpu threshold
Allows CPU-related traps.
envmon
Generates environmental monitor traps. You can enable any or all of these environmental traps: fan,
shutdown, status, supply, temperature.
errdisable
Generates a trap for an error-disabled VLAN port. You can also set a maximum trap rate per minute.
The range is from 0 to 10000; the default is 0, which means there is no rate limit.
flash
Generates SNMP FLASH notifications.
hsrp
Generates a trap for Hot Standby Router Protocol (HSRP) changes.
ipmulticast
Generates a trap for IP multicast routing changes.
mac-notification
Generates a trap for MAC address notifications.
msdp
Generates a trap for Multicast Source Discovery Protocol (MSDP) changes.
ospf
Generates a trap for Open Shortest Path First (OSPF) changes. You can enable any or all of these
traps: Cisco specific, errors, link-state advertisement, rate limit, retransmit, and state changes.
pim
Generates a trap for Protocol-Independent Multicast (PIM) changes. You can enable any or all of
these traps: invalid PIM messages, neighbor changes, and rendezvous point (RP)-mapping
changes.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...