Denis Evgraphov писал(а):
Вот этот документ Вы смотрели?
Цитата:
How to set IP MAC Port Binding on DES-1210-28ME via SNMP.docx
В нем как раз пример для R6 прошивок.
Берем пример из how-to:
Код:
snmpset -v2c -c private 10.0.0.235 1.3.6.1.4.1.171.10.75.15.2.14.10.3.1.4.10.90.90.221.0.1.2.2.3.5 i 5
Error in packet.
Reason: noCreation (That table does not support row creation or that object can not ever be created)
Failed object: SNMPv2-SMI::enterprises.171.10.75.15.2.14.10.3.1.4.10.90.90.221.0.1.2.2.3.5
Тогда почему не создается связка? Если дело в прошивке так и скажите, я буду сидеть и ждать. Спасибо
Код:
# SNMP
enable snmp
create snmp user ReadOnly ReadOnly v1
create snmp user ReadOnly ReadOnly v2c
create snmp user ReadWrite ReadWrite v1
create snmp user ReadWrite ReadWrite v2c
create snmp group ReadOnly v1 read_view ReadWrite notify_view ReadWrite
create snmp group ReadOnly v2c read_view ReadWrite notify_view ReadWrite
create snmp group ReadWrite v1 read_view ReadWrite write_view ReadWrite notify_view ReadWrite
create snmp group ReadWrite v2c read_view ReadWrite write_view ReadWrite notify_view ReadWrite
create snmp view ReadWrite 1 1 view_type included
create snmp community public ReadOnly
create snmp community private ReadWrite
config snmp engineID 4445532d313231302d32389094e45d128a
disable snmp authenticate traps
config snmp coldstart_traps disable
config snmp warmstart_traps disable
disable snmp linkchange_traps
config snmp linkchange_traps ports 1-28 disable
disable snmp rstpport_state_change traps
disable snmp firmware_upgrade_state traps
disable snmp port_security_violation traps
disable snmp IMPB_violation traps
disable snmp LBD traps
disable snmp DHCP_screening traps
disable snmp duplicate_IP_detected traps