====== SNMP und IPv6 ====== IPv6 MIBs sind spezifiziert: * [[http://www.ietf.org/wg/concluded/ipv6mib.html|IETF ipv6mib WG]] * [[http://www.net-snmp.org/docs/mibs/|net-snmp Ressourcen: MIB-Ansicht]] [[http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-roadmap.html#wp1189295|Cisco]] und [[http://www.juniper.net/techpubs/en_US/junos10.3/topics/concept/ipv6-mib-overview.html|Juniper]] haben nochmal eigene Erweiterungen dazu Die freien SNMP-Daemons ([[http://www.net-snmp.org/|net-snmp]] und [[http://wiki.freebsd.org/SnmpMonitoring|bsnmp]]) implementieren die MIBs nicht. (Wär das was für ein Studi-Projekt? ;)) ====== How do I specify IPv6 addresses on the command line? ====== IPv6 addresses pose a particular problem for the Net-SNMP command line tools, which parse host names into pieces. In particular, normally if you specify a simple host name, it assumes you want UDP in IPv4 on port 161. IE, these two commands are actually the same (by default): snmpget 127.0.0.1 sysUpTime.0 snmpget udp:127.0.0.1:161 sysUpTime.0 However, for IPv6 this causes a problem because IPv6 addresses also use a colon to separate addressing parts. Thus you need to enclose the address in square brackets ( [ and ] ). Because most shells use these brackets too, you also likely need to quote it: snmpget 'udp6:[::1]:161' sysUpTime.0