ytti / oxidized

Oxidized is a network device configuration backup tool. It's a RANCID replacement!
Apache License 2.0
2.79k stars 922 forks source link

Issue backup with vrp.rb for router Huawei AR29-21 #1734

Closed kvadime closed 5 years ago

kvadime commented 5 years ago

Please help if you can. I have issue backup with vrp.rb for router Huawei AR29-21 in the output file I received: % Too many parameters found at '^' position.

I see in file vrp.rb:

cmd 'display current-configuration all' do |cfg| cfg

But my model Huawei ar29-21 : no support command: "display current-configuration all" support command: "display current-configuration" I try delit word "all" in vrp.rb, but it does not work.

This router have just privilege level 1-3. I use level 3. From this user I easy make display current-configuration, without command system-view

jarner commented 5 years ago

When you edited the file, did the change save? If it did you have to restart oxidized in order for the change to take effect.

kvadime commented 5 years ago

Obviously I saved modification and restarted the Oxidized. But that did not help

kvadime commented 5 years ago

I finded solution for me. I just use for Huawei, model from comware.rb. Is work.