ECS4100 series fileCopyMgt OID: 1.3.6.1.4.1.259.10.1.46.1.24.1
ECS4120 series fileCopyMgt OID: 1.3.6.1.4.1.259.10.1.45.1.24.1
ECS4510 series fileCopyMgt OID: 1.3.6.1.4.1.259.10.1.24.1.24.1
ECS4110 series fileCopyMgt OID: 1.3.6.1.4.1.259.10.1.39.1.24.1
ECS4210 series fileCopyMgt OID: 1.3.6.1.4.1.259.10.1.42.101.1.24.1
ES3510MA fileCopyMgt OID: 1.3.6.1.4.1.259.8.1.11.1.24.1
ECS3510-28T/52T fileCopyMgt OID: 1.3.6.1.4.1.259.10.1.27.1.24.1
ES3528MV2 fileCopyMgt OID: 1.3.6.1.4.1.259.10.1.22.1.24.1
ECS2100 series fileCopyMgt OID: 1.3.6.1.4.1.259.10.1.43.1.24.1
ECS4620 series fileCopyMGt OID: 1.3.6.1.4.1.259.10.1.41.1.24.1
<A> Download the file via SNMP. (Below the sample is for ECS2100 series)
Step 1: specifies where to copy from.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.1.0 i 1
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.1.0 = INTEGER: 1
192.168.1.2 switch's IP
1.3.6.1.4.1.259.10.1.43.1.24.1.1.0 means fileCopySrcOperType
i 1: file(1) indicates switch’s file.
Step 2: specifies source file name.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.2.0 s test_ECS2100.cfg
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.2.0 = STRING: "test_ECS2100.cfg"
1.3.6.1.4.1.259.10.1.43.1.24.1.2.0 means fileCopySrcFileName
s test_ECS2100.cfg : source file name
Step 3: specifies where to copy to.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.3.0 i 4
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.3.0 = INTEGER: 4
1.3.6.1.4.1.259.10.1.43.1.24.1.3.0 means fileCopyDestOperType
i 4: tftp(4) If you want to file copy to FTP server, you should choose 7.
Step 4: specifies destination file name.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.4.0 s test_ECS2100.cfg
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.4.0 = STRING: "test_ECS2100.cfg"
1.3.6.1.4.1.259.10.1.43.1.24.1.4.0 means fileCopyDestFileName
s test_ECS2100.cfg : destinatoin file name
Step 5: specifies file type.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.5.0 i 2
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.5.0 = INTEGER: 2
1.3.6.1.4.1.259.10.1.43.1.24.1.5.0 means fileCopyFileType
i 2: config (2) ---> indicates configuration file.
If you want to download the firmware, please specify to 1.
Step 6: specifies internet address type.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.20.0 i 1
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.20.0 = INTEGER: 1
1.3.6.1.4.1.259.10.1.43.1.24.1.20.0 means fileCopyServerInetAddressType
i 1: ipv4 (1) --> internet address type of the remote server
Step 7: specifies Server's IP.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.21.0 x C0A80101
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.21.0 = Hex-STRING: C0 A8 01 01
1.3.6.1.4.1.259.10.1.43.1.24.1.21.0 means fileCopyServerInetAddress
x C0A80101: TFTP Server’s IP need in hexadecimal.
You can convert your IP to hexadecimal via this link.
Step 8: begin the copy operation.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.8.0 i 2
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.8.0 = INTEGER: 2
1.3.6.1.4.1.259.10.1.43.1.24.1.8.0 means fileCopyAction
i 2: copy (2)---> setting this object to begin the copy operation.
<B> Upload the file via SNMP.
Step 1: specifies where to copy from.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.1.0 i 4
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.1.0 = INTEGER: 4
1.3.6.1.4.1.259.10.1.43.1.24.1.1.0 means fileCopySrcOperType
i 4: tftp(4) If you want to upload the file via FTP server, you should choose 7.
Step 2: specifies source file name.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.2.0 s test_ECS2100.cfg
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.2.0 = STRING: "test_ECS2100.cfg"
1.3.6.1.4.1.259.10.1.43.1.24.1.2.0 means fileCopySrcFileName
s test_ECS2100.cfg : source file name
Step 3: specifies where to copy to.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.3.0 i 1
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.3.0 = INTEGER: 1
1.3.6.1.4.1.259.10.1.43.1.24.1.3.0 means fileCopyDestOperType
i 1: file(1) indicates switch’s file.
Step 4: specifies destination file name.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.4.0 s test_ECS2100.cfg
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.4.0 = STRING: "test_ECS2100.cfg"
1.3.6.1.4.1.259.10.1.43.1.24.1.4.0 means fileCopyDestFileName
s test_ECS2100.cfg : destinatoin file name
Step 5: specifies file type.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.5.0 i 2
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.5.0 = INTEGER: 2
1.3.6.1.4.1.259.10.1.43.1.24.1.5.0 means fileCopyFileType
i 2: config (2) ---> indicates configuration file.
If you want to upload the firmware, please specify to 1.
Step 6: specifies internet address type.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.20.0 i 1
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.20.0 = INTEGER: 1
1.3.6.1.4.1.259.10.1.43.1.24.1.20.0 means fileCopyServerInetAddressType
i 1: ipv4 (1) --> internet address type of the remote server
Step 7: specifies Server's IP.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.21.0 x C0A80101
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.21.0 = Hex-STRING: C0 A8 01 01
1.3.6.1.4.1.259.10.1.43.1.24.1.21.0 means fileCopyServerInetAddress
x C0A80101: TFTP Server’s IP need in hexadecimal.
You can convert your IP to hexadecimal via this link.
Step 8: begin the copy operation.
C:\Users\Administrator\Desktop>snmpset -v 2c -c private 192.168.1.2 1.3.6.1.4.1.259.10.1.43.1.24.1.8.0 i 2
SNMPv2-SMI::enterprises.259.10.1.43.1.24.1.8.0 = INTEGER: 2
1.3.6.1.4.1.259.10.1.43.1.24.1.8.0 means fileCopyAction
i 2: copy (2)---> setting this object to begin the copy operation.
Step 9: Specify the bootup FW
snmpset -v 2c -c private 10.100.41.241 1.3.6.1.4.1.259.10.1.46.1.7.1.0 s "runtime.bix"
Step 10: reboot DUT
snmpset -v 2c -c private 10.100.41.241 1.3.6.1.4.1.259.10.1.46.1.7.3.0 i 3
i 3: cold start.
Comments
0 comments
Please sign in to leave a comment.