SSTS Posted October 22, 2008 Posted October 22, 2008 Кто из местной публики работал с Linksys SPS224G4? непонятно как работает ACL делаю так: ip access-list test deny icmp any any exit потом: interface ethernet e1 service-acl input test exit и после этого на порту е1 блочится не только icmp но и ВСЕ остальное. P.S. Доку, которая идет со свичем на CD, курил. Вставить ник Quote
Roman Ivanov Posted October 22, 2008 Posted October 22, 2008 Делай так: ip access-list test deny icmp any any permit ip any any exit Вставить ник Quote
SSTS Posted October 22, 2008 Author Posted October 22, 2008 Спасибо. Заработало в таком виде: ip access-list test deny icmp any any permit any any any exit возник еще вопрос, как в ACL удалить правило пример ip access-list test deny icmp any any permit any any any deny udp any any exit надо убрать deny udp any any Вставить ник Quote
mikevlz Posted October 22, 2008 Posted October 22, 2008 есть ощущение, что должна быть нумерация правил, и правило можно удалить по его номеру. Вставить ник Quote
SSTS Posted October 22, 2008 Author Posted October 22, 2008 (edited) Вот все что есть в CLI TESTSPS224(config)# ip access-list test TESTSPS224(config-ip-al)# deny A deny-ip condition blocks traffic if the conditions define in the deny statement are matched. deny-icmp Specify deny-Icmp to block L4 Icmp traffic if the conditions defined in the deny statement are matched. deny-igmp Specify deny-Igmp to block L4 Igmp traffic if the conditions defined in the deny statement are matched. deny-tcp Specify deny-TCP to block L4 TCP traffic if the conditions defined in the deny statement are matched. deny-udp Specify deny-TCP to block L4 TCP traffic if the conditions defined in the deny statement are matched. do execute an EXEC-level command end Exit from configure mode exit Exit from current context help Description of the interactive help system permit A permit condition forward traffic if the conditions define in the deny statement are matched. permit-icmp Specify permit-Icmp to forward L4 Icmp traffic if the conditions defined in the deny statement are matched. permit-igmp Specify permit-Igmp to forward L4 Igmp traffic if the conditions defined in the deny statement are matched. permit-tcp Specify permit-TCP to forward L4 TCP traffic if the conditions defined in the deny statement are matched. permit-udp Specify permit-UDP to forward L4 UDP traffic if the conditions defined in the deny statement are matched. TESTSPS224(config-ip-al)# смущает то что нет "no" Edited October 22, 2008 by SSTS Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.