Help for this page

Select Code to Download


  1. or download this
    
            $rh2->cmd(mode=>'cli', cmd=>"monitor traffic interface ae10 ma
    +tching \"tcp port 179\" size 1500 write-file capture.pcap");
            $rh2->send_control_char(char=>'CTRL_C', timeout=>2400);
    
  2. or download this
    Feb 17 21:26:35 [INFO ] [sherlock.1] [cmd] monitor traffic interface a
    +e10 matching "tcp port 179" size 1500 write-file capture.pcap
    Feb 17 21:27:35 [ERROR] [sherlock.1] JT::Device::_send: No pattern mat
    +ched during 'monitor traffic interface ae10 matching "tcp port 179" s
    +ize 1500 write-file capture.pcap' from patterns: [ '-re', '^(?:{(?:ma
    +ster|backup)(?:.*)}[\r\n]*)?(?:\[edit[^\]]*\]\s+)??JT_53_sherlock:\s*
    +' ]
    Feb 17 21:27:35 [ERROR] [sherlock.1] Device did not respond as expecte
    +d.Please refer the expect file
    Feb 17 21:27:35 [ERROR] Expected patterns are : -re ^(?:{(?:master|bac
    +kup)(?:.*)}[\r\n]*)?(?:\[edit[^\]]*\]\s+)??JT_53_sherlock:\s*