- Create and define a directory for IPS configuration files
- Import the Cisco RSA public key (available from the cisco.com download area)
- (optional) create an ACL to define what traffic gets inspected
- Retire and un-retire signature sets
- Apply the IPS configuration to an interface
- Upload signature definitions
- (optional) enable syslog notifications for IPS events
- (optional) enable SDEE notifications for IPS events
- (optional) Tweak individual signatures
- Verification
mkdir flash:/ips
crypto key pubkey-chain rsa
named-key realm-cisco.pub signature
key-string
....
quit
ip access-list extended IPS-INSPECT permit ip any host 1.2.3.4 permit ip host 1.2.3.4 any ! ios ips name IPS1 list IPS-INSPECT
ip ips signature-category
category-all
retired true
category ios_ips_basic
retired false
exit
exit
int gi0/0 ip ips IPS1 in ip ips IPS1 out
copy ftp://cisco:cisco@10.1.1.1/IOS-S310-CLI.pkg idconf
ip ips notify log
access-list 80 permit 2.2.2.2 ip http access-class 80 ip http server enable ip ips notify sdee
ip ips signature-definition
signature 6130 10
engine
event-action produce-alert
event-action deny-packet-inline
exit
exit
exit
show ip ips signature count
Based on Keith Barker’s blog post at InternetworkExpert and this Cisco.com technote.
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.