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
    );