Example 3: Write an ACL that states that 10.10 can telnet to the R2 router. No one else can do.

R2(config)#access-list 20 permit host 192.168.10.5

R2(config)#line vty 0 4

R2(config-line)#access-class 20 in

Example 4: Write a named ACL that states that 10.10 can telnet to 50.10. No one else from 10.0 can telnet to 50.10. Any other host from any other subnet can connect to 50.10 using anything that is available.