Quantcast
Viewing all articles
Browse latest Browse all 20598

NCM 7.2 Broken Device template ZyXel DSLAM

Hi,

After upgrading to NCM 7.2 our custom device template stopped downloading configuration from ZyXel 1248 series and IES-708 (their CLI is similar)

The template is as follows:

 

<Command Name="RESET" Value=""/>

    <Command Name="MenuBased" Value="False"/>

    <Command Name="PreCommand" Value="n" Delay="5"/>

<Command Name="DownloadConfig" Value="config show all nopause"/>

   <Command Name="PreDownloadConfig" Value="config show all nopause" RegEx="press any key to continue"/>

 

Running a session trace showed that after transmitting the "config show all nopause" string the echo received is a bit off:

 

[15.09.2014 08:32:29] Logged into Router

[15.09.2014 08:32:29] <--

 

[15.09.2014 08:32:29] -->

[15.09.2014 08:32:29] -->

[15.09.2014 08:32:29] Receive Event: Pre-Commands found, start check for RegEx if any

[15.09.2014 08:32:29] Start check prompt for menu-based device

[15.09.2014 08:32:29] Process Line = <>

[15.09.2014 08:32:29] Process Line = <>

[15.09.2014 08:32:29] --->DEVICENAME-EDITED>

[15.09.2014 08:32:29] Receive Event: Pre-Commands found, start check for RegEx if any

[15.09.2014 08:32:29] Start check prompt for menu-based device

[15.09.2014 08:32:29] Process Line = <DEVICENAME-EDITED> >

[15.09.2014 08:32:29] Fuzzy match detector start detecting prompt. String1=DEVICENAME-EDITED> String2=DEVICENAME-EDITED>

[15.09.2014 08:32:29] <-- config show all nopause

 

[15.09.2014 08:32:29] --->c

[15.09.2014 08:32:29] Receive Event: Pre-Commands found, start check for RegEx if any

[15.09.2014 08:32:29] Start check prompt for menu-based device

[15.09.2014 08:32:29] Process Line = <c>

[15.09.2014 08:32:29] Fuzzy match detector start detecting prompt. String1=c String2=DEVICENAME-EDITED>

[15.09.2014 08:32:29] Pushing back: <c>

[15.09.2014 08:32:29] mPrompt is : <DEVICENAME-EDITED>>

[15.09.2014 08:32:29] --->oÿû  nÿû  fÿû  iÿû  gÿû  ÿû  sÿû  hÿû  oÿû  wÿû  ÿû  aÿû  lÿû  lÿû  ÿû  nÿû  oÿû  pÿû  aÿû  u

[15.09.2014 08:32:29] Receive Event: Pre-Commands found, start check for RegEx if any

[15.09.2014 08:32:29] Start check prompt for menu-based device

[15.09.2014 08:32:29] Process Line = <coÿû  nÿû  fÿû  iÿû  gÿû   ÿû  sÿû  hÿû  oÿû  wÿû   ÿû  aÿû  lÿû  lÿû   ÿû  nÿû  oÿû  pÿû  aÿû  u>

[15.09.2014 08:32:29] Fuzzy match detector start detecting prompt. String1=coÿû  nÿû  fÿû  iÿû  gÿû  ÿû  sÿû  hÿû  oÿû  wÿû  ÿû  aÿû  lÿû  lÿû  ÿû  nÿû  oÿû  pÿû  aÿû  u String2=DEVICENAME-EDITED>

[15.09.2014 08:32:29] Pushing back: <coÿû  nÿû  fÿû  iÿû  gÿû   ÿû  sÿû  hÿû  oÿû  wÿû   ÿû  aÿû  lÿû  lÿû   ÿû  nÿû  oÿû  pÿû  aÿû  u>

 

Does anyone know why "ÿû" is added after each character here? It seems NCM doesn't realize it has successfully transmitted the command and is stuck waiting for an echo with "show config all nopause".

Also "ÿû" is added to the echo only after input of the get config line, all other output from the telnet looks fine.


Viewing all articles
Browse latest Browse all 20598

Trending Articles