cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
98
Views
0
Helpful
2
Replies
Highlighted
Cisco Employee

huawei-vrp NED internal error when NSO sync-from

 

Hello experts,

 

 

When NSO sync-from config from devices, we got internal error, and java vm error logs. We have narrow down the reason to a config about bgp password. Could you help confirm whether it is a bug. Thank you!

 

 

Versions:

 

Devices hardware: Huawei NE40E

 

Devices software: VRP (R) software, Version 8.100 (NE40E V800R007C00SPC100)

 

NSO:nso-4.2.darwin.x86_64.signed.bin

 

NED: ncs-4.2-huawei-vrp-3.0.30.tar

 

  

 

Suspicious trigger config:

 

 

Console error:

 

admin@ncs# devices device huawei_ne40e_3 sync-from

 

Error: internal error

 

Java

 

 

 

 

<ERROR> 26--2016::17:07:32.632 NedWorker Ned-Worker-Thread-0: - NedWorker error for ned_show_cli

 

java.lang.IllegalArgumentException: Illegal group reference

 

        at java.util.regex.Matcher.appendReplacement(Matcher.java:857)

 

        at java.util.regex.Matcher.replaceAll(Matcher.java:955)

 

        at java.lang.String.replaceAll(String.java:2223)

 

        at com.tailf.packages.ned.vrp.VrpNedCli.recoverCipher(VrpNedCli.java:2204)

 

        at com.tailf.packages.ned.vrp.VrpNedCli.getConfig(VrpNedCli.java:1802)

 

        at com.tailf.packages.ned.vrp.VrpNedCli.show(VrpNedCli.java:1780)

 

        at com.tailf.ned.NedWorker.dorun(NedWorker.java:1562)

 

        at com.tailf.ned.NedWorker.run(NedWorker.java:292)

 

 

2 REPLIES 2
Highlighted
Cisco Employee

 

Hi Chunda,

 

   Pls check whether there’s special characters in the bgp password.

 

   I encounter similar case, fixed it by modify the NED code using ‘quoteReplacement’ as shown in the left,FYI.

 

  

 

Highlighted
Cisco Employee

 

Hi yuanchao and experts,

 

 

Thanks for your quick help. The password entered was clear text and router encrypt them to below special characters as below.

 

 

Suspicious trigger config:

  

bgp 9929

 

ipv4-family vpn-instance BMW-HIN

 

  peer 10.0.16.206 password cipher %^%#{W:6<gjcQ->#fo>EtTz2ku4vAzTp`QOvTWDctY<"%^%#

 

 

  

 

Content for Community-Ad
Cisco Community August2020 Spotlight Award Winners
This widget could not be displayed.