Hi
I'm not familiar with the custcfg application. But here is a batch file which adds communities and ip-ranges of managers. Edit the file to match your needs, save it on the flash and run from TI. This script will delete all the old communities and managers.
easysnmp.bat:
# SNMP ease communities and managers creation
# requires software rel/8.01 or higher
# Edit to match your needs
#
on error :ERROR:
# Edit the ip ranges to match your addresses
setenv SUBNET1 "192.168.27"
let first_mgr1 = 196
let last_mgr1 = 200
setenv SUBNET2 "172.18.110"
let first_mgr2 = 15
let last_mgr2 = 16
setenv SUBNET3 "10.0.0"
let first_mgr3 = 9
let last_mgr3 = 10
# Delete all existing managers
setenv nextid "*"
setenv nextflag ""
arrayenv attr wfSnmpMgrCommIndex wfSnmpMgrAddress
enumenv 1 index address

EL_MGR_LOOP:
mibget $nextflag wfSnmpMgrEntry attr $nextid value nextid
if "$nextid" = "END" then; goto

EL_MGR_LOOP_EXIT:
set wfSnmpMgrEntry.wfSnmpMgrDelete.${value[$index]}.${value[$address]} 2
setenv nextflag "-n"
goto

EL_MGR_LOOP:

EL_MGR_LOOP_EXIT:
commit
# Delete all existing community names
setenv nextid "*"
setenv nextflag ""
arrayenv attr wfSnmpCommIndex
enumenv 1 index

EL_LOOP_COM:
mibget $nextflag wfSnmpCommEntry attr $nextid value nextid
if "$nextid" = "END" then; goto

EL_LOOP_COM_EXIT:
set wfSnmpCommEntry.wfSnmpCommDelete.${value[$index]} 2
setenv nextflag "-n"
goto

EL_LOOP_COM:

EL_LOOP_COM_EXIT:
commit
# Add new community names
set wfSnmpCommEntry.wfSnmpCommDelete.1 1
set wfSnmpCommEntry.wfSnmpCommDelete.2 1
set wfSnmpCommEntry.wfSnmpCommDelete.3 1
# These lines defines the community names
set wfSnmpCommEntry.wfSnmpCommName.1 "community1"
set wfSnmpCommEntry.wfSnmpCommName.2 "community2"
set wfSnmpCommEntry.wfSnmpCommName.3 "community3"
# These lines define read or read-write
set wfSnmpCommEntry.wfSnmpCommAccess.1 2
set wfSnmpCommEntry.wfSnmpCommAccess.2 1
set wfSnmpCommEntry.wfSnmpCommAccess.3 1
commit
# Add new managers1
setenv nextid "*"
setenv nextflag ""
let i = $first_mgr1
:ADD_LOOP_MGR1:
if "$i" > "$last_mgr1" then; goto :ADD_LOOP_EXIT1:
set wfSnmpMgrEntry.wfSnmpMgrDelete.1.$SUBNET1.$i 1
set wfSnmpMgrEntry.wfSnmpMgrTraps.1.$SUBNET1.$i 1
let i = $i + 1
setenv nextflag "-n"
goto :ADD_LOOP_MGR1:
:ADD_LOOP_EXIT1:
commit
# Add new managers2
setenv nextid "*"
setenv nextflag ""
let i = $first_mgr2
:ADD_LOOP_MGR2:
if "$i" > "$last_mgr2" then; goto :ADD_LOOP_EXIT2:
set wfSnmpMgrEntry.wfSnmpMgrDelete.2.$SUBNET2.$i 1
set wfSnmpMgrEntry.wfSnmpMgrTraps.2.$SUBNET2.$i 1
let i = $i + 1
setenv nextflag "-n"
goto :ADD_LOOP_MGR2:
:ADD_LOOP_EXIT2:
commit
# Add new managers3
setenv nextid "*"
setenv nextflag ""
let i = $first_mgr3
:ADD_LOOP_MGR3:
if "$i" > "$last_mgr3" then; goto :ADD_LOOP_EXIT3:
set wfSnmpMgrEntry.wfSnmpMgrDelete.3.$SUBNET3.$i 1
set wfSnmpMgrEntry.wfSnmpMgrTraps.3.$SUBNET3.$i 1
let i = $i + 1
setenv nextflag "-n"
goto :ADD_LOOP_MGR3:
:ADD_LOOP_EXIT3:
commit
goto :EXIT:
:ERROR:
echo
echo This script requires software rel/8.01 or higher
:EXIT:
echo Communities and managers added
---
Hope this was of help
Katamann@hotmail.com