日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

实验一:交换机和路由器的基本配置

發布時間:2023/12/20 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 实验一:交换机和路由器的基本配置 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1.實驗拓撲

2.實驗步驟

① :交換機,路由器的各種模式 Switch>en 用戶模式 Switch#conf t特權模式 Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#int f0/1全局模式 Switch(config-if)#exit接口模式 Switch(config)#line console 0進入控制臺線路配置模式 Switch(config-line)# Switch(config)#int vlan 1進入vlan模式② :Line模式配置 Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#line vty 4將line vty數目增加到4 Router(config)#line console 0進入控制臺線路配置模式 Router(config-line)#speed 17600設置控制臺速率為57600Router(config-line)#end回到特權模式 ③ :掌握幫助信息的使用方法 Router#?列出每個命令模式支持的命令 Router#show ?提示下一個關鍵字 Router#di?簡寫命令 ④ :顯示密碼 Switch(config)#enable password 8989 Switch(config)#no enable password 隱式密碼 Switch(config)#enable secret 888 ⑤ 掌握歷史命令的使用方法 Router(config)#line vty 0 4 進入線路配置模式 Router(config-line)#history size 10 設置歷史記錄命令為10Router(config-line)#exit返回全局模式 Router(config)#router rip進入路由配置模式 Router(config-router)#ip route 192.168.10.0 255.255.255.0 10.1.1.2 Router(config)#ip route 192.168.20.0 255.255.255.0 10.1.1.2 Router(config)#ip route 192.168.30.0 255.255.255.0 10.1.1.2 這些地址使用箭頭↑快捷鍵 ⑥ :Switch#:Show running-config Building configure:表示讀取信息Show startup-config Using 1769 type(當前存放的字節數) Fastethernet0/3 is up 表示當前端口列入為開啟狀態 Line protlcol is up表示物理端口已經打開,邏輯鏈路也是開啟狀態 Full-duplex(全雙工) 100MB/s每秒百兆 Minute input rate 0/bits/sec 平均速率接口流量統計結果 Enable password設置登錄密碼(明文)enable secret(密文)entconfigure :1796配置文件大小 ⑦ :遠程登錄過程 配置交換機Telnet功能Switch(config)#line vty 0 4允許5個用戶登錄Switch(config-line)#login % Login disabled on line 1, until 'password' is set % Login disabled on line 2, until 'password' is set % Login disabled on line 3, until 'password' is set % Login disabled on line 4, until 'password' is set % Login disabled on line 5, until 'password' is set Switch(config-line)#password 123設置登錄密碼 Switch(config-line)#end Switch#conf t進入全局模式 Switch(config)#int vlan 1進入vlan模式 Switch(config-if)#ip add 192.168.1.1 255.255.255.0配置IP地址 Switch(config-if)#no shut Switch(config-if)#end 配置路由器Telnet功能 Router>en進入特權模式 Router#conf t進入全局模式 Enter configuration commands, one per line. End with CNTL/Z. Router(config)#enable secret 123設置特權模式加密密碼 Router(config)#line vty 0 4允許5個用戶登錄 Router(config-line)#login啟動登錄進程 % Login disabled on line 194, until 'password' is set % Login disabled on line 195, until 'password' is set % Login disabled on line 196, until 'password' is set % Login disabled on line 197, until 'password' is set % Login disabled on line 198, until 'password' is set Router(config-line)#password 123設置登錄密碼 Router(config-line)#exit返回全局模式 Router(config)#int f0/0進入f0/0接口 Router(config-if)#ip add 192.168.1.3 255.255.255.0設置接口地址 Router(config-if)#no shut打開接口 ⑧ :traceroute命令 Router#traceroute 192.168.1.2

3.實驗結果
掌握交換機的基本配置命令
配置交換機Telnet功能

配置路由器Telnet遠程登陸

掌握查看已配置信息的命令

閱讀原文

總結

以上是生活随笔為你收集整理的实验一:交换机和路由器的基本配置的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。