
UMN:CLI
User Manual
V5824G
118
7.1.2
SNMP Community
Only an authorized person can access SNMP agent by configuring SNMP community
with a community name and additional information. To configure SNMP community to
allow an authorized person to access, use the following command.
Command
Mode
Description
snmp community
{
ro
|
rw
}
COMMUNITY
[
A.B.C.D
] [
OID
]
Global
Creates SNMP community.
COMMUNITY: community name
no snmp community
{
ro
|
rw
}
COMMUNITY
Deletes created community.
You can configure up to 3 SNMP communities for each read-only and read-write.
To display configured SNMP community, use the following command.
Command
Mode
Description
show snmp community
Enable
Global
Bridge
Shows created SNMP community.
The following is an example of creating 2 SNMP communities.
SWITCH(config)#
snmp community ro
public
SWITCH(config)#
snmp community rw
private
SWITCH(config)#
show snmp community
Community List
Type Community
Source
OID
-----------------------------------------------
ro
public
rw
private
SWITCH(config)#
7.1.3
SNMP Agent Administrator
You can specify the basic information of SNMP agent as administrator, location, and
address that confirm its own identity.
To set the basic information of the SNMP agent, use the following command.
Command
Mode
Description
snmp contact
NAME
Global
Sets the name of the administrator.
snmp location
LOCATION
Sets the location of the SNMP agent.
no snmp contact
Deletes the specified basic information for each item.
no snmp location
i