-
Notifications
You must be signed in to change notification settings - Fork 911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cisco ASR/IOS-XE - Parsing Broken #52
Comments
The first line looks to be the version, so you're only missing running-config. Not sure why, but I'm guessing maybe 'cfg' is 'nil' here for some reason: cmd 'show running-config' do |cfg| Probably this returns nil, instead of the expected config string. There aren't really good ways to debug the models, you can get full ssh and telnet session logs though, by setting: For module development/debugging maybe easiest is to copy the model to your oxidized directory under 'model' directory (i.e. ~/.config/oxidized/model/ios.rb), if model is found there it is used, instead of the global/shipping definition, so you could add there your own debugging code. Certainly
|
Seems like it doesn't run the 'enable' command. |
How does your config look with regarding 'enable' |
|
Try vars: I don't think the old way is supported anymore. The vars is now used as it supports multiple levels (global, per-group, per-node) |
Yes that worked! Documentation should be updated regarding this (also include the debug tip!). Also an example for setting it per item would be cool. Thanks! |
Yeah documents leave lot to be desired right now. |
I would like to backup configuration of a Cisco ASR 1001 and it seems pulling the backup doesn't really work. Below is the output of the stored configuration. This is a complete
show inventory
of the host.Afterwards there is no more output (no traces of the show version, running-config).
Log Output from an update
Running the commands above manually using the CLI actually work
Is there also a way to debug parsing with the IOS module? The router is actually running IOS-XE, but all of the old IOS commands work when it comes to dumping configuration.
The text was updated successfully, but these errors were encountered: