Quantcast
Channel: THWACK: All Content - Network Configuration Manager
Viewing all articles
Browse latest Browse all 6057

ALU 7750

$
0
0

Hello All,

I have a custom script that I'm currently trying to implement to backup the configs on some ALU 7750's on our network. The 7750 uses admin display-config in the CLI to display the running configuration. When I try to download the config using NCM, I get an error stating that "Connection Refused Device IP: x.y.z.a"

I've run a session trace and here's what I get:

*** [172.29.60.87] OnClose received, err = 10060

*** [172.29.60.87] OnConnect received, err = 0
TiMOS-C-6.0.R2 cpm/hops ALCATEL SR 7750 Copyright (c) 2000-2008 Alcatel-Lucent.
All rights reserved. All use subject to applicable license agreements.
Built on Thu Mar 27 13:04:54 PDT 2008 by builder in /rel6.0/b1/R2/panos/main
WARNING! THIS IS A PRIVATE NETWORK AND IS FOR EXCLUSIVE USE BY AUTHORIZED PERSONNEL. Use of this service constitutes consent to monitoring.  Unauthorized use may result in prosecution under the Computer Fraud and Abuse Act of 1986 or other applicable statutes and regulations.

*A:7750-01#

*A:7750-01#

*A:7750-01#


            
7750-01# admin display-config
# TiMOS-C-6.0.R2 cpm/hops ALCATEL SR 7750 Copyright (c) 2000-2008 Alcatel-Lucent.

# All rights reserved. All use subject to applicable license agreements.

# Built on Thu Mar 27 13:04:54 PDT 2008 by builder in /rel6.0/b1/R2/panos/main


# Generated WED DEC 02 17:24:07 2009 UTC

exit all
configure
#--------------------------------------------------
echo "System Configuration"
#--------------------------------------------------
    system
        name "7750-01"
        contact ""
        location ""
        snmp
            packet-size 9216
        exit
        login-control
            telnet
                inbound-max-sessions 7
                outbound-max-sessions 7
Press any key to continue (Q to quit)
*** [172.29.60.87] OnClose received, err = 10060

 

and from what it looks like, the CLI is waiting for "any key" input to continue parsing through the config but for some reason NCM doesn't like that.

 

Here's what my device template looks like:

<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by () -->
<!--SolarWinds Network Management Tools-->
<!--Copyright 2005 SolarWinds.Net All rights reserved-->
<Configuration-Management Device="Lucent Devices" SystemOID=" 1.3.6.1.4.1.6527.1.3.3">
    <Commands>
        <Command Name="RESET" Value=""/>
        <Command Name="ExitConfigMode" Value="exit"/>
        <Command Name="DownloadConfig" Value="admin display-config"/>
        <Command Name="Version" Value="show system information"/>
        <Command Name="DownloadConfigIndirect" Value="admin display-config"/>
    </Commands>
</Configuration-Management>

 

What do I need to add to the script to have NCM parse through the config without timing out ?

Any input would be gladly appreciated.


Viewing all articles
Browse latest Browse all 6057

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>