question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Older Arista EOS devices fail on set terminal width

See original GitHub issue

Hi @ktbyers - you are bombarded with questions and give your all to the community. If you can set me and my team straight I’ll donate an hour of my wages for your time if you can point me to your donation collections tin car 😉

Here is our test code

from netmiko import ConnectHandler
import logging

logging.basicConfig(filename='/home/gears/test.log', level=logging.DEBUG)
logger = logging.getLogger("netmiko")

device = {
    'host': 'zeushammer.net',
    'username': 'zeus',
    'password': 'hammer',
    'device_type': 'arista_eos_ssh',
    'allow_auto_change': True
}

net_connect = ConnectHandler(**device)
net_connect.disconnect()

My team sees two types of responses intermittently. Sometimes from the same host where the code had previously just worked.

Here is a gist of the log output where it failed Log output where it worked

Can you help us understand the logs, why one failed vs succeeded and what we can test to improve things?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zeushammercommented, Dec 30, 2020

Of course yes! I do want to donate.

The output is what expect is looking for.

Exactly as sent.

We see it manually, but it’s not seen via netmiko.

I’ll confirm with the team tomorrow to grab the exact copy/paste verbatim.

On Tue, Dec 29, 2020, 4:58 PM Kirk Byers notifications@github.com wrote:

@zeushammer https://github.com/zeushammer Can you just include the CLI output of a failing device for the following:

terminal width 511

In other words, when you manually execute the following from the CLI what does the Arista device show/echo to the screen.

Probably easy way for a donation is just PayPal. If you want to do this, just let me know.

Regards,

Kirk

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ktbyers/netmiko/issues/2066#issuecomment-752290844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO7XNWTF2OWF7MYMH76IWLSXJ3LHANCNFSM4UNCPH7A .

0reactions
ktbyerscommented, Dec 30, 2020

Paypal is ktbyers@twb-tech.com (if you donate let me know, so we check/monitor it on our side).

Best, Kirk

Read more comments on GitHub >

github_iconTop Results From Across the Web

EOS 4.29.0F - Command-Line Interface (CLI) - Arista
The schedule config command sets configuration parameters to the CLI scheduler. ... connect to remote devices, and change terminal settings.
Read more >
How to change the terminal width when connected to an Arista ...
Arista (config)# termwidth 200. Note that SSH or telnet access terminal width is dynamically updated based on window size.
Read more >
EOS-4.26.1F-Manual.pdf - Hardware Nation
Arista Networks features switches with high-density, non-blocking Ethernet ports that are controlled through an extensible, Linux-based, ...
Read more >
EOS User Manual
The active EOS image on an Arista Networks switch can be modified via the boot ... configure terminal — Change the system configuration....
Read more >
Arista start-up config download failure - SolarWinds THWACK
However start-up config fails with error :Connectivity issues, ... <Command Name="RESET" Value="terminal width 999${CRLF}terminal length 0${CRLF}enable"/>.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found