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

Possible problem when prompt is longer than 80 characters #36

Open
nicolatron opened this issue Jun 17, 2020 · 0 comments
Open

Possible problem when prompt is longer than 80 characters #36

nicolatron opened this issue Jun 17, 2020 · 0 comments

Comments

@nicolatron
Copy link

Hello,

I'm connecting to a F5 device, everything is fine, but issuing one of the CLI commands, resulting prompt is very large (82 characters), somehow the answer seems to come in 2 lines (the second containing only "#"), and this seems to not be matching any section in the pb, causing a timeout.

What I was doing was issuing the command "cd /$partition; show running-config net self", one of the partitions have the absurdly long name "/SAN_PROD_SERVICIOSCOMUNES" and as the partition you are in is shown in the prompt, the result is a long one.

I've applied a workaroung issunig the command "cd /$parition; show running-config net self; cd /Common", and with this the promt is smaller and there is no problem.

The connection is made from Netdot, issued from Netdot::Device::CLI. So not sure if the problem could be there and not in the underlying libraries.

Attached is the end of the session as captured from debug. Can send full log to someone, but not publish it here.

Using version 2.300003 on a Debian 10.3.

Best regards
error_cli.txt

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

1 participant