cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2128
Views
0
Helpful
1
Replies
Highlighted

Unable to Open .cfg file in NVRAM or Flash in Cisco GNS3 Router

Hello Cisco Community

A program that I'm using to manage cisco devices has created a .cfg file in nvram in a gns3 router. When the program tries to access the I get the following error message:

'Could not open policy cfg file'

The file is a Tcl file. The full error message is as follows:

+>(tcl)#if { [catch { set source [open nvram:/syslogTEST46.cfg] } fid] } {

+>(tcl)# puts stderr "Could not open policy cfg file: $fid "

Can someone please tell me what could cause the .cfg from being opened?

Your expeditious assistance with this will be greatly appreciated.

Cheers

Carlton

1 REPLY 1
Highlighted
Hall of Fame Cisco Employee

You're missing an access mode:

if { [catch {set source [open nvram:/syslogTEST46.cfg r] } fid] } {

    ...

}

Content for Community-Ad