
Note: Telnet configuration in Switch is same.
Setting IP Address on FastEthernet 0/0 in Router:
Router>en
Router#configure terminal
Router(config)# int fa 0/0
Router(config-if)# ip address 10.0.0.1 255.0.0.0
Router(config-if)# no shut
Router(config-if)# exit
Configuring Telnet for 5 logins:
Router(config)# line vty 0 4 (where 0 4 = 5)
Router(config-line)# password telpass
Router(config-line)# exit
Setting enable password in Router:
Router(config)# enable password enpass
Accessing Router using Telnet from network computer:
Start Menu - Run - cmd
c:\> telnet 10.0.0.1
password: (telpass)
Router>en
Password: (enpass)
Note:
privilege 15 allows the user to automatically enter into privilege mode without requiring privilege mode password.
login local indicates that the local database will be used for telnet authorization.
ACL for Telnet:
Deny everyone except 30.0.0.3 to access Telnet:
Router(config)#access-list 78 permit host 30.0.0.3
Router(config)#access-list 78 deny any
Router(config)#line vty 0 4
Router(config-line)#access-class 78 in
Note: Telnet was already configured.
Telnet Configuration (Video):





