beautypg.com

Setting up snmp, Creating a community, Reading managed object values – Dell PowerEdge FX2/FX2s User Manual

Page 179

background image

Setting up SNMP

Dell Networking OS supports SNMP version 1 and version 2 which are community-based security models.
The primary difference between the two versions is that version 2 supports two additional protocol

operations (informs operation and snmpgetbulk query) and one additional object (counter64 object).

Creating a Community

For SNMPv1 and SNMPv2, create a community to enable the community-based security in the Dell
Networking OS.
The management station generates requests to either retrieve or alter the value of a management object

and is called the SNMP manager. A network element that processes SNMP requests is called an SNMP

agent. An SNMP community is a group of SNMP agents and managers that are allowed to interact.

Communities are necessary to secure communication between SNMP managers and agents; SNMP

agents do not respond to requests from management stations that are not part of the community.
The Dell Networking OS enables SNMP automatically when you create an SNMP community and displays
the following message. You must specify whether members of the community may retrieve values in
Read-Only mode. Read-write access is not supported.

22:31:23: %RPM1-P:CP %SNMP-6-SNMP_WARM_START: Agent Initialized - SNMP

WARM_START.

To create an SNMP community:

• Choose a name for the community.

CONFIGURATION mode

snmp-server community name ro

Example of Creating an SNMP Community

To view your SNMP configuration, use the show running-config snmp command from EXEC Privilege
mode.
Dell(conf)#snmp-server community my-snmp-community ro

22:31:23: %RPM1-P:CP %SNMP-6-SNMP_WARM_START: Agent Initialized - SNMP

WARM_START.

Dell#show running-config snmp

!

snmp-server community mycommunity ro

Dell#

Reading Managed Object Values

You may only retrieve (read) managed object values if your management station is a member of the same

community as the SNMP agent.
Dell Networking supports RFC 4001, Textual Conventions for Internet Work Addresses that defines values
representing a type of internet address. These values display for ipAddressTable objects using the
snmpwalk command.
There are several UNIX SNMP commands that read data.

• Read the value of a single managed object.

snmpget -v version -c community agent-ip {identifier.instance |
descriptor.instance}

Simple Network Management Protocol (SNMP)

179