We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
paramiko: 3.5.0 netmiko: 4.5.0 device_type: eltex_esr
Hello!
I'm encountering an issue where characters are being duplicated in the session_log while using send_command. For example:
session_log
send_command
rt01# ttetertermtermiterminterminaterminalterminal terminal dterminal daterminal datterminal dataterminal datadterminal dataduterminal datadumterminal datadump rt01# rt01# sshshoshowshow show ishow inshow intshow inteshow intershow interfshow interfashow interfacshow interfaceshow interfacesshow interfaces show interfaces dshow interfaces deshow interfaces desshow interfaces descshow interfaces descrshow interfaces descrishow interfaces descripshow interfaces descriptshow interfaces descriptishow interfaces descriptioshow interfaces description
This behavior makes script diagnostics more difficult, especially when analyzing logs.
Use the following code:
from netmiko import ConnectHandler device_info = { 'device_type': 'eltex_esr', 'ip': '192.168.1.1', 'username': 'python', 'password': '123', 'session_log': '192.168.1.1.log', } net_connect = ConnectHandler(**device_info) net_connect.send_command('show interfaces description') net_connect.disconnect()
Observe the session_log. Characters in the output are duplicated.
The session_log should not contain duplicated characters. Example of the expected result:
rt01# show interfaces description Interface Description ...
Characters in the command and its output are duplicated:
rt01# sshshoshowshow show ishow ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
paramiko: 3.5.0
netmiko: 4.5.0
device_type: eltex_esr
Problem Description:
Hello!
I'm encountering an issue where characters are being duplicated in the
session_log
while usingsend_command
. For example:This behavior makes script diagnostics more difficult, especially when analyzing logs.
Steps to Reproduce
Use the following code:
Observe the
session_log
. Characters in the output are duplicated.Expected Behavior
The
session_log
should not contain duplicated characters. Example of the expected result:Observed Behavior
Characters in the command and its output are duplicated:
The text was updated successfully, but these errors were encountered: