三层聚合实验的注意事项
生活随笔
收集整理的這篇文章主要介紹了
三层聚合实验的注意事项
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
三層聚合實驗的注意事項
- 前言
- 一、試驗情況
- 二、命令如下
- 1.CE1
- 2.CE2
- 問題出現
- 查看問題所在
- 1.CE1
- 2.CE2
- 查看連通性
- 1.CE1
- 2.CE2
- 總結
前言
今天再次復習了下S5700交換機的三層聚合,但是奇怪的是,可能長時間沒接觸,容易忘。。又出問題了,翻了筆記本才發現原來是這個問題。
一、試驗情況
二、命令如下
1.CE1
代碼如下(示例):
The device is running!<HUAWEI>undo terminal monitor Info: Current terminal monitor is off. <HUAWEI>sys Enter system view, return user view with return command. [~HUAWEI]int [~HUAWEI]interface eth [~HUAWEI]interface Eth-Trunk 1 [*HUAWEI-Eth-Trunk1]undo portswitch [*HUAWEI-Eth-Trunk1]ip add 10.1.1.1 24 [*HUAWEI-Eth-Trunk1]q [*HUAWEI]int g1/0/0 [*HUAWEI-GE1/0/0]undo shutdown [*HUAWEI-GE1/0/0]eth-trunk 1 [*HUAWEI-GE1/0/0]int g1/0/1 [*HUAWEI-GE1/0/1]undo shutdown [*HUAWEI-GE1/0/1]eth-trunk 1 [*HUAWEI-GE1/0/1]q [*HUAWEI]interface LoopBack 0 [*HUAWEI-LoopBack0]ip address 192.168.1.100 32 [*HUAWEI-LoopBack0]q [*HUAWEI]ip route-static 192.168.2.100 32 10.1.1.22.CE2
代碼如下(示例):
The device is running!<HUAWEI>undo terminal monitor Info: Current terminal monitor is off. <HUAWEI>sys Enter system view, return user view with return command. [~HUAWEI]int Eth-Trunk 1 [*HUAWEI-Eth-Trunk1]undo portswitch [*HUAWEI-Eth-Trunk1]ip add 10.1.1.2 24 [*HUAWEI-Eth-Trunk1]q [*HUAWEI]int g1/0/0 [*HUAWEI-GE1/0/0]undo shutdown [*HUAWEI-GE1/0/0]eth-trunk 1 [*HUAWEI-GE1/0/0]int g1/0/1 [*HUAWEI-GE1/0/1]undo shutdown [*HUAWEI-GE1/0/1]eth-trunk 1 [*HUAWEI-GE1/0/1]q [*HUAWEI]int [*HUAWEI]interface LoopBack 0 [*HUAWEI-LoopBack0]ip add 192.168.2.100 32 [*HUAWEI-LoopBack0]q [*HUAWEI]ip route-static 192.168.1.100 32 10.1.1.1問題出現
問題來了,不通。。。。。
查看問題所在
老樣子,翻出我的老筆記本,發現,原來用S5700交換機做三層聚合的時候,必須得最后退出進行保存配置,否則不生效,所以我又重新來過
1.CE1
代碼如下(示例):
The device is running!<HUAWEI>undo terminal monitor Info: Current terminal monitor is off. <HUAWEI>sys Enter system view, return user view with return command. [~HUAWEI]int [~HUAWEI]interface eth [~HUAWEI]interface Eth-Trunk 1 [*HUAWEI-Eth-Trunk1]undo portswitch [*HUAWEI-Eth-Trunk1]ip add 10.1.1.1 24 [*HUAWEI-Eth-Trunk1]q [*HUAWEI]int g1/0/0 [*HUAWEI-GE1/0/0]undo shutdown [*HUAWEI-GE1/0/0]eth-trunk 1 [*HUAWEI-GE1/0/0]int g1/0/1 [*HUAWEI-GE1/0/1]undo shutdown [*HUAWEI-GE1/0/1]eth-trunk 1 [*HUAWEI-GE1/0/1]q [*HUAWEI]interface LoopBack 0 [*HUAWEI-LoopBack0]ip address 192.168.1.100 32 [*HUAWEI-LoopBack0]q [*HUAWEI]ip route-static 192.168.2.100 32 10.1.1.2 [*HUAWEI]q Warning: Uncommitted configurations found. Are you sure to commit them before ex iting? [Y(yes)/N(no)/C(cancel)]:y2.CE2
代碼如下(示例):
The device is running!<HUAWEI>undo terminal monitor Info: Current terminal monitor is off. <HUAWEI>sys Enter system view, return user view with return command. [~HUAWEI]int Eth-Trunk 1 [*HUAWEI-Eth-Trunk1]undo portswitch [*HUAWEI-Eth-Trunk1]ip add 10.1.1.2 24 [*HUAWEI-Eth-Trunk1]q [*HUAWEI]int g1/0/0 [*HUAWEI-GE1/0/0]undo shutdown [*HUAWEI-GE1/0/0]eth-trunk 1 [*HUAWEI-GE1/0/0]int g1/0/1 [*HUAWEI-GE1/0/1]undo shutdown [*HUAWEI-GE1/0/1]eth-trunk 1 [*HUAWEI-GE1/0/1]q [*HUAWEI]int [*HUAWEI]interface LoopBack 0 [*HUAWEI-LoopBack0]ip add 192.168.2.100 32 [*HUAWEI-LoopBack0]q [*HUAWEI]ip route-static 192.168.1.100 32 10.1.1.1 [*HUAWEI]q Warning: Uncommitted configurations found. Are you sure to commit them before ex iting? [Y(yes)/N(no)/C(cancel)]:y查看連通性
1.CE1
<HUAWEI>ping 192.168.2.100PING 192.168.2.100: 56 data bytes, press CTRL_C to breakReply from 192.168.2.100: bytes=56 Sequence=1 ttl=255 time=12 msReply from 192.168.2.100: bytes=56 Sequence=2 ttl=255 time=4 msReply from 192.168.2.100: bytes=56 Sequence=3 ttl=255 time=5 msReply from 192.168.2.100: bytes=56 Sequence=4 ttl=255 time=4 msReply from 192.168.2.100: bytes=56 Sequence=5 ttl=255 time=4 ms--- 192.168.2.100 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 4/5/12 ms2.CE2
[~HUAWEI]ping 192.168.1.100PING 192.168.1.100: 56 data bytes, press CTRL_C to breakReply from 192.168.1.100: bytes=56 Sequence=1 ttl=255 time=11 msReply from 192.168.1.100: bytes=56 Sequence=2 ttl=255 time=8 msReply from 192.168.1.100: bytes=56 Sequence=3 ttl=255 time=5 msReply from 192.168.1.100: bytes=56 Sequence=4 ttl=255 time=5 msReply from 192.168.1.100: bytes=56 Sequence=5 ttl=255 time=4 ms--- 192.168.1.100 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 4/6/11 ms總結
果然啊,老師容易忘記這個很少出現的東西,還是得常復習啊。
總結
以上是生活随笔為你收集整理的三层聚合实验的注意事项的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: AIDA64内存频率:如何提升电脑性能?
- 下一篇: mb535内存大揭秘:支持类型、扩展容量