3Com 5104M-FIB Switch User Manual


 
SET COMMUNITY
2-107
SET COMMUNITY
Use the SET COMMUNITY command to create entries in the SNMP community
table. The SNMP community table defines access privileges for SNMP managers.
The community table contains a maximum of 10 entries. A community entry
name cannot exceed 15 characters. Community names are case-sensitive. For
example, Silver and silver are different community names.
Format
Example
The following command creates a community named public, and specifies that
all workstations in this community have read_only access to the DMM:
CB5000> set community public all read_only
Community set.
Related Commands
CLEAR COMMUNITY
SHOW COMMUNITY
set community
all
name
all
read_only
read_trap
read_write
trap
all
address
all
Specifies that this operation is to apply to all communities in the
community table.
name Specifies the name of the community to which this operation applies.
all
A wildcard IP address to be added to the community table.
address A specific IP address to be added to the specified community.
Enter an IP address as a series of four decimal bytes separated by
periods. For example, 192.122.19.4.
all
The community can display and modify DMM monitoring and
configuration data. Receives alerts from the DMM agent.
read_only
The community can display but not modify DMM monitoring and
configuration data.
read_trap
The community can display but not modify DMM monitoring and
configuration data and receive traps from the DMM agent.
read_write
The community can display and modify DMM monitoring and
configuration data.
trap
The community can receive alerts from the DMM agent.