Closed Olegsplit closed 1 year ago
In new version(0.24.0) I have same problem and must change original code:
cfg :telnet, :ssh do
# enable command-line mode on SMB comware switches (HP V1910, V1920)
# autodetection is hard, because the 'summary' command is paged, and
# the pager cannot be disabled before _cmdline-mode on.
if vars :comware_cmdline
post_login do
send "_cmdline-mode on\n"
send "y\n"
send vars(:comware_cmdline) + "\n"
#send "xtd-cli-mode on\n" <<<<<<<commented<<<<<<<<<<<<
#send "y\n" <<<<<<<commented<<<<<<<<<<<<
#send vars(:comware_cmdline) + "\n" <<<<<<<commented<<<<<<<<<<<<
send vars(:enable) + "\n" <<<<<<<added<<<<<<<<<<<<<<<<
end
end
Oxidized version 0.21.0 Hi, I had problem with HP 830 8P:
For this device must entered "super" user and password for it. My config file source:
route.db
Group:name:IP:comware:user:pass:super:super-pass
This didn't work until I modify comware.rb added:
After that I get config from device.
What can I do something else that not modefy comware.rd?