中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

華為多交換機trunk.rip應用全網互通.以及搭建服務器

發布時間:2020-09-23 02:30:11 來源:網絡 閱讀:1415 作者:會飛的云彩 欄目:系統運維

使用eNSP搭建實驗環境

華為多交換機trunk.rip應用全網互通.以及搭建服務器


一.pc機192.168.10.254 網關192.168.10.254 以此為論推

二:sw7配置(端口加vlan )

[Huawei]vlan batch 10 20

[Huawei]int eth0/0/3

Huawei-Ethernet0/0/3]undo shutdown

 [Huawei-Ethernet0/0/3]port link-type access

 [Huawei-Ethernet0/0/3]port default valn 10

[Huawei]int eth 0/0/2

[Huawei-Ethernet0/0/2]port   link-type access

 [Huawei-Ethernet0/0/2]port default valn 20

[Huawei-Ethernet0/0/1]int eth 0/0/1

[Huawei-Ethernet0/0/1]port link-type trunk

[Huawei-Ethernet0/0/1]port trunk allow-pass valn all

三:sw8配置

[sw8]vlan 10

[sw8]int eth0/0/2

 [sw8-Ethernet0/0/2]undo shutdown

 [sw8-Ethernet0/0/2]port link-type access

 [sw8-Ethernet0/0/2]port default vlan 10

 [sw8]int eth0/0/1

 [sw8-Ethernet0/0/1]port link-type trunk

 [sw8-Ethernet0/0/1]port trunk   allow-pass vlan all

三:sw10配置

[sw10]vlan 40

[sw10-vlan40]int eth0/0/2

[sw10-Ethernet0/0/2]port   link-type a   

[sw10-Ethernet0/0/2]port   link-type access

 [sw10-Ethernet0/0/2]port default vlan 40

 [sw10-Ethernet0/0/2]undo shutdown

Info: Interface Ethernet0/0/2 is   not shutdown.

[sw10-Ethernet0/0/2]q

[sw10]int eth0/0/3

[sw10-Ethernet0/0/3]undo shutdown

 [sw10-Ethernet0/0/3]port link-type access

 [sw10-Ethernet0/0/3]port default vlan 40

 [sw10-Ethernet0/0/4]undo shutdown

[sw10-Ethernet0/0/4]port link-type access

  [sw10-Ethernet0/0/4]port   default vlan 40

[sw10]int eth0/0/1

 [sw10-Ethernet0/0/1]port link-type trunk

 [sw10-Ethernet0/0/1]port trunk   allow-pass vlan all

 [sw10-Ethernet0/0/1]undo   shutdown

,sw9配置(sw9.10trunk)

 

[sw9]vlan batch 30 40 50

Info: This operation may take a   few seconds. Please wait for a moment...done.

[sw9]int vlan 30

 [sw9-Vlanif30]undo shutdown

Info: Interface Vlanif30 is not   shutdown.

[sw9-Vlanif30]ip add   192.168.30.254 24

[sw9-Vlanif30]q

[sw9]int vlan 50

[sw9-Vlanif50]ip add 192.168.50.2   24

 [sw9-Vlanif50]q

[sw9]int vlan 40

 [sw9-Vlanif40]undo shutdown

 [sw9-Vlanif40]ip add 192.168.40.254 24

[sw9-Vlanif40]q

[sw9]int g0/0/1

[sw9-GigabitEthernet0/0/1]undo shutdown

[sw9-GigabitEthernet0/0/1]port link-type trunk

[sw9-port-group-trunk]port trunk allow-pass vlan all

[sw9-port-group-trunk]q

[sw9]int g0/0/2

 [sw9-GigabitEthernet0/0/2]port link-type trunk

[sw9-GigabitEthernet0/0/2]port trunk allow-pass vlan all

 [sw9-GigabitEthernet0/0/2]undo   shutdown

 [sw9-GigabitEthernet0/0/2]q

[sw9]rip

[sw9-rip-1]version 2

[sw9-rip-1]network 192.168.30.0

[sw9-rip-1]network 192.168.40.0

[sw9-rip-1]network 192.168.50.0

五,Sw6配置(sw6.9、6.8、6.7trunk)

[sw6]vlan batch 10 20 30 50

[sw6-GigabitEthernet0/0/3]undo   shutdown

[sw6-GigabitEthernet0/0/3]port   link-type trunk

 [sw6-GigabitEthernet0/0/3]port trunk   allow-pass vlan all

[sw6-GigabitEthernet0/0/3]q

[sw6]int g0/0/4

 [sw6-GigabitEthernet0/0/4]port link-type   trunk

[sw6-GigabitEthernet0/0/4]port   trunk allow-pass vlan all

 [sw6-GigabitEthernet0/0/4]undo shutdown

 [sw6-GigabitEthernet0/0/4]q

[sw6]int vlan 10

[sw6-Vlanif10]ip add   192.168.10.254 24

 [sw6-Vlanif10]undo shutdown

 [sw6-Vlanif10]q

[sw6]int vlan 20

 [sw6-Vlanif20]und shutdown

Info: Interface Vlanif20 is not   shutdown.

[sw6-Vlanif20]ip add   192.168.20.254 24

[sw6-Vlanif20]q

 [sw6]int g0/0/5

[sw6-GigabitEthernet0/0/5]port   link-type access

[sw6-GigabitEthernet0/0/5]port link-type trunk

[sw6-GigabitEthernet0/0/5]port trunk allow-pass vlan all

[sw6-GigabitEthernet0/0/5]q

[sw6-GigabitEthernet0/0/5]undo shutdown

[sw6]int g0/0/1

[sw6-GigabitEthernet0/0/1]port   link-type access

 [sw6-GigabitEthernet0/0/1]port default vlan   30

 [sw6-GigabitEthernet0/0/1]undo shutdown

 [sw6-GigabitEthernet0/0/1]q

[sw6]int g0/0/2

 [sw6-GigabitEthernet0/0/2]undo shutdown

 [sw6-GigabitEthernet0/0/2]port link-type   access

[sw6-GigabitEthernet0/0/2]port   default vlan 30

 [sw6]int vlan 50

[sw6-Vlanif50]undo shutdown

[sw6-Vlanif50]ip add 192.168.50.1   255.255.255.0

[sw6]rip

[sw6-rip-1]ver 

[sw6-rip-1]version 2

[sw6-rip-1]network 192.168.10.0

[sw6-rip-1]network 192.168.20.0

[sw6-rip-1]network 192.168.30.0

[sw6-rip-1]network 192.168.50.0

六.全網互通

華為多交換機trunk.rip應用全網互通.以及搭建服務器

華為多交換機trunk.rip應用全網互通.以及搭建服務器

 

 

 

 

 


 

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

阳谷县| 安龙县| 垣曲县| 绥阳县| 通海县| 炉霍县| 合山市| 涡阳县| 石河子市| 防城港市| 抚宁县| 邛崃市| 新晃| 五寨县| 淮南市| 化州市| 玛纳斯县| 乾安县| 安徽省| 石门县| 翁源县| 大竹县| 谷城县| 宾阳县| 黎川县| 永定县| 灵石县| 花莲县| 津市市| 休宁县| 井陉县| 潞西市| 江永县| 彩票| 高要市| 大庆市| 江孜县| 红安县| 吉木萨尔县| 云梦县| 从江县|