Managing SNMP
Simple Network Management Using Net-SNMP and ftlSNMP
8-21
To control firmware burn (
FWBURN
)
#
snmpset -v 3 -t 40 -l authNoPriv -u v3user -A
new_passwd
localhost 1.3.6.1.4.1.458.107.1.2.1.2.3.1.15.1 s FWBURN
Example: Managing Hardware
In this example, only relevant portions of the
ftsmaint
command output are shown.
The following example illustrates bringing a CPU-I/O enclosure down and then back
up.
Issue the following command to check the status of CPU element 0, I/O element 10:
#
/opt/ft/bin/ftsmaint ls 0
H/W Path : 0
Description : Combined CPU/IO
State : ONLINE
Op State : DUPLEX
Reason : SECONDARY
LED (Green) : ON
LED (Yellow) : OFF
LED (White) : ON
...
The command output shows that CPU element 0 is online and duplexed, so it is safe
to remove if from service. To bring down CPU element 0 by invoking the
ftcCpubdInitiateBringDown
command, use the whole numeric OID for that
command (
1.3.6.1.4.1.458.107.1.2.1.2.3.1.13
) plus the CPU element 0
index (1) as the final octet. Thus, the complete OID is:
1.3.6.1.4.1.458.107.1.2.1.2.3.1.13.1
The following example assumes that the community string “private” has been defined
in
/etc/opt/ft/snmp/snmpd.conf
.
#
snmpset -v 1 -c private localhost
1.3.6.1.4.1.458.107.1.2.1.2.3.1.13.1 s test
SRA-ftLinux-MIB::ftcCpubdInitiateBringDown.3 = STRING:
"test"
#