Зарегистрирован: Вт май 06, 2008 22:33 Сообщений: 38
|
|
Делаю: snmpset -v2c -c$commu $ip 1.3.6.1.4.1.171.12.1.2.18.1.1.3.3 a $ips snmpset -v2c -c$commu $ip 1.3.6.1.4.1.171.12.1.2.18.1.1.5.3 s $tftpfile snmpset -v2c -c$commu $ip 1.3.6.1.4.1.171.12.1.2.18.1.1.7.3 s config.cfg snmpset -v2c -c$commu $ip 1.3.6.1.4.1.171.12.1.2.18.1.1.8.3 i 3 snmpset -v2c -c$commu $ip 1.3.6.1.4.1.171.12.1.2.18.1.1.12.3 i 3
после чего файл описанный в $tftpfile - появляется, но он пуст (: так и не понял - почему ( пробовал не указывать 1.3.6.1.4.1.171.12.1.2.18.1.1.7.3 - результат тот же)..
Вывод двух команд ( на 3200 )
DES-3200-28:admin#dir Command: dir
Directory of /c:
Idx Info Attr Size Update Time Name --- ------- ---- -------- ------------------- ---------------- 1 CFG(*) -rw- 39266 2000/01/01 01:18:23 config.cfg 2 RUN(*) -rw- 6138204 2013/11/28 10:42:19 runtime.had 3 d--- 2000/01/01 00:00:02 system
29618 KB total (23492 KB free) (*) -with boot up info (b) -with backup info
DES-3200-28:admin#
sh ver
show switch Command: show switch
Device Type : DES-3200-28 Fast Ethernet Switch MAC Address : D8-FE-E3-8F-21-20 Boot PROM Version : Build 4.00.002 Firmware Version : Build 4.36.B009 Hardware Version : C1 Serial Number : R3DZ1D7004757
|
|