This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Device Template Problems - Adtran 608

I am attempting to create a new device template for an Adtran 608 IAD.  The Adtran 608 has a menu driven interface, but as soon as you log in, you can enter into a CLI mode by hitting "Ctrl+T".  I've attempted to use this pre-command in the device type file, but it doesn't seem to work.  Here's my ConfigMgmt-Commands file:

<Configuration-Management Device="Adtran 608" SystemOID=" 1.3.6.1.4.1.664.1.561">
    <Commands>
        <Command Name="Running" Value="download"/>
        <Command Name="DownloadConfig" Value="${ConfigType}"/>
        <Command Name="Precommand" Value="${CTRL+T}" Delay="3" />
    </Commands>
</Configuration-Management>


It always reports, "Unable to log into router".  I know the credentials are correct.  The Session Trace shows it logs in, but it just sits there.  Any ideas?

  • It would be quite helpful if you could post or email the Session Trace.

  • Solarwinds.Net SWTelnet9 Version 9.0.29
    Connected!
    -->
    --> 192.168.154.250 TA 624 Gen3
    -->
    --> user:
    ProcessLogin State: 0
    <-- admin

    --> admin
    --> password:
    ProcessLogin State: 2
    <-- password

    --> ********
    -->
    ProcessLogin State: 3
    -->iad TA 624 Gen3/System Info                                             System Info   xSystem Nameiad-2884-01System Config xSystem Location1606 20TH STREET NWSystem UtilityxSystem ContactInterfaces    xUnit NameTA 624 Gen3L2 Protocol   xCLEI Code-BridgexPart Number4203624RouterxController Serial NumberH27G8645Voicex
    ProcessLogin State: 3
    -->[1mSystem Serial NumberCFG0538312SecurityxFirmware RevisionD.05.03.05xBootcode RevisionB.05xSystem Uptime38 days, 21 hours, 54 mins, 20 secsxDate/TimeFriday January 11  14:15:30  2008xxxxxxxxMODE: T1 IAD       SLOTS 1:FXS  2:FXS  3:FXS  4:FXS  5:FXS  6:FXS   NET:  up                                            User: admin                 E
    ProcessLogin State: 3
    -->TH:  up   ^Z=help 14:15
    ProcessLogin State: 3
    TimerTick: mstrData=<TH:  up   ^Z=help 14:15> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->22
    ProcessLogin State: 3
    -->33
    ProcessLogin State: 3
    TimerTick: mstrData=<33> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->44
    ProcessLogin State: 3
    -->55
    ProcessLogin State: 3
    TimerTick: mstrData=<55> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->66
    ProcessLogin State: 3
    -->77
    ProcessLogin State: 3
    -->88
    ProcessLogin State: 3
    TimerTick: mstrData=<88> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->99
    ProcessLogin State: 3
    TimerTick: mstrData=<99> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->3040
    ProcessLogin State: 3
    -->11
    ProcessLogin State: 3
    TimerTick: mstrData=<11> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->22
    ProcessLogin State: 3
    -->33
    ProcessLogin State: 3
    TimerTick: mstrData=<33> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->44
    ProcessLogin State: 3
    -->55
    ProcessLogin State: 3
    TimerTick: mstrData=<55> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->66
    ProcessLogin State: 3
    -->77
    ProcessLogin State: 3
    TimerTick: mstrData=<77> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->88
    ProcessLogin State: 3
    -->99
    ProcessLogin State: 3
    TimerTick: mstrData=<99> State=3 - Connected to server - idle
    Pending Disconnect = False
    -->4050
    ProcessLogin State: 3
    -->11
    ProcessLogin State: 3
    TimerTick: mstrData=<11> State=3 - Connected to server - idle
    Pending Disconnect = False
    TimerTick: Login Timeout
    Disconnected - From: 192.168.154.250

  • Could you please connect to the router through a manual Telnet session, log in and then capture a screenshot of the telnet session window.
    Looking at the session log you posted above, it seems that the log-in has occured but Cirrus is not able to detect when to send the Precommand.
    The screenshot requested above will help us identify the cause for this issue.


    Thanks

  • Could you please open up a support ticket for this. Issue may be related to when the pre-command is sent by Cirrus and when a command is expected on the device. (i.e. Before login, during initiation, or after login).


    Sham Chauthani
    Development Manager
    SolarWinds

  • bleearg13,
     
    Thanks for you patience while we troubleshoot this issue.  We've received the support ticket and are tracking this in developoment.   Sham and the dev team have isolated ther root cause of the issue.  Our pre-command support allows sending a command before the login process.   However, your device expects a login and then use of the pre-command to enter into CLI mode.    Unfortunately, we don't have a simple workaround for this issue.   We're still working through sizing for the fix and getting back to support with a timeline on when this can be resolved.  
     
    Please check with support for further updates on this issue.
     
    Cheers,
     
    -Chris
  • We've added the ability in 5.1.1 to send pre-commands post login.   You'll need to add the following line to the Adtran template and  

    <Command Name="PreCommand" Value="${CTRL+T}" Delay="3"/> 

    This send a CTRL+T when device does not respond 3+Delay seconds

  • Wow, old post!  While working with support last year, we found the problem to be the the Adtran itself.  The 600s annoying send ">" on every line of the configuration when downloading it.