Есть 3312SR.
Код:
Device Type : DGS-3312SR Gigabit-Ethernet Switch
Module 1 Type : DEM-340T 4-port 1000BASE-T module
Module 2 Type : DEM-340T 4-port 1000BASE-T module
Unit ID : 15
MAC Address : 00-13-46-FC-D3-20
IP Address : y.y.y.y (Manual)
VLAN Name : default
Subnet Mask : 255.255.255.0
Default Gateway : 0.0.0.0
Boot PROM Version : Build 2.00.003
Firmware Version : Build 3.60-S12
Hardware Version : 0A2
конфиг snmp такой
Код:
delete snmp community public
delete snmp community private
delete snmp user initial
delete snmp group initial
delete snmp view restricted all
delete snmp view CommunityView all
delete snmp group public
delete snmp group private
delete snmp group ReadGroup
delete snmp group WriteGroup
create snmp view restricted 1.3.6.1.2.1.1 view_type included
create snmp view restricted 1.3.6.1.2.1.11 view_type included
create snmp view restricted 1.3.6.1.6.3.10.2.1 view_type included
create snmp view restricted 1.3.6.1.6.3.11.2.1 view_type included
create snmp view restricted 1.3.6.1.6.3.15.1.1 view_type included
create snmp view CommunityView 1 view_type included
create snmp view CommunityView 1.3.6.1.6.3 view_type excluded
create snmp view CommunityView 1.3.6.1.6.3.1 view_type included
create snmp group public v1 read_view CommunityView notify_view CommunityView
create snmp group public v2c read_view CommunityView notify_view CommunityView
create snmp group private v1 read_view CommunityView write_view CommunityView notify_view CommunityView
create snmp group private v2c read_view CommunityView write_view CommunityView notify_view CommunityView
create snmp group ReadGroup v1 read_view CommunityView notify_view CommunityView
create snmp group ReadGroup v2c read_view CommunityView notify_view CommunityView
create snmp group WriteGroup v1 read_view CommunityView write_view CommunityView notify_view CommunityView
create snmp group WriteGroup v2c read_view CommunityView write_view CommunityView notify_view CommunityView
create snmp community private view CommunityView read_write
create snmp community public view CommunityView read_only
create snmp host x.x.x.x v2c private
create snmp host x.x.x.x v2c private
При запросе snmpwalk говорит Timeout: No Response from y.y.y.y и в логах ноль.
При неверной community свитч в логи пишет
Код:
SNMP request received from x.x.x.x with invalid community string!
Что делать?