Dell S50V Switch User Manual


  Open as PDF
of 1262
 
992 | Simple Network Management Protocol
www.dell.com | support.dell.com
To copy a configuration file:
Table 7 shows examples of using the command snmpset to copy a configuration. These examples assume
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.
copyUserName .1.3.6.1.4.1.6027.3.5.1.1.1.1.9 Username for the
server.
Username for for the FTP, TFTP, or
SCP server.
If the copyUserName is specified so
must copyUserPassword.
copyUserPassword .1.3.6.1.4.1.6027.3.5.1.1.1.1.10 Password for the
server.
Password for the FTP, TFTP, or SCP
server.
Step Task Command Syntax Command Mode
1 Create an SNMP community string with read/
write privileges.
snmp-server community
community-name rw
CONFIGURATION
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 as shown:
snmpset -v snmp-version -c community-name -m mib_path/f10-copy-config.mib force10system-ip-address
mib-object.index
{i | a | s} object-value...
Every specified object must have an object value, which must be preceded by the keyword i. See Table 6 for
valid values.
index must be unique to all previously executed snmpset commands. If an index value has been used
previously, a message like the one in Message 3 appears. In this case, increment the index value and enter the
command again.
Use as many MIB Objects in the command as required by the MIB Object descriptions in Table 6 to complete
the command. See Table 7 or examples.
Note: You can use the entire OID rather than the object name. Use the form: OID.index i object-value, as
shown in Figure 57.
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 48-3. MIB Objects for Copying Configuration Files via SNMP
MIB Object OID Object Values Description