日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

思科模拟器实验

發(fā)布時(shí)間:2025/4/5 76 豆豆
生活随笔 收集整理的這篇文章主要介紹了 思科模拟器实验 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

實(shí)驗(yàn)拓?fù)鋱D

交換機(jī)配置ip

二層交換機(jī)是不能配置在端口上配置ip地址的,只能在vlan1中配置管理ip地址,并且只能配置一個(gè)ip地址。

首先是enable進(jìn)入
然后conf t進(jìn)行配置
找到端口 int vlan 1
no shutdown
設(shè)置IP :ip address 192.168.1.2 255.255.255.0
退出至上一層 exit
配置網(wǎng)關(guān) Ip default-gateway 192.168.1.254

Switch>en Switch>enable Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#int vlan 1 Switch(config-if)#no shutdown Switch(config-if)#ip address 192.168.1.2 255.255.255.0 Switch(config-if)#exit Switch(config)#ip de Switch(config)#ip default-gateway 192.168.1.254 Switch(config)#exit Switch# %SYS-5-CONFIG_I: Configured from console by console

路由器配置IP

步驟如下
下面使用簡(jiǎn)寫,比如en表示enable,conf表示configure ,t表示terminal,當(dāng)然可以使用tab鍵自動(dòng)補(bǔ)全
Router> en 進(jìn)入特權(quán)模式
Router# conf t 進(jìn)入配置模式
Router(config-if)# int 端口號(hào)
Router(config-if)# no shutdown
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# exit

Router>enable Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int fa0/0 Router(config-if)#no shutdownRouter(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#ip address 192.168.1.254 255.255.255.0 Router(config-if)#exit Router(config)# Router# %SYS-5-CONFIG_I: Configured from console by console

ping命令檢查網(wǎng)絡(luò)

單擊pc

選擇desktop–>command prompt

ping命令進(jìn)行網(wǎng)絡(luò)測(cè)試
ping加上交換機(jī)或者路由器的ip。

發(fā)現(xiàn)網(wǎng)絡(luò)連接正常。

總結(jié)

以上是生活随笔為你收集整理的思科模拟器实验的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。