User`s manual

MediaPack
SIP User's Manual 314 Document #: LTRT-65408
14.8.1.3 Configuration of Community Strings via SNMP
To configure read-only and read-write community strings, the EM must use the SNMP-
COMMUNITY-MIB. To configure the trap community string, the EM must also use the
snmpVacmMIB and the snmpTargetMIB.
¾
To add a read-only community string (v2user), take this step:
Add a new row to the srCommunityTable with CommunityName v2user and
GroupName ReadGroup.
¾
To delete the read-only community string (v2user), take these 2
steps:
1. If v2user is being used as the trap community string, follow the procedure for changing
the trap community string (see below).
2. Delete the srCommunityTable row with CommunityName v2user.
¾
To add a read-write community string (v2admin), take this step:
Add a new row to the srCommunityTable with CommunityName of v2admin and
GroupName ReadWriteGroup.
¾
To delete the read-write community string (v2admin), take these 2
steps:
1. If v2admin is being used as the trap community string, follow the procedure for
changing the trap community string. (See below.)
2. Delete the srCommunityTable row with a CommunityName of v2admin and
GroupName of ReadWriteGroup.
¾
To change the only read-write community string from v2admin to
v2mgr, take these 4 steps:
1. Follow the procedure above to add a read-write community string to a row for v2mgr.
2. Set up the EM so that subsequent ‘set’ requests use the new community string,
v2mgr.
3. If v2admin is being used as the trap community string, follow the procedure to change
the trap community string (see below).
4. Follow the procedure above to delete a read-write community name in the row for
v2admin.
The following procedure assumes that a row already exists in the srCommunityTable for
the new trap community string. The trap community string can be part of the TrapGroup,
ReadGroup or ReadWriteGroup. If the trap community string is used solely for sending
traps (recommended), it should be made part of the TrapGroup.
¾
To change the trap community string, take these 2 steps:
1. Add a row to the vacmSecurityToGroupTable with these values: SecurityModel=2,
SecurityName=the new trap community string, GroupName=TrapGroup, ReadGroup
or ReadWriteGroup. The SecurityModel and SecurityName objects are row indices.
2. Modify the SecurityName field in the sole row of the snmpTargetParamsTable.
Note: You must add GroupName and RowStatus on the same set.