Dell Force10 C150 Configuration Manual page 993

Ftos configuration guide ftos 8.4.2.7 e-series terascale, c-series, s-series (s50/s25)
Hide thumbs Also See for Force10 C150:
Table of Contents

Advertisement

Note: In Unix, enter the command
f10-copy-config.mib the directory from which you are executing the
tool path.
Table 48-4. Copying Configuration Files via SNMP
Task
Copy the running-config to the startup-config using the following command from the Unix machine:
snmpset -v 2c -c public -m ./f10-copy-config.mib force10system-ip-address copySrcFileType.index i 2
copyDestFileType.index i 3
Figure 48-6
show the command syntax using MIB object names, and
object OIDs. In both cases, the object is followed by a unique index number.
Figure 48-6. Copying Configuration Files via SNMP using Object-Name Syntax
> snmpset -v 2c -r 0 -t 60 -c public -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.101 i
2 copyDestFileType.101 i 3
FORCE10-COPY-CONFIG-MIB::copySrcFileType.101 = INTEGER: runningConfig(2)
FORCE10-COPY-CONFIG-MIB::copyDestFileType.101 = INTEGER: startupConfig(3)
Figure 48-7. Copying Configuration Files via SNMP using OID Syntax
> snmpset -v 2c -c public -m ./f10-copy-config.mib 10.10.10.10
.1.3.6.1.4.1.6027.3.5.1.1.1.1.2.100 i 2 .1.3.6.1.4.1.6027.3.5.1.1.1.1.5.100 i 3
FORCE10-COPY-CONFIG-MIB::copySrcFileType.100 = INTEGER: runningConfig(2)
FORCE10-COPY-CONFIG-MIB::copyDestFileType.100 = INTEGER: startupConfig(3)
Copy the startup-config to the running-config using the following command from a Unix machine:
snmpset -c private -v 2c
Figure 48-8. Copying Configuration Files via SNMP using Object-Name Syntax
> snmpset -c public -v 2c -m ./f10-copy-config.mib 10.11.131.162 copySrcFileType.7 i 3
copyDestFileType.7 i 2
FORCE10-COPY-CONFIG-MIB::copySrcFileType.7 = INTEGER: runningConfig(3)
FORCE10-COPY-CONFIG-MIB::copyDestFileType.7 = INTEGER: startupConfig(2)
Figure 48-9. Copying Configuration Files via SNMP using OID Syntax
>snmpset -c public -v 2c 10.11.131.162 .1.3.6.1.4.1.6027.3.5.1.1.1.1.2.8 i 3
.1.3.6.1.4.1.6027.3.5.1.1.1.1.5.8 i 2
SNMPv2-SMI::enterprises.6027.3.5.1.1.1.1.2.8 = INTEGER: 3
SNMPv2-SMI::enterprises.6027.3.5.1.1.1.1.5.8 = INTEGER: 2
Copy the startup-config to the server via FTP using the following command from the Unix machine:
snmpset -v 2c -c public -m ./f10-copy-config.mib force10system-ip-address copySrcFileType.index i 2
copyDestFileName.index s filepath/filename copyDestFileLocation.index i 4 copyServerAddress.index a
server-ip-address copyUserName.index s server-login-id copyUserPassword.index s server-login-password
snmpset
force10system-ip-address copySrcFileType.index i 3 copyDestFileType.index i 2
for help using this command. Place the file
Figure 48-7
shows the same command using the
snmpset
command or in the snmpset
Simple Network Management Protocol | 993

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents