04-03-2003 06:00 AM - edited 03-02-2019 06:22 AM
Hello.
Can anybody tell me what string I should write into the following variable to upload running configuration from the router to tftp server.
Name: writeNet
Type: OBJECT-TYPE
OID: 1.3.6.1.4.1.9.2.1.55
Numerical syntax: Octets
Base syntax: OCTET STRING
Composed syntax: DisplayString
Status: mandatory
Max access: write-only
Description: Write configuration to host using TFTP.
Thanks in advance.
Solved! Go to Solution.
04-03-2003 06:27 AM
Hi, the octet string is the name of the network file.
For more Info:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a008009463e.shtml#task
New syntax is:
***************************************************************************************
copy the running-config to a TFTP-server
***************************************************************************************
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpget -c private
***************************************************************************************
"ccCopyEntryRowStatus" "1.3.6.1.4.1.9.9.96.1.1.1.1.14"
ccCopyEntryRowStatus OBJECT-TYPE
SYNTAX RowStatus
-- Rsyntax INTEGER {
-- active(1),
-- notInService(2),
-- notReady(3),
-- createAndGo(4),
-- createAndWait(5),
-- destroy(6)
"ccCopyProtocol" "1.3.6.1.4.1.9.9.96.1.1.1.1.2"
ConfigCopyProtocol ::= INTEGER {
tftp(1),
ftp(2),
rcp(3) }
"ccCopySourceFileType" "1.3.6.1.4.1.9.9.96.1.1.1.1.3"
ccCopySourceFileType OBJECT-TYPE
SYNTAX ConfigFileType
-- Rsyntax INTEGER {
-- networkFile(1),
-- iosFile(2),
-- startupConfig(3),
-- runningConfig(4),
-- terminal(5)
"ccCopyDestFileType" "1.3.6.1.4.1.9.9.96.1.1.1.1.4"
ccCopyDestFileType OBJECT-TYPE
SYNTAX ConfigFileType
-- Rsyntax INTEGER {
-- networkFile(1),
-- iosFile(2),
-- startupConfig(3),
-- runningConfig(4),
-- terminal(5)
"ccCopyServerAddress" "1.3.6.1.4.1.9.9.96.1.1.1.1.5"
ccCopyServerAddress OBJECT-TYPE
SYNTAX IpAddress
"ccCopyFileName" "1.3.6.1.4.1.9.9.96.1.1.1.1.6"
ccCopyFileName OBJECT-TYPE
SYNTAX DisplayString
"ccCopyState" "1.3.6.1.4.1.9.9.96.1.1.1.1.10"
ConfigCopyState ::= INTEGER {
waiting(1),
running(2),
successful(3),
failed(4)
"ccCopyFailCause" "1.3.6.1.4.1.9.9.96.1.1.1.1.13"
ConfigCopyFailCause ::= INTEGER {
unknown(1),
badFileName(2),
timeout(3),
noMem(4),
noConfig(5)
regards Ulrich Marzoli
04-03-2003 07:11 AM
Have a look at this tech tip: http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa6.shtml
04-03-2003 06:27 AM
Hi, the octet string is the name of the network file.
For more Info:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a008009463e.shtml#task
New syntax is:
***************************************************************************************
copy the running-config to a TFTP-server
***************************************************************************************
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpset -c private
snmpget -c private
***************************************************************************************
"ccCopyEntryRowStatus" "1.3.6.1.4.1.9.9.96.1.1.1.1.14"
ccCopyEntryRowStatus OBJECT-TYPE
SYNTAX RowStatus
-- Rsyntax INTEGER {
-- active(1),
-- notInService(2),
-- notReady(3),
-- createAndGo(4),
-- createAndWait(5),
-- destroy(6)
"ccCopyProtocol" "1.3.6.1.4.1.9.9.96.1.1.1.1.2"
ConfigCopyProtocol ::= INTEGER {
tftp(1),
ftp(2),
rcp(3) }
"ccCopySourceFileType" "1.3.6.1.4.1.9.9.96.1.1.1.1.3"
ccCopySourceFileType OBJECT-TYPE
SYNTAX ConfigFileType
-- Rsyntax INTEGER {
-- networkFile(1),
-- iosFile(2),
-- startupConfig(3),
-- runningConfig(4),
-- terminal(5)
"ccCopyDestFileType" "1.3.6.1.4.1.9.9.96.1.1.1.1.4"
ccCopyDestFileType OBJECT-TYPE
SYNTAX ConfigFileType
-- Rsyntax INTEGER {
-- networkFile(1),
-- iosFile(2),
-- startupConfig(3),
-- runningConfig(4),
-- terminal(5)
"ccCopyServerAddress" "1.3.6.1.4.1.9.9.96.1.1.1.1.5"
ccCopyServerAddress OBJECT-TYPE
SYNTAX IpAddress
"ccCopyFileName" "1.3.6.1.4.1.9.9.96.1.1.1.1.6"
ccCopyFileName OBJECT-TYPE
SYNTAX DisplayString
"ccCopyState" "1.3.6.1.4.1.9.9.96.1.1.1.1.10"
ConfigCopyState ::= INTEGER {
waiting(1),
running(2),
successful(3),
failed(4)
"ccCopyFailCause" "1.3.6.1.4.1.9.9.96.1.1.1.1.13"
ConfigCopyFailCause ::= INTEGER {
unknown(1),
badFileName(2),
timeout(3),
noMem(4),
noConfig(5)
regards Ulrich Marzoli
04-03-2003 07:11 AM
Have a look at this tech tip: http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa6.shtml
04-06-2003 11:25 PM
Thank you for help. I used obsolete MIB, that, proposed by you is much more convenient.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: