Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Is there an oid to write the running configuration on catalyst switches?

Hello there,

Title pretty much says it all, Is there an oid to write the running configuration on catalyst switches?

I've had a look on-line and I simply can't find on that will work. 

 

Your help is appreciated. 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Are you looking OID for

2 REPLIES

Hi Are you looking OID for

New Member

Yeah these two are exactly

Yeah these two are exactly what I'm looking for..

Only downside is it's not supported on CAT 2960  12.2(25), even though it says it is according to the MIB.

/sigh

 

 

Thanks for the help. 

 

cofigWriteMem        OBJECT-TYPE
        SYNTAX        TruthValue
        MAX-ACCESS    read-write
        STATUS        current
        DESCRIPTION   "When this object is set to true(1), the current
                      configuration is saved in text format in the
                      location specified by configTextFileLocation.
                      This object is only instantiated when configMode
                      has the value of text(2). When read,
                      this object always returns false(2). "
        ::= { configGrp 3 }

configWriteMemStatus  OBJECT-TYPE
        SYNTAX        INTEGER {
                        inProgress(1),
                        succeeded(2),
                        resourceUnavailable(3),
                        badFileName(4),
                        someOtherError(5)
                              }
        MAX-ACCESS    read-write
        STATUS        current
        DESCRIPTION   "The status of the current or the most recently
                      completed 'write memory' operation. The possible
                      values are:

                        inProgress - 'write' operation in progress;

                        succeeded - the 'write' was successful (this
                        value is also used when no write has been
                        invoked since the last time the local system
                        restarted);

                        resourceUnavailable, -the 'write' failed because
                        insufficeient resource was available.

                        badFileName - the 'write' failed because the
                        specified destination file was not found.
                        This might be due to invalid FLASH device
                        name or invalid file name.

                        someOtherError - the 'write' failed for some
                        other reason.

                     This object is only instantiated when configMode
                     has the value of text(2). "
       ::= { configGrp 4 }

 

 

66
Views
0
Helpful
2
Replies
CreatePlease to create content