Hi
I have a few 1910 H3c\HP devices in my client environment I'd like to backup the config.
I used this shared CLI template I found on NCM and a few others but it all fails at a certain point.
This is the "config lines" in xml using this system oid: 1.3.6.1.4.1.25506.11.1.22
<Configuration-Management Device="H3C" SystemOID="1.3.6.1.4.1.25506.11.1.22">
<Commands>
<Command Name="ALLOCATEPTY" Value="True" />
<Command Name="ENABLECOMMAND" Value="system-view" />
<Command Name="ENABLEIDENTIFIER" Value="System View" />
<Command Name="MENUBASED" Value="False" />
<Command Name="RESET" Value="screen-length 0" />
<Command Name="Reboot" Value="${ExitConfigMode}${CRLF}reboot${CRLF}y"/>
<Command Name="ExitConfigMode" Value="return" />
<Command Name="Startup" Value="saved-configuration" />
<Command Name="Running" Value="current-configuration" />
<Command Name="EraseConfig" Value="${ExitConfigMode}${CRLF}reset saved-configuration${CRLF}Y" />
<Command Name="SaveConfig" Value="save${CRLF}y${CRLF}${CRLF}y${CRLF}" />
<Command Name="VERSION" Value="display version" />
<Command Name="DOWNLOADCONFIG" Value="display ${ConfigType}" />
</Commands>
</Configuration-Management>
it passes the "test" but when we try to see if it's pulling the running config it shows this:
I even messed around with the "command Name = "downloadconfig" value to say display running-configuration but to no avail.
Does this device need to be in "enable mode" in order to pull the config?
Device Template: H3C
******************************************************************************
* Copyright (c) 2010-2015 Hewlett Packard Enterprise Development LP *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
Login authentication
Username:
<blanked out>
<blanked out>
Password:
***
<1910SW3>
<1910SW3>
screen-length 0
s
c
r
e
e
n
-
l
e
n
g
t
h
0
^
% Unrecognized command found at '^' position.
<1910SW3>
display version
d
i
s
p
l
a
y
v
e
r
s
i
o
n
^
% Unrecognized command found at '^' position.
<1910SW3>