Network Management

 View Only
Expand all | Collapse all

Batch Operation not working on some Switches

This thread has been viewed 0 times
  • 1.  Batch Operation not working on some Switches

    Posted Oct 13, 2014 10:13 AM

    Hi,

     

    im trying to batch deploy SNMP-Settings to all our switches via

    Resource->batch operation->Device Configuration Guide

     

    This works fine for most switches, including ProCurve 2610,2810,2620,6200yl

     

    But it seems to fail for all Stack Commanders.

     

    HP J8992A Switch E6200yl-24G
    Software revision K.15.05.0002
    
    Copyright (C) 1991-2011 Hewlett-Packard Development Company, L.P.
                       RESTRICTED RIGHTS LEGEND
     Confidential computer software.  Valid license from HP required for possession,
     use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     Software, Computer Software Documentation, and Technical Data for Commercial
     Items are licensed to the U.S. Government under vendor's standard commercial
     license.
                       HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. 
                       20555 State Highway 249, Houston, TX 77070
    We'd like to keep you up to date about:
      * Software feature updates
      * New product announcements
      * Special events
    Please register your products now at:  www.hp.com/networking/register
    
    Username: manager
    
    Password: 
    
      Stack Members
      SN MAC Address   System Name   Device Type          Status                   
      -- ------------- ------------- -------------------- -------------------------
      0  001c2e-198f40 core-dv1-0     HP E6200yl-24G      Commander Up             
      1  001c2e-19af80 core-dv1-1     HP E6200yl-24G      Member Up                
     
    Enter switch number to connect to or :
    core-dv1-0# 
    core-dv1-0# no page
    core-dv1-0# terminal width 1920
    
    core-dv1-0# c?onfig terminalC:/Program Files/iMC/server/bin/../../server/conf/adapters/GenericConfig/Hewlett Packard/HPE3500/set_snmp_param_v1_or_v2c_hp.tcl(12): error: can't read "expect_out(1,string)": no such element in array

     

    As you can see, iMC is sending "c?onfig terminal" instead of "config terminal"

     

    Before updating to the most recent patch level, i had a similar error with the line before that.

    It was sending "t?erminal width 1920" then...

     

    Has anyone noticed this behavior too ?

     

    Btw. heres the same Batch Operation on the Stack Member:

    HP J8992A Switch E6200yl-24G
    Software revision K.15.05.0002
    
    Copyright (C) 1991-2011 Hewlett-Packard Development Company, L.P.
                       RESTRICTED RIGHTS LEGEND
     Confidential computer software.  Valid license from HP required for possession,
     use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     Software, Computer Software Documentation, and Technical Data for Commercial
     Items are licensed to the U.S. Government under vendor's standard commercial
     license.
                       HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. 
                       20555 State Highway 249, Houston, TX 77070
    We'd like to keep you up to date about:
      * Software feature updates
      * New product announcements
      * Special events
    Please register your products now at:  www.hp.com/networking/register
    
    Username: manager
    
    Password: 
    
    
    core-dv1-1# 
    core-dv1-1# 
    core-dv1-1# no page
    core-dv1-1# terminal width 1920
    
    core-dv1-1# config terminal
    core-dv1-1(config)# snmp-server enable
    core-dv1-1(config)# snmp-server community ******** operator restricted
    core-dv1-1(config)# snmp-server community ******** manager unrestricted
    core-dv1-1(config)# write memory
    core-dv1-1(config)# 

     

     

    Regards

    Dennis

     


    #imc
    #ProCurve
    #batch


  • 2.  RE: Batch Operation not working on some Switches

    Posted Oct 15, 2014 08:00 PM

    I would definitely grab the traces and logs, and open a case on this one.  You can enter a ticket online through the my networking portal http://hp.com/networking/mynetworking

     

    you could try the commands manually from the command-line (to see if it's the connection or the script) of the IMC server.  Assuming Windows... from cmd change directories to c:\program files\imc\server\bin  then for telnet "telnet <ip address>" or for ssh "plink <ip address>".  Then try the commands manually, maybe the adapter needs to be adjusted in this case to enter the text more slowly which is possible.  You might also try changing login types if possible (switch from telnet to ssh - and configure appropriately) that will use a different adapter script.  Either way, these tasks won't necessarily resolve the problem, just help indicate what might be going on.

     

    Of course don't modify or move any of the files in the IMC install directory :)

     

    Good Luck.

    PL