ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: Inet-Admins
Inet-Admins mailing list archive (inet-admins@info.east.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[inet-admins] clear line



hi!

я что-то делаю не так или киска действительно не умеет делать ClearInt по SNMP?

[IOS (tm) 5300 Software (C5300-IS-M), Version 12.0(5)T1]



OLD-CISCO-SYSTEM-MIB.schema:

                writeonly int   sysClearInt
                description     "Clear interface given IfIndex as value."
                characteristics "-N sysClearInt -O 1.3.6.1.4.1.9.2.1.76 -T
INTEGER -A WO -X equal -F 0"

а на это:

#!/usr/bin/perl
use SNMP_util;
snmpset("$community_wr\@$nas_ip","1.3.6.1.4.1.9.2.1.76","int","$if_no");

выдает такой результат:

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.9.2.1.76)
SNMPv1_Session (remote host: "x.x.x.x" [x.x.x.x].161
                  community: "XXXXXXXX"
                 request ID: 991341747
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)

--
Vitaly Lunyov


=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html



 




Copyright © Lexa Software, 1996-2009.