Цитата:
Нет это реализовать в этой серии невозможно.
А в серии DES-3200?
Возможно использовать в ACL IP признак влана при работе с ACL через snmp?
Есть задача пропустить тегированный трафик во влане, никак в него не вмешиваясь.
Для меня не принципиально будет ли решение основано на ACL IP или на ACL Ethernet, главное чтобы это хоть как-то можно было сделать, потому что пока что не получается никак.
Конкретно есть ACL:
Код:
create access_profile ip vlan profile_id 1
config access_profile profile_id 1 add access_id 1 ip vlan vlan4010 port 1 permit
Нужно создать правило через snmp:
Цитата:
.1.3.6.1.4.1.171.12.9.3.2.1.3 — swACLIpRuleVlan
.1.3.6.1.4.1.171.12.9.3.2.1.21 — swACLIpRulePort
.1.3.6.1.4.1.171.12.9.3.2.1.20 — swACLIpRulePermit
.1.3.6.1.4.1.171.12.9.3.2.1.22 — swACLIpRuleRowStatus
snmpset -v 2c -c community IP .1.3.6.1.4.1.171.12.9.3.2.1.3.1.1 x 0FAA .1.3.6.1.4.1.171.12.9.3.2.1.21.1.1 x 8000000000000000 .1.3.6.1.4.1.171.12.9.3.2.1.20.1.1 i 2 .1.3.6.1.4.1.171.12.9.3.2.1.22.1.1 i 4
Error in packet.
Reason: commitFailed
Failed object: iso.3.6.1.4.1.171.12.9.3.2.1.22.1.1
Чего-то не хватает?
Вариант решить задачу через ACL Ethernet тоже устраивает, но тоже не работает.
Код:
create access_profile ethernet vlan profile_id 1
config access_profile profile_id 1 add access_id 1 ethernet vlan vlan4010 port 1 permit
Цитата:
.1.3.6.1.4.1.171.12.9.3.1.1.13 — swACLEtherRulePermit
.1.3.6.1.4.1.171.12.9.3.1.1.14 — swACLEtherRulePort
.1.3.6.1.4.1.171.12.9.3.1.1.3 — swACLEtherRuleVlan
.1.3.6.1.4.1.171.12.9.3.1.1.15 — swACLEtherRuleRowStatus
snmpset -v 2c -c community IP .1.3.6.1.4.1.171.12.9.3.1.1.13.1.1 i 2 .1.3.6.1.4.1.171.12.9.3.1.1.14.1.1 x 8000000000000000 .1.3.6.1.4.1.171.12.9.3.1.1.3.1.1 x 0FAA .1.3.6.1.4.1.171.12.9.3.1.1.15.1.1 i 4
Error in packet.
Reason: commitFailed
Failed object: iso.3.6.1.4.1.171.12.9.3.1.1.15.1.1
Цитата:
aptitude show snmp
Package: snmp
New: yes
State: installed
Automatically installed: no
Version: 5.4.3~dfsg-2
Цитата:
172.16.0.2:5#sh fir i
Command: show firmware information
Image ID : 1(Boot up firmware)
Version : 1.50.B006
Size : 3969932 Bytes
Update Time: 2011/03/16 10:47:47
From : 172.16.0.250
User : admin(Telnet)
Можно пример удачного создания правил через snmp для профилей
create access_profile ip vlan profile_id 1 и
create access_profile ethernet vlan profile_id 1?