pusher / docs

The all new Pusher docs, powered by @11ty and @vercel
https://pusher.com/docs
8 stars 15 forks source link

problem with send_command_timing() #326

Closed Stiwar0098 closed 5 months ago

Stiwar0098 commented 5 months ago

Hi,I am using a huawei olt. I have the same problem with net_connect.send_command_timing(display current-configuration ont 0/2/4 17) Applying this net_connect.send_command_expect(display current-configuration ont 0/2/4 17) I got the following : netmiko.exceptions.ReadTimeout:

Pattern not detected: 'display\ current-configuration\ ont\ 0/2/4\ 17' in output.

Things you might try to fix this:

Adjust the regex pattern to better identify the terminating string. Note, in many situations the pattern is automatically based on the network device's prompt. Increase the read_timeout to a larger value. You can also look at the Netmiko session_log or debug log for more information.

on console it comes out like this olt_hk(config)#display current-configuration0/2/417 ^ % Unknown command, the error locates at '^'

benw-pusher commented 5 months ago

I'm not familiar with this error, or the send_command_timing method. Is this from one of our libraries?

Stiwar0098 commented 5 months ago

sorry, I have many tabs open and I got confused about the repository