All MIBs › FOUNDRY-SN-AGENT-MIB › snAgImgLoad
snAgImgLoad
Module: FOUNDRY-SN-AGENT-MIB
OID (symbolic): FOUNDRY-SN-AGENT-MIB::snAgImgLoad
OID (numeric): 1.3.6.1.4.1.1991.1.1.2.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
Action object to down/up load a new image to the agent. The following values: Error values: from normal(1) to operationError(17) and tftpWrongFileType(23). loading(18) .. operation is in process.
The following values are used for set : uploadMPPrimary(19)..upload the Primary image from MP flash to tftp server. downloadMPPrimary(20)..download the Primary image from tftp server to MP flash. uploadMPSecondary(21)..upload the Secondary image from MP flash to tftp server. downloadMPSecondary(22)..download the Secondary image from tftp server to MP flash. downloadSPPrimary(24)..download the Primary image from tftp server to SP flash. downloadSPSecondary(25)..download the Secondary image from tftp server to SP flash. uploadMPBootROM(26)..upload the Boot from flash image from MP flash to tftp server. downloadMPBootROM(27)..download the Boot from flash image from tftp server to MP flash. uploadMPBootTFTP(28)..upload the Boot from TFTP image from MP flash to tftp server. downloadMPBootTFTP(29)..download the Boot from TFTP image from tftp server to MP flash. uploadMPMonitor(30)..upload the Monitor image from MP flash to tftp server. downloadMPMonitor(31)..download the Monitor image from tftp server to MP flash. downloadSPBootROM(32)..download the Boot image from tftp server to SP flash. downloadSPMonitor(33)..download the Monitor image from tftp server to SP flash.
MP is the management processor, SP is the switch processor.
The image filename is defined in snAgImgFname. The tftp server address is defined in snAgTftpServerIp. Atomic set of snAgImgLoad, snAgImgFname and snAgTftpServerIp is required to allow down/up load to happen. And the write request will be rejected during loading until error or normal.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.2.1.7 snmpwalk -v2c -c public <target> FOUNDRY-SN-AGENT-MIB::snAgImgLoad
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.2.1.7.1 snmpget -v2c -c public <target> FOUNDRY-SN-AGENT-MIB::snAgImgLoad.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.1991.1.1.2.1.7.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> snAgImgLoad.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1 | products | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1 | switch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.2 | snAgentSys | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.2.1 | snAgentGbl | FOUNDRY-SN-AGENT-MIB |
| 1.3.6.1.4.1.1991.1.1.2.1.7 | snAgImgLoad | FOUNDRY-SN-AGENT-MIB |