華為S3000交換機典型配置_第1頁
華為S3000交換機典型配置_第2頁
華為S3000交換機典型配置_第3頁
免費預覽已結束,剩余1頁可下載查看

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、華為S2000交換機典型配置配置一臺華為S3000交換機,要求數據如下:1, 將交換機的名稱設置為 BinXian,并配置三個VLAN ,分別為VLAN 20為 靜態 VLAN VLAN 30為 DSLAM 管理 VLAN VLAN 40為動態 PPPOEVLAN2, 將交換機1, 2端口做鏈路聚合,配置為上行端口,允許通過所有的VLAN, 并將1端口 2端口配置為百兆全雙工模式,定義端口名稱。3, 將交換機3端口連接一臺UT-100設備數據,配置VLAN為VLAN30和VLAN40,并定義端口的名稱。4, 將交換機4端口連接一個光纖專線用戶,此用戶名稱為縣政府。并將此用戶的下行速率限制為20

2、M,上行速率限制為10M5, 將交換機5端口連接一個光纖小區,此用戶名稱為工行小區。并將此端口可 學習的MAC地址數限制為306, 將交換機管理IP設置為61.185.41.12,網關為61.185.41.1,掩碼為此IP屬于VLAN 20,并使交換機可以遠程登陸上,登陸的密碼為3252644配置過程如下:1, 通過超級終端進入交換機界面尖括號為查看模式,不能進展數據配置。2, 輸入system-view,進入配置模式配置模式為方括號。用display current-configuration查看交換機所有的配置數據3, 進入配置模式后,首先配置交換機的系統名稱sys name Bin Xi

3、an4, 配置 VLANvia n 20via n 30via n 405, 配置端口#in terface EthernetO/1description UpLi nk_1定義端口的名稱duplex full將端口模式改為全雙工模式系統默認為自適應,建議在設備對接時,兩端的模式改為一樣。speed 100將端口速率設置為 100M如果不用line-rate準確限制端口速率,端口默認只能設置為10M,或100Mport link-type trunk將端口連接類型改為 trunk模式,即給端口打上標簽。port trunk permit vlan 1 20 30 40 允許此端口通過 VLAN

4、 20 , VLAN 30 , VLAN 40#in terface EthernetO/2description UpLink_2duplex fullspeed 100port lin k-type trunkport trunk permit vlan 1 20 30 40#in terface Ethernet0/3description To_UT100port lin k-type trunkport trunk permit vlan 1 30 40#in terface Ethernet0/4description XianZhengFuport access vlan 20將

5、端口模式改為 access模式,并給該端口添加VLAN20端口在 access模式下只能通過一個VLANline-rate inbound 37限制進入此端口即用戶發送至該端口的速率,也是用戶的上行速率的速率為10Mline-rate outbound 47限制流出此端口即該端口發送給用戶的速率,也是用戶的下行速率的速率為20M備注:在設置line-rate時,后面需要配置INTEGER,數值圍為1-127。當需要限制的速率為2M以上時,那么用需要限制的速率加上27,即為所需要配置的數值。例如將用戶的上行速率限制為10M,那么配置命令如下:line-rate inbound 37 10+27當

6、需要限制的速率為2M以下時,那么用需要限制的速率除以64K,即為所需要配置的數值。例如將用戶的上行速率限制為1M,那么配置命令如下:line-rate inbound 16 1000/64#in terface Ethernet0/5descripti on Gon gHa ngXiaoQu_LANmac-address max-mac-count 30將該端口可以學習到的最大 MAC地址數,限制為 30此命 令可以控制小區總的用戶數目port access vla n 406, 將1端口和2端口做成鏈路聚合link-aggregation Ethernet0/1 to Ethernet0/2

7、 both 將 1 端口和 2 端口做成鏈路聚合7, 配置交換機管理IPin terface Vla n-i nterface20 交換機管理 VLAN 為 20ip address 61.185.41.12 255.255.255.0 設置交換機的管理IP8, 為了使交換機能夠遠程管理上,配置一條靜態路由,并設置交換碼ip route-static 0.0.0.0 0.0.0.0 super password level 3 simple 3252644user- in terface vty 0 4set authentication password simple 3252644 設置交

8、換機的密碼為 32526449, 配置端口鏡像在處理故障抓包時可以用到monitor-port Ethernet 0/3 將 3 端口配置為監視端口mirroring-port Ethernet 0/4 both將4端口的雙向流量分別鏡像到監視端口3端口附:以上要求的 S2000的配置信息此配置信息可以直接復制,粘貼至交換機配置界面 dis cur#sys name Bi nXia n#super password level 3 simple 3252644#radius scheme systemserver-type huaweiprimary authe nticati on 127.

9、0.0.1 1645 primary accou nting 127.0.0.1 1646 user- name-format without-doma indomai n systemradius-scheme systemaccess-limit disablestate activeidle-cut disableself-service-url disablemesse nger time disabledoma in default en able system#local-server n as-ip 127.0.0.1 key huawei#queue-scheduler wrr

10、 1 2 4 8#vlan 1#vlan 20#vlan 30#vlan 40#in terface Vlan-i nterface20#in terface Aux0/0#in terface Ethernet0/1description UpLink_1duplex fullspeed 100port lin k-type trunkport trunk permit vlan 1 20 30 40#in terface Ethernet0/2description UpLink_2duplex fullspeed 100port lin k-type trunkport trunk pe

11、rmit vlan 1 20 30 40#in terface Ethernet0/3description To_UT100port lin k-type trunkport trunk permit vlan 1 30 40#in terface Ethernet0/4description XianZhengFuport access vla n 20lin e-rate inbound 37lin e-rate outbo und 47#in terface Ethernet0/5descripti on Gon gHa ngXiaoQu_LANmac-address max-mac-

12、co unt 30port access vla n 40#in terface Ethernet0/6#in terface EthernetO/7#in terface EthernetO/8#in terface EthernetO/9#in terface EthernetO/1O#in terface EthernetO/11#in terface EthernetO/12#in terface EthernetO/13#in terface EthernetO/14#in terface EthernetO/15#in terface EthernetO/16 in terface Ethernet0/17#in terface Ethernet0/18#in terface Ethernet0/19 #in terface Ethernet0/20#in terface Ethernet0/21#in terface Ethernet0/22# in terface Ethernet0/23#in terface Ethernet0/24#in terface Ethernet0/25# in terface NULLO#lin k

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論