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

歡迎訪問 生活随笔!

生活随笔

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

编程问答

三层聚合实验的注意事项

發布時間:2024/2/28 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 三层聚合实验的注意事项 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

三層聚合實驗的注意事項

  • 前言
  • 一、試驗情況
  • 二、命令如下
    • 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.2

2.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)]:y

2.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 ms

2.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

總結

果然啊,老師容易忘記這個很少出現的東西,還是得常復習啊。

總結

以上是生活随笔為你收集整理的三层聚合实验的注意事项的全部內容,希望文章能夠幫你解決所遇到的問題。

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