in reply to Net::SSH2::Cisco not working on Cisco XR
You have the right idea checking dump files. I've had issues with XR also since the prompt is different. That's the main cause of "issues" - the script not finding the prompt. Note I've seen this with Net::Telnet::Cisco too, so it may not be a protocol thing, just simply not matching the prompt.
I see you've tried a custom prompt. I've had success with this in the past:
'/(?m:^(?:[\w.\/]+\:)?[\w.-]+\s?(?:\(config[^\)]*\))?\s?[\$#>]\s?(?:\( +enable\))?\s*$)/'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SSH2::Cisco not working on Cisco XR
by Xane (Initiate) on Mar 02, 2016 at 16:26 UTC | |
by VinsWorldcom (Prior) on Mar 02, 2016 at 16:56 UTC | |
by Xane (Initiate) on Mar 04, 2016 at 09:30 UTC | |
by VinsWorldcom (Prior) on Mar 04, 2016 at 12:38 UTC | |
by Xane (Initiate) on Mar 16, 2016 at 14:41 UTC | |
by VinsWorldcom (Prior) on Mar 16, 2016 at 15:39 UTC |