На коммутаторах mes реализован функционал security-suite. Используя security-suite можно настроить порог syn-запросов на определенный ip-адрес/подсеть с целью защиты от syn-атак.
Пример настройки:
Глобально включить security-suite:
2324Bconsole(config)
#security# security-suite enable
Настроить на порту порог:
2324Bconsole(config)
#interface # interface gig0/1
2324Bconsole(config-if)
#security# security-suite dos syn-attack
127 200 192.168.11.0 /24
127 - максимальное число
Число подключений в секунду от 127 до 1000. В примере рассматривается 200
Посмотреть security-suite можно командой show security-suite configuration.
2324B#show console# show security-suite configuration
Security suite is enabled (Per interface rules are enabled).
Denial Of Service Protect:
Denial Of Service SYN-FIN Attack is enabled
Denial Of Service SYN Attack
Interface IP Address SYN Rate (pps)
-------------- -------------------- -----------------------
gi1/0/1 192.168.11.0/24
127200
Martian addresses filtering
Reserved addresses: disabled
Configured addresses:
SYN filtering
Interface IP Address TCP port
-------------- ---------------------- --------------------
ICMP filtering
Interface IP Address
-------------- ----------------------
Fragmented packets filtering
Interface IP Address
-------------- ----------------------
2324B#