530
Configuring SNMP
Information About SNMP
SNMP Agent Functions
The SNMP agent responds to SNMP manager requests as follows:
Get a MIB variable—The SNMP agent begins this function in response to a request from the NMS. The agent retrieves
the value of the requested MIB variable and responds to the NMS with that value.
Set a MIB variable—The SNMP agent begins this function in response to a message from the NMS. The SNMP agent
changes the value of the MIB variable to the value requested by the NMS.
The SNMP agent also sends unsolicited trap messages to notify an NMS that a significant event has occurred on the
agent. Examples of trap conditions include, but are not limited to, when a port or module goes up or down, when
spanning-tree topology changes occur, and when authentication failures occur.
SNMP Community Strings
SNMP community strings authenticate access to MIB objects and function as embedded passwords. In order for the NMS
to access the switch, the community string definitions on the NMS must match at least one of the three community string
definitions on the switch.
A community string can have one of these attributes:
Read-only (RO)—Gives read access to authorized management stations to all objects in the MIB except the
community strings, but does not allow write access.
Read-write (RW)—Gives read and write access to authorized management stations to all objects in the MIB, but does
not allow access to the community strings.
When a cluster is created, the command switch manages the exchange of messages among member switches and the
SNMP application.
Using SNMP to Access MIB Variables
An example of an NMS is the CiscoWorks network management software. CiscoWorks 2000 software uses the switch
MIB variables to set device variables and to poll devices on the network for specific information. The results of a poll can
be displayed as a graph and analyzed to troubleshoot internetworking problems, increase network performance, verify
the configuration of devices, monitor traffic loads, and more.
As shown in
, the SNMP agent gathers data from the MIB. The agent can send traps, or notification
of certain events, to the SNMP manager, which receives and processes the traps. Traps alert the SNMP manager to a
condition on the network such as improper user authentication, restarts, link status (up or down), MAC address tracking,
and so forth. The SNMP agent also responds to MIB-related queries sent by the SNMP manager in
get-request
,
get-next-request
, and
set-request
format.
1.
With this operation, an SNMP manager does not need to know the exact variable name. A sequential search is performed
to find the needed variable from within a table.
2.
The
get-bulk
command only works with SNMPv2 or later.
Содержание 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 ...