實驗方法及步驟:
Router>enable ...................................進入路由器的特權模式
Router#configure terminal ................................進入路由器的全域配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface f0/0 ...............................進入路由器的f0/0連接埠
Router(config-if)#ip address 192.168.1.1 255.255.255.0 ...配置路由器f0/0連接埠的Ip地址
Router(config-if)#no shutdown .......................啟用f0/0連接埠
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#end ..............................退出配置模式
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line vty 0 4 ...................進入路由器的VTY虛擬終端
Router(config-line)#password homechen
Router(config-line)#login .....................以上兩行配置VTY(即telent)的密碼
Router(config-line)#exit
Router(config)#enable password homechen ..............配置進入路由器特權模式的密碼
Router(config)#end