Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Net::SSH2::Cisco and Nexus switches

by VinsWorldcom (Prior)
on Aug 14, 2018 at 20:47 UTC ( [id://1220345]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ... has an issue with prompt discovery on new Cisco IOS-XR 
       routers. These routers have a prompt like:
    ...
          (?:[\w.\/]+\:)?
    
        inserted after the "'/(?m:^" The rest of the line is left as is.
    
  2. or download this
    my $t = Net::SSH2::Cisco->new(
        [...]
        prompt => '/(?m:^ [...] s*$)/'; # or whatever matches your prompt
    );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1220345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found