using access list in cisco 2501 to block subnet

Been getting TONS of entry attempts from the 217.x.x.x subnet. I want to block the entire IP block from any type of connections to my router.

wouldn't the syntax be


enable the exec first

config t

access-list 1 deny host 217.0.0.0 log


Wouldn't this block the entire 217.x.x.x block?

 

 

 

 

Top