snmp
PEDRO MAGOS <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello. Im PeterSteiner, from Mexico, thanks to all, especially to kian,Farreira & DaveShield i used the command snmpwalk, [root@mihost ~]# snmpwalk -v 3 -u petersteiner -a MD5 -A frase-para-la-desktop -l authNoPriv mihost.ejemplo.com ifDescr IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifDescr.3 = STRING: sit0 snmpwalk -v 3 -u petersteiner -a MD5 -A frase-para-la-desktop -l authNoPriv mihost.ejemplo.com ifAdminStatus IF-MIB::ifAdminStatus.1 = INTEGER: up(1) IF-MIB::ifAdminStatus.2 = INTEGER: up(1) IF-MIB::ifAdminStatus.3 = INTEGER: down(2) [root@mihost ~]# snmpwalk -v 3 -u petersteiner -a MD5 -A frase-para-la-desktop -l authNoPriv mihost.ejemplo.com ifPhysAddress IF-MIB::ifPhysAddress.1 = STRING: IF-MIB::ifPhysAddress.2 = STRING: 0:14:22:4a:19:a IF-MIB::ifPhysAddress.3 = STRING: [root@mihost ~]# snmpwalk -v 3 -u petersteiner -a MD5 -A frase-para-la-desktop -l authNoPriv mihost.ejemplo.com ifMtu IF-MIB::ifMtu.1 = INTEGER: 16436 IF-MIB::ifMtu.2 = INTEGER: 1500 IF-MIB::ifMtu.3 = INTEGER: 1480 But i want only the output for eth0, how can i do that. Thanks AGAIN --------------------------------- Do You Yahoo!? La mejor conexión a Internet y 2GB extra a tu correo por $100 al mes. http://net.yahoo.com.mx ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
(unnamed)
(message/rfc822, 4.7 KB) - not displayed