您好,登錄后才能下訂單哦!
1,實驗名稱:華為三層交換機實現不同vlan間通信
實驗目的:pc1/pc2/pc3實現通信
實驗拓撲:
2,配置三層交換機
<huawei>system-view
[huawei]sysname gateway
[gateway]vlan batch 10 20 30
[gateway]interface vlanif 10
[gateway-Vlanif10]undo shutdown
[gateway-Vlanif10]ip address 192.168.10.254 255.255.255.0
[gateway-Vlanif10]quit
[gateway]interface vlanif 20
[gateway-Vlanif20]undo shutdown
[gateway-Vlanif20]ip address 192.168.20.254 255.255.255.0
[gateway-Vlanif20]quit
[gateway]interface vlanif30
[gateway-Vlanif30]undo shutdown
[gateway-Vlanif30]ip address 192.168.30.254 255.255.255.0
[gateway-Vlanif30]quit
[gateway]
[gateway]interface GigabitEthernet 0/0/1
[gateway-GigabitEthernet0/0/1]port link-type access
[gateway-GigabitEthernet0/0/1]port default vlan 10
[gateway-GigabitEthernet0/0/1]quit
[gateway]interface GigabitEthernet 0/0/2
[gateway-GigabitEthernet0/0/2]port link-type access
[gateway-GigabitEthernet0/0/2]port default vlan 20
[gateway-GigabitEthernet0/0/2]quit
[gateway]interface GigabitEthernet 0/0/3
[gateway-GigabitEthernet0/0/1]port link-type access
[gateway-GigabitEthernet0/0/1]port default vlan 30
[gateway-GigabitEthernet0/0/1]quit
3,驗證與測試
4,實驗總結:
三層交換機配置思路:
1.vlan需要配置網關
2.三層交換機上創建vlan
3.為每個vlan創建相應的虛擬vlan(SVI)
4.給每個vlan配置IP地址
5.配置三層交換機的動態路由或者靜態路由
實驗結論:華為三層交換機可以通過創建虛擬vlan實現不同vlan通信,即實現vlan路由的功能。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。