© 2011 Fujitsu Technology Solutions
59
17 Configuring SNMP Agent
This chapter describes how to configure SNMP agent which informs MIB information of SNMP
host.
17.1 Configuring SNMP Community
Beginning in privileged EXEC mode, follow these steps to configure SNMP v1/v2 agent
community:
Command Purpose
Step 1 configure Enter global configuration mode
Step 2 snmp-server community
community-name1
Create a snmp community. The default
access mode is READ-ONLY.
Step 3 snmp-server community
community-name2
Create another snmp community.
Step 4 snmp-server community rw
community-name2
Set the access mode of the SNMP
community to READ-WRITE access mode..
Step 5 exit Return to global configuration mode.
Step 6 show snmp Verify the configuration.
To configure snmp community, use the snmp-server global configuration command. To
display the snmp configuration, use show snmp privileged EXEC command.
In this example, two snmp communities are created for read and read-write:
(BX900-CB1)(Config)#snmp-server community public
(BX900-CB1)(Config)#snmp-server community private
(BX900-CB1)(Config)#snmp-server community rw private
(BX900-CB1)(Config)#exit
(BX900-CB1)#show snmp
SNMP Community Name Client IP Address Client IP Mask Access Mode Status
------------------- ----------------- ----------------- ----------- --------
public 0.0.0.0 0.0.0.0 Read Only Enable
private 0.0.0.0 0.0.0.0 Read/Write Enable
(BX900-CB1)#