-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Improvement Huawei SmartAX #3559
Comments
So you sent the command:
And it gets echoed by the device as:
Is that correct? |
Kind of yes! If this message doesn't appear I send the command "display ont port state 0 0 eth-port all" as expected. When using netmiko usually i expect not to have to deal with such async messages, which can break the flow as in this case. |
So you are getting an alarm message to your SSH terminal? I would just turn that off (i.e. your SSH terminal should not get any alarms or logging messages sent to it. Typically is this is configurable on the device or for the device's terminal settings. Can you turn off / disable these messages so they don't get sent to your automation SSH session? |
Yeees! I can turn out the alarms while on the session using the command |
Hi,
I had an issue while working on a Huawei SmartAX device. These devices they have alarms similar to the following ones:
This output breaks the flow of netmiko. This is an error example:
I have seen a possible solution, but implies scalating permissions from initial to enable. There is a command called
infoswitch cli OFF
which disables the alarms on the session. After I send this command I can return to the initial state just in case to leave as the original state.Is there any drawback to this solution? Can I develop it?
The text was updated successfully, but these errors were encountered: