ip audit smtp spam 5
ip audit notify log
ip audit name IDS info action alarm
ip audit name IDS attack action alarm drop reset

interface f0/0
ip address 10.0.1.1 255.255.255.0
ip audit IDS in

interface f1/0
ip address 10.0.0.10 255.255.255.0
ip audit IDS in

interface f2/0
ip address 10.0.2.1 255.255.255.0
ip audit IDS in

logging 10.0.1.2

See also