1、 熟悉路由器各種介面的配置方法;
2、 掌握對路由器靜態路由的配置;
3、 掌握對路由器預設路由的配置。
工具/原料
路由器兩臺,console電纜1根,pc機一臺,DTE-DCE交叉電纜1根。連線如圖:
方法/步驟
1、 將路由器的f0/0埠指定一個IP地址192.168.0.1/24,設定虛擬終端登入密碼為“cisco”,
進入特權模式的明文密碼為“cisco”,密文密碼為“cisco1”;
R1#config ter
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface f0/1
R1(config-if)#ip address 192.168.0.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#end
R1#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#exit
R1(config)#enable password cisco
R1(config)#enable secret cisco1
R1(config)#exit
2、將PC機通過Ethernet連線到路由器的FastEthernet0/1埠,並用Telnet方式登入到路由器;
3、設定路由器名為RTA,為路由器console口設定密碼為“cisco”;
Router>ENABLE
Router#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host RTA
4、檢視當前記憶體的配置資訊,正確儲存到NVRAM中。
show running-config