See the solution below in Explanation:
Solution:
R2
config t
username NetworkAdmin privilege 15 password CiscoENCOR
line vty 0 4
login local
transport input telnet rlogin
exec-timepit 20
Submit