3Com 5102B-EE Network Router User Manual


 
Management Commands 4 - 43
Example
The following example creates the community table entry called ncs and
specifies that all traps be sent to the IP address 1.2.3.4.
OEBM> set community ncs 1.2.3.4 trap [ENTER]
Community set
Description
The SET COMMUNITY command enables you to create a new entry in the
community table. Each community is granted the access you specify in the
{access} parameter in the SET COMMUNITY command line. The access
modes are:
trap access means that the device at the IP Address you specify will
receive SNMP alerts from the Bridge Module.
read_write means that the device at the IP Address you specify can
display information about the Bridge Module and can modify this
information (via SNMP).
read_trap means that the device at the IP Address you specify can display
information about the Bridge Module (via SNMP) and will receive SNMP
alerts.
read_only means that the device at the IP Address you specify can display
information about the Bridge Module (via SNMP).
all access means that the device at the IP Address you specify has
read_write and trap access to the Bridge Module.
You can enter up to ten community table entries of up to 15 characters
each. Note that the community name is case sensitive, i.e., NCS and ncs
are different community names.
Refer to the SHOW COMMUNITY command to view the existing
community table and the CLEAR COMMUNITY command to delete a
community entry.
Note: When you use the IP Address entry of all, you cannot use
trap, read_trap, or all access modes.