Tuesday, October 22, 2013

Executing Test Case

# check snmp
cmmget -d snmpenable
# set snmp
cmmset -d snmpenable -v 1
# check snmp port
cmmget -d snmptrapport
# change snmp port (based on last digit of CMM ip address 53->2053, 178-> 2178)
cmmset -d snmptrapport -v 2053
# check snmp address
cmmget -d snmptrapaddress1
# set snmp address
cmmset -d snmptrapaddress1 -v 128.0.10.1
Cofiguration:
1. Check and configure config file in STM/Config/default.cfg
2. Check on the snmptrap, health and redundancy.
3. Try to make sure KCT in Slot1 and Slot2 with a Switch-blade (Z5xxx or similar) in Slot7.
4. Configure SEL_MIN_CAPACITY=1 in /etc/cmm/shm.conf
  a. Stop standby CMM (cmm stop)
  b. Modify /etc/cmm/shm.conf in active CMM
  c. Restart active CMM (cmm restart)
  d. Modify /etc/cmm/shm.conf in standby CMM
  e. Start standby CMM (cmm start)
  f. Verify selcapacity has a minimum value of 1 instead of 1024 (cmmget -d selcapacity)
5. Do a check for func:9:6 target (cmmget -t func:9:6 -d oempermission)
6. If its not enabled, enable it (cmmset -t func:9:6 -d oempermission -v 1)
7. export TFW_ROOT=/AT/Utils/STM_Merged (or whichever path holds your STM)

No comments: