Thursday, February 18, 2010

Blocking an IP address

>en
#config t
(config)#interface ethernet0 (Interface you want to block the ip on)
(config-if)#ip access-group 1 in (blocking incoming or outgoing traffic)
(config-if)#access-list 1 deny host 69.28.155.226 (IP address you want to block)
(config)#access-list 1 permit any (allow all other connections through)
(config)#exit
#wr mem

No comments:

Post a Comment