Skip to content
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

FirelinuxOS not saving config, crashes on show inventory command #3393

Open
sumarokov89 opened this issue Feb 11, 2025 · 2 comments
Open

FirelinuxOS not saving config, crashes on show inventory command #3393

sumarokov89 opened this issue Feb 11, 2025 · 2 comments

Comments

@sumarokov89
Copy link

Cisco Firepower 4120 has no command show inventory

E, [2025-02-10T16:07:59.660702 #280] ERROR -- : 10.22.10.50 raised NoMethodError with msg "undefined method `join' for nil:NilClass", 10.22.10.50 saved
W, [2025-02-10T16:08:00.016763 #280] WARN -- : device/device-firepower status no_connection, retry attempt 1

sumarokov89 added a commit to sumarokov89/oxidized that referenced this issue Feb 11, 2025
@robertcheramy
Copy link
Collaborator

When a parameter is unknown, the FPR does not only tell that it is unknown, it reiterate it, causing the following commands to fail, exit not to work and the model ends in a timeout.

> show xxx
Syntax error: Illegal parameter
> show xxxshowrunning-configall
Syntax error: Illegal parameter
> show xxxshowrunning-configallexit
Syntax error: Illegal parameter
> show xxxshowrunning-configallexit

@robertcheramy
Copy link
Collaborator

My Idea would be to send something like "\e[16D\e[Jshow running-config all" to wipe the previous command out.
Alternative ansi escape codes : "\e[G\e[J" (go to the first char, then wipe) or "\e2K" (erase line).

I've got no success yet, but need to test further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants