snmp-agent community read public
snmp-agent sys-info version all
snmp-agent trap enable
|
测试 -v 2c -c 0511idc 222.186.*.* if
[root@vi ~]# snmpwalk -v 2c -c 0511idc 222.186.*.* if
IF-MIB::ifIndex.14 = INTEGER: 14
IF-MIB::ifIndex.16 = INTEGER: 16
IF-MIB::ifIndex.31 = INTEGER: 31
IF-MIB::ifIndex.823 = INTEGER: 823
IF-MIB::ifIndex.1623 = INTEGER: 1623
IF-MIB::ifIndex.8015 = INTEGER: 8015
IF-MIB::ifIndex.8031 = INTEGER: 8031
IF-MIB::ifIndex.8047 = INTEGER: 8047
IF-MIB::ifIndex.4227614 = INTEGER: 4227614
IF-MIB::ifIndex.4227625 = INTEGER: 4227625
IF-MIB::ifIndex.4227633 = INTEGER: 4227633
IF-MIB::ifIndex.4227641 = INTEGER: 4227641
IF-MIB::ifIndex.4227649 = INTEGER: 4227649
IF-MIB::ifIndex.4227657 = INTEGER: 4227657
.
阅读(1218) | 评论(0) | 转发(0) |