Index menü
A táblák megjeleníthetőek snmptable
-lel, vagy bejárhatóak OID-onként az snmpwalk
-kal.
# hrSWRunTable = 1.3.6.1.2.1.25.4.2 snmptable -v 2c -c 'public' localhost 'hrSWRunTable' | less -S
snmpwalk -v 2c -c 'public' localhost 'hrSWRunTable' | less
snmpwalk -v 2c -c 'public' localhost 'hrSWRunTable.1.2' | less
snmptable -v 2c -c public localhost udpTable | less -S
SNMP table: UDP-MIB::udpTable udpLocalAddress udpLocalPort 0.0.0.0 111 0.0.0.0 123 0.0.0.0 137 0.0.0.0 138 0.0.0.0 161 0.0.0.0 629 0.0.0.0 775 0.0.0.0 2049 0.0.0.0 40709 0.0.0.0 45351 192.168.0.2 123 192.168.0.2 137 192.168.0.2 138 192.168.0.2 162 192.168.0.2 514 192.168.0.255 137 192.168.0.255 138 127.0.0.1 123 127.0.0.1 162
snmptable -v 2c -c public localhost tcpConnTable | less -S
SNMP table: TCP-MIB::tcpConnTable tcpConnState tcpConnLocalAddress tcpConnLocalPort tcpConnRemAddress tcpConnRemPort listen 0.0.0.0 22 0.0.0.0 0 listen 0.0.0.0 80 0.0.0.0 0 listen 0.0.0.0 111 0.0.0.0 0 listen 0.0.0.0 139 0.0.0.0 0 listen 0.0.0.0 199 0.0.0.0 0 listen 0.0.0.0 443 0.0.0.0 0 listen 0.0.0.0 445 0.0.0.0 0 listen 0.0.0.0 775 0.0.0.0 0 listen 0.0.0.0 2049 0.0.0.0 0 established 192.168.0.2 22 192.168.0.3 54136 listen 192.168.0.2 514 0.0.0.0 0 listen 192.168.0.2 601 0.0.0.0 0 listen 192.168.0.2 6514 0.0.0.0 0 listen 127.0.0.1 1271 0.0.0.0 0 established 127.0.0.1 1271 127.0.0.1 56224 listen 127.0.0.1 1514 0.0.0.0 0 established 127.0.0.1 1514 127.0.0.1 34757 listen 127.0.0.1 8080 0.0.0.0 0 listen 127.0.0.1 10514 0.0.0.0 0 established 127.0.0.1 10514 127.0.0.1 36395 established 127.0.0.1 34757 127.0.0.1 1514 established 127.0.0.1 36395 127.0.0.1 10514 established 127.0.0.1 56224 127.0.0.1 1271