Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.
Scenerio is given in the picture. I want to block all the networks except 192.168.5.128/25 from doing telnet of 192.168.5.0/25.
On Switch0, you permit the single source subnet for telnet you want, deny all other telnet connections and then permit everything else.
1000 permit tcp 192.168.5.128/25 192.168.5.0/25 eq 23
1010 deny tcp any 192.168.5.0/25 eq 23
9999 permit ip any any
Required, but never shown