darkphase / klish

Tool for Implementing Custom Shells

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When the parameter of the name of the view include upper letters, it will delete all commands of the view in running-config

GoogleCodeExporter opened this issue · comments

Hi,

When the parameter of the name of the view include upper letters, it will 
delete all commands of the view in running-config even if current parameter is 
the same as the last time. if the parameters are all lower letters, the issue 
will not be occur. The version of klish which i am using is 1.5.1, and linux 
version is 2.6.28.

step1:
<system-mac> ssid cisco
<Cisco> broadcast ssid on
<Cisco> encryption mode open type none
<Cisco> exit
<system-mac> do show running-config

result1:
ssid cisco
 broadcast ssid on
 encryption mode open type none
 exit

step2:
<system-mac> ssid cisco (the ssid name is the same as step1)
<Cisco> do show running-config

result2:
ssid cisco
 broadcast ssid on
 encryption mode open type none
 exit

the commands of the ssid view is still exist when the parameters are all lower 
letters.

step3:
<system-mac> ssid Cisco
<Cisco> broadcast ssid on
<Cisco> encryption mode open type none
<Cisco> exit
<system-mac> do show running-config

result3:
ssid Cisco
 broadcast ssid on
 encryption mode open type none
 exit

step4:
<system-mac> ssid Cisco (the ssid name is the same as step3)
<Cisco> do show running-config

result4:
ssid Cisco

The parameter of the ssid include a upper letter, it delete all the commands 
under the ssid in running-config. I don't know the why. Please help.

Thanks
Zijunzhao


Original issue reported on code.google.com by zijzh...@gmail.com on 18 Dec 2012 at 5:28

Hi

Since klish-1.5.3 the konfd is case sensetive. Probably case-insensibility is 
your problem. Try newer release.

Original comment by serj.kalichev@gmail.com on 18 Dec 2012 at 9:13

Original comment by serj.kalichev@gmail.com on 19 Dec 2012 at 5:47

  • Changed state: Done