Configuring community strings – ATL Telecom R1-SW Ethernet Switch User Manual

Page 142

Advertising
background image

R1-SW24L2B User’s Manual

8-8

Configuring Community Strings

You use the SNMP community string to define the relationship between the SNMP manager
and the agent. The community string acts like a password to permit access to the agent on the
system. One thing to be aware of is that in case of adding new community string using the
Corecess R1-SW24L2B CLI command, this community string must be added in NMS in order to
connect to the system using this community string. To define SNMP community strings, use the
following commands in Privileged mode:

Table 8-4 Configuring SNMP community strings

Command

Task

configure terminal

1. Enter Global configuration mode.

snmp-server community

<community-string>

<auth>

2. Define the SNMP community strings for each access type.

y

<community-string>: The SNMP community name for this

system. Enter an unquoted text string with no space and a
maximum length of 12 characters.

y

<auth> : Access type for this community (read-only, read-write)

end

3. Return to Privileged mode.

show snmp-server

4. Verify new community string.


The following example defines new community string:

# configure terminal

(config)# snmp-server community R1SW24 rw

(config)# end

# show snmp-server

RMON: Enabled

Extended RMON: Extended RMON module is not present

sysContact Dial Operator at phone

sysLocation 1st_floor_lab

Community-Access Community-String

---------------- ----------------

read-write R1SW24

:

:

Advertising