Table 48-3. MIB Objects for Copying Configuration Files via SNMP
MIB Object
copyUserName
copyUserPassword
To copy a configuration file:
Step
Task
1
Create an SNMP community string with read/
write privileges.
2
Copy the f10-copy-config.mib MIB from the Dell Force10 iSupport webpage to the server to which you are
copying the configuration file.
3
On the server, use the command
snmpset -v snmp-version -c community-name -m mib_path/f10-copy-config.mib force10system-ip-address
mib-object.index
•
Every specified object must have an object value, which must be preceded by the keyword
valid values.
•
index
previously, a message like the one in
command again.
•
Use as many MIB Objects in the command as required by the MIB Object descriptions in
the command. See
Note: You can use the entire OID rather than the object name. Use the form:
shown in
Message 2 snmpset Index Value Error
Error in packet.
Reason: notWritable (that object does not support modification)
Failed object: FORCE10-COPY-CONFIG-MIB::copySrcFileType.101
Table 7
shows examples of using the command
that:
•
the server OS is Unix
•
you are using SNMP version 2c
•
the community name is public, and
•
the file f10-copy-config.mib is in the current directory or in the snmpset tool path.
992
|
Simple Network Management Protocol
OID
.1.3.6.1.4.1.6027.3.5.1.1.1.1.9
.1.3.6.1.4.1.6027.3.5.1.1.1.1.10
snmpset
i
a
s
{
|
|
}
object-value...
must be unique to all previously executed
Table 7
or examples.
Figure
57.
Object Values
Username for the
server.
Password for the
server.
Command Syntax
snmp-server community
community-name rw
as shown:
snmpset
commands. If an index value has been used
Message 3
appears. In this case, increment the index value and enter the
snmpset
to copy a configuration. These examples assume
Description
Username for for the FTP, TFTP, or
SCP server.
•
If the copyUserName is specified so
must copyUserPassword.
Password for the FTP, TFTP, or SCP
server.
Command Mode
CONFIGURATION
i
. See
Table 6
Table 6
to complete
OID.index i object-value
for
, as