華為MA5683T配置指導書-leafsys_第1頁
華為MA5683T配置指導書-leafsys_第2頁
華為MA5683T配置指導書-leafsys_第3頁
華為MA5683T配置指導書-leafsys_第4頁
華為MA5683T配置指導書-leafsys_第5頁
已閱讀5頁,還剩7頁未讀 繼續免費閱讀

下載本文檔

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

文檔簡介

1、-葉向陽 制作 2013.8.12華為ma5683t配置指導書目錄一、開局部分21.1、開局21.2、管理配置31.3、創建和上行口透傳業務vlan3二、業務部分42.1、按需求創建模板42.1.1、創建dba模板42.1.2、創建線路模板52.1.3、創建業務模板52.2、開啟pon口自動發現上線onu的功能62.3、注冊上線的onu62.3.1、查看已經自動上線的onu62.3.2、注冊上線onu82.4、創建業務流92.4.1、創建單層標簽的業務流92.4.2、創建雙層q-in-q的業務流9三、附錄103.1 ma5620系列onu業務配置103.2 一些常用查看命令11 一、開局部分1

2、.1、開局/通過console,登陸用戶名root,密碼 admin ,雙引擎的話接亮act綠燈的板子ma5683tenable /打開特權execma5683t#config /進入終端配置模式ma5683t(config)#sysname sjz-hw-olt-1設備命名標準格式:地區標示符-設備廠家-設備類型-數量編號 推薦按此標準進行 /設備命名 (一般為開局配置)ma5683t(config)#switch language-mode /切換語言,想看中文注釋的話敲次命令。/創建telnet用戶ma5683t (config) #terminal user name /添加操作用戶h

3、uawei user name(length):huawei /設置用戶名 user password(length):huawei123 /要求輸入密碼.輸入部分實際為不可見的 confirm password(length): huawei123 /要求再次確認一遍密碼 user profile name(=15 chars)root:root /輸入用戶管理級別 users level: 1. common user 2. operator 3. administrator:3 /選擇用戶權限 permitted reenter number(0-4):1 /設置此用戶名可重復登錄次數,

4、一般要求為1次 users appended info(=30 chars):huaweiadm /添加描述,可不設置。 adding user succeedsrepeat this operation? (y/n)n:/若開局或者插入新的板卡后需要如下操作,autofind為新插入的業務板ma5683t(config)#display board 0 /檢查設備單板狀態,此命令最常用。 - slotid槽位編號 boardname單板型號 status單板運行狀態 subtype0 subtype1 online/offline - 0 1 h802epbepbd單板為提供8個pon口的業

5、務板,端口編號為0,1,2,3,4,5,6,7d normal 2 h802epbd normal 3 h802epbd normal 4 h802epbd auto_find對于新擴容的單板,系統會自動識別。此時標記為待發現狀態 5 6 h801scun active_normal 7 h801scun standby_normal 8 h801gicfgicf單板為提供2個ge光口的上行板。上行端口編號為0,1 normal 9 h801x2cax2ca單板為提供2個10ge光口的上行板。上行端口編號為0,1 normal 10 11 12 13 -ma5683t(config)#boar

6、d confirm 0 /對于自動發現的單板,需要確認后,單板才能使用。 /對于未確認的單板,單板硬件運行指示燈正常,但是業務端口無法工作。 1.2、管理配置1、創建管理vlanma5683t(config)#vlan 5 smart2、上行口透傳管理vlanma5683t(config)#port vlan 5 0/8 0 /將vlan5透傳到0/8號上行板的0號口、gicf板有0 1兩個上行口,通過display board 0/8可以看到具體口的情況。最好上行口都做透傳。3、給管理vlan配置ip地址ma5683t(config)#interface vlanif 5ma5683t (c

7、onfig-if-vlanif5)#ip address 10.11.126.2 255.255.0.0 ma5683t (config-if-vlanif5)#quit4、配置管理網關ma5683t(config)# ip route-static 0.0.0.0 0.0.0.0 10.11.0.1 /為了不同網段地址可以管理到它/做到這里,如果0/8 0口接通的話,就可以telnet這個地址使用huawei huawei123登陸了。如果需要網管軟件管理的話需要加上下面命令即可ma5683t(config)#snmp-agent community read public /設置讀參數ma

8、5683t(config)#snmp-agent community write private /設置寫參數1.3、創建和上行口透傳業務vlanma5683t(config)#vlan 5 smart /管理vlan、之前創建過了ma5683t(config)#vlan 14 smart /做個舉例ma5683t(config)#vlan 999 smart /移動寬帶vlanma5683t(config)#vlan 183 smart /點播vlanma5683t(config)#vlan 3049 to 3098 smart /華數qinq外層vlany /這里創建多個vlan會提示輸入

9、y或nma5683t (config)#port vlan 5 0/8 0 /透傳管理vlan,之前做過了ma5683t (config)#port vlan 14 0/8 0ma5683t (config)#port vlan 999 0/8 0ma5683t (config)#port vlan 3049 to 3098 0/8 0y /這里透傳多個vlan會提示輸入y或nma5683t (config)#port vlan 14 0/8 1 /透傳另一個上行口. /重復操作這里不做累贅,為了保證業務暢通做好每個上行口做透傳,這樣插錯上行口也沒問題做到這里olt到上層交換機直接二層通了。接

10、下來是做olt到onu這段的,具體有這幾個步驟:創建dba模板創建線路模板吧dba模板綁到里面根據需求創建業務模板(只針對普通4口5口的onu、ma5626的單獨網管onu無需模板)接入onu并注冊onu(oam模式注冊時命令會提示綁定線路模板和業務模板,snmp模式注冊只需綁定線路模板)根據需求創建業務流(業務流分為粗流和細流,同時也分單雙層標簽業務流)二、業務部分2.1、按需求創建模板2.1.1、創建dba模板ma5683t (config)#dba-profile add profile-id 10 profile-name standard type3 assure 4096 max

11、10240 /這個type3表示設置保證帶寬和最大帶寬,這里的值單位為kb,具體作用并不是限制業務的帶寬而是作為控制onu接入數量限制,是一個能力值,根據場景選擇配置,一般設置這個即可。dba模板查看、刪除、修改命令ma5683t (config)#display dba-profile profile-id 10 /查看dba模板20 - profile-name : standard profile-id: 10 type有5種類型,一般使用type3類型:保證帶寬和最大帶寬。: 3 bandwidth compensation: no fix(kbps): 0 assure保證帶寬(kb

12、ps): 40960 max最大帶寬(kbps): 102400 bind-times被線路模板綁定的次數: 1 -ma5683t (config)# dba-profile delete profile-id 10 /刪除dba模板,前提是此dba模板沒有被任何線路模板綁定。ma5683t (config)# dba-profile modify profile-id 10 /修改dba模板,前提是此dba模板沒有被任何線路模板綁定。2.1.2、創建線路模板ma5683t (config)# ont-lineprofile epon profile-id 10 profile-name st

13、andardma5683t (config-epon-lineprofile-10)# llid dba-profile-id 10 /綁定剛才的dba模板號ma5683t (config-epon-lineprofile-10)# commitma5683t (config-epon-lineprofile-10)#quit一般一個就行了,如果有高密度或者其他場景需要再建立其他的帶寬/查看線路模板和業務模板配置:ma5683t(config)#display ont-lineprofile epon profile-id 10/刪除線路模板或業務模板ma5683t(config)#undo

14、ont-lineprofile epon profile-id 10 /刪除線路模板10 2.1.3、創建業務模板創建全透傳類型業務模板ma5683t(config)#ont-srvprofile epon profile-id 40 profile-name touchuan /創建模板40ma5683t(config-gpon-srvprofile-40)# ont-port pots 2 eth 42個電話口 4個以太網口類型的onu /這里是指定onu接口類型ma5683t(config-gpon-srvprofile-40)#port vlan eth 1 transparent /

15、表示onu的eth1口為透傳模式ma5683t(config-gpon-srvprofile-40)#port vlan eth 2 transparentma5683t(config-gpon-srvprofile-40)#port vlan eth 3 transparentma5683t(config-gpon-srvprofile-40)#port vlan eth 4 transparentma5683t(config-gpon-srvprofile-40)#commit /提交配置、不提交不生效創建非全透傳業務模板ma5683t(config)#ont-srvprofile epo

16、n profile-id 41 profile-name 183_and_999ma5683t(config-gpon-srvprofile-41)# ont-port pots 2 eth 4ma5683t(config-gpon-srvprofile-41)#port vlan eth 1 183 /指定onu eth1口接受vlan號183ma5683t(config-gpon-srvprofile-41)#port vlan eth 2 183ma5683t(config-gpon-srvprofile-41)#port vlan eth 3 999 /指定接受vlan999,注意如果

17、口是直接連電腦的話,那么必須在epon模式下指定注冊的onu的每個接口的native vlan,否則進流量接口無法打上vlan標簽 ,命令見后面指定native vlan介紹。ma5683t(config-gpon-srvprofile-41)#port vlan eth 4 999ma5683t(config-gpon-srvprofile-41)#commit指定native vlanma5683t(config)#interface epon 0/0ma5683t (config-if-epon-0/0)#ont add 1 0 mac-auth cccc-81a2-3c16 oam o

18、nt-lineprofile-id 10 ont-srvprofile-id 42 desc num1 /舉個例子,綁定的這個onuma5683t (config-if-epon-0/0)#ont port native-vlan 1該板下的1號pon口 01號pon口下的0號onu eth 1onu上的eth1口 vlan 183ma5683t (config-if-epon-0/0)#ont port native-vlan 1 0 eth 2 vlan 183 /表示該板卡的第1個pon口的0號onu的eth2口如果接收到不帶tag的802.3幀將打上183的tag標簽。native v

19、lan就這意思。ma5683t (config-if-epon-0/0)#ont port native-vlan 1 0 eth 3 vlan 999ma5683t (config-if-epon-0/0)#ont port native-vlan 1 0 eth 4 vlan 9992.2、開啟pon口自動發現上線onu的功能ma5683t(config)#interface epon 0/0ma5683t (config-if-epon-0/0)#port 0 ont-auto-find enable /0號pon口打開自動發現ma5683t (config-if-epon-0/0)#p

20、ort 1 ont-auto-find enablema5683t (config-if-epon-0/0)#port 2 ont-auto-find enablema5683t (config-if-epon-0/0)#port 3 ont-auto-find enablema5683t (config-if-epon-0/0)#port 4 ont-auto-find enablema5683t (config-if-epon-0/0)#port 5 ont-auto-find enablema5683t (config-if-epon-0/0)#port 6 ont-auto-find

21、enablema5683t (config-if-epon-0/0)#port 7 ont-auto-find enable注意:每個pon板的每個pon都要打開,否則上線onu系統無法發現。2.3、注冊上線的onu2.3.1、查看已經自動上線的onuma5683t(config)#display ont autofind all /查看olt自動發現的onu信息. - number : 1 f/s/p : 0/0/0 ont mac : 001d-6a3c-6614onu的地址碼,唯一標識設備,添加onu時需記錄此地址碼 password : venderid : hwtc ontmodel

22、 : 810e設備類型,根據設備類型,判斷是采用oam管理模式還是snmp管理模式 ontsoftwareversion : v100r001c01b020 onthardwareversion : hg810e ont autofind time : 2010-06-06 15:01:52 - number : 2 f/s/p : 0/1/0 ont mac : 0000-0000-0000 password : 00000000000000000000000000000000 venderid : hwtc ontmodel : 5620 ontsoftwareversion : v8r3

23、07 c00 onthardwareversion : ma5620 ont autofind time : 2010-06-09 00:17:17 - number : 3 f/s/p : 0/4/0 ont mac : 0018-82eb-51b3 password : 00000000000000000000000000000000 venderid : hwtc ontmodel : mdu ontsoftwareversion : v8r306c01b053 onthardwareversion : ma5616 ont autofind time : 2010-6-31 16:40

24、:54 - the number of epon autofind ont is 3注意,如果沒有開啟pon口自動發現是看不到這些的!ma5680t(config)#display ont autofind all /查看olt自動發現的onu信息. - number : 1 f/s/p : 0/2/1連接onu的端口號(不區分分光器) 表示0/2號槽位的1號pon口下發現的 ont mac : 001d-6a3c-6614onu的地址碼,唯一標識設備,添加onu時需記錄此地址碼 password : venderid : hwtc ontmodel : 810e設備類型,根據設備類型,判斷是

25、采用oam管理模式還是snmp管理模式 ontsoftwareversion : v100r001c01b020 onthardwareversion : hg810e ont autofind time : 2010-06-06 15:01:52 - number : 2 f/s/p : 0/1/0 ont mac : 0000-0000-0000 password : 00000000000000000000000000000000 venderid : hwtc ontmodel : 5620 ontsoftwareversion : v8r307 c00 onthardwarevers

26、ion : ma5620 ont autofind time : 2010-06-09 00:17:17 - number : 3 f/s/p : 0/4/0 ont mac : 0018-82eb-51b3 password : 00000000000000000000000000000000 venderid : hwtc ontmodel : mdu ontsoftwareversion : v8r306c01b053 onthardwareversion : ma5616 ont autofind time : 2010-6-31 16:40:54 - the number of ep

27、on autofind ont is 32.3.2、注冊上線onuoam方式:針對小onu、非獨立網管的onuma5683t(config)#interface epon 0/1 /進入到epon單板模式。ma5683t (config-if-epon-0/1)#ont add 1 0 mac-auth cccc-81a2-3c16 oam ont-lineprofile-id 10 ont-srvprofile-id 42 desc num1 /第一個數字表示1號pon口(pon口從0開始編號)這個從上面查看ont autofind中的f/s/p判斷;第二個數字表示onu編號,添加時要依次疊

28、加,最低從0號開始。mac地址就是autofind發現的onu的mac地址。后面就是綁定前面創建好的線路模板和業務模板。ma5683t (config-if-epon-0/1)#ont add 0 1 mac-auth cccc-8194-5e03 oam ont-lineprofile-id 10 ont-srvprofile-id 43 desc hahama5683t (config-if-epon-0/1)#ont add 0 2 mac-auth cccc-819e-0d43 oam ont-lineprofile-id 10 ont-srvprofile-id 40 desc he

29、hesnmp方式:針對獨立網管的onu,如ma5620 8口、16口和24口的onu1、snmp方式綁定ma5683t(config)#interface epon 0/1 /進入到epon單板模式。ma5683t (config-if-epon-0/1)# ont add 0改pon板下的0號pon口 0onu序號為0,隨意指定,不能通pon口不能重復 mac-auth 707b-e84e-296b注冊mac地址,為onu的mac地址,可以從前面的自動發現中看到 snmp ont-lineprofile-id 10 desc ma5626_24ports /這是就不需要綁定業務模板了,只要綁

30、定線路模板,因為snmp模式注冊的onu可以直接進onu配置,所以無需模板了。這里綁定的是24口的ma5626,通過display ont autofind的中的onu類型可以判斷是不是需要這種方式綁定。2、配置5620類型onu的管理ma5683t (config-if-epon-0/1)#ont ipconfig 0 0 ip-address 10.11.11.4 mask 255.255.0.0 gateway 10.11.0.1 manage-vlan 5 /這條命令表示配置該onu的管理ip和vlan,該配置的參數會自動下發到5626 onu上。這個必須配置,否則無法遠程配置該onu

31、的業務。3、添加5620 onu管理業務流ma5683t(config)#service-port 10 vlan 5 epon 0/0/0 ont 0 multi-service user-vlan 5 /配置好了這一條業務流就可以ping通并且telnet到ma5626上去了。具體5626配置很簡單,參見后面的附錄內容部分。2.4、創建業務流2.4.1、創建單層標簽的業務流ma5683t(config)#service-port 1這是業務流序號,可以指定,如果不寫直接service-port vlan,則順序遞增 vlan 999業務側vlan epon 0/0/10號框0槽位1號口 o

32、nt 0表示0號onu,在注冊onu時指定的值 multi-service user-vlan 999用戶側vlan,指onu上來數據帶上的vlan注:批注中指出的用戶側vlan和業務側vlan的概念,意思是這里的業務流是一個pvc的vlan轉換,華為epon和gpon網絡中的pvc的概念,所有onu上來的數據都要指定一個pvc的轉換,如果沒有匹配則會丟棄。這里是vlan999轉為vlan999出去,相當于透傳了vlan999的數據。因為默認vlan 999 smart的vlan模式為common模式,所以這里只是映射,為單層標簽。ma5683t(config)#service-port 2

33、vlan 5 epon 0/0/0 ont 1 multi-service user-vlan 5刪除業務流display servise-port all /先查看業務流的索引號undo service-port /刪除對應索引號的業務流2.4.2、創建雙層q-in-q的業務流 創建雙層q-in-q業務流時首選針對業務側vlan,需要把vlan屬性更改成q-inq屬性ma5683t(config)#vlan attrib 3245 to 3293這個vlan段是規劃q-in-q的外層vlan,而且這個vlan需要透傳上行口出去,q-in-q內層vlan不需管 q-in-q 開啟粗流功能注:如

34、果創建基于pon口的q-in-q則需要利用到粗流功能,什么事粗流?在前面我們看到的單層標簽業務流中epon 0/0/0 ont 0表示精確到pon口下的onu了,這表示細流;如果我只需要精確到pon口,所有該pon口下的onu都可以匹配這臺業務流,那么稱為該業務流為粗流。ma5683t(config)#interface epon 0/0ma5683t (config-if-epon-0/0)#vlan-range enable /開啟粗流ma5683t (config-if-epon-0/0)#quitma5683t(config)#board reset 0/0 /重啟該pon板(開啟哪塊

35、板的粗流就需要重啟該板,否則不生效)注意:有些新版本的5683t取消了該命令,默認支持粗流功能,因此,如果沒有vlan-range的命令可以試試直接創建粗流業務流! 創建q-in-q業務流(粗流)ma5683t(config)#service-port 0 vlan 3245外層標簽/業務側標簽 epon 0/0/00/0號槽位的pon板、0號pon口 ont all表示所有onu(粗流) multi-service user-vlan 1000 to 1500內層vlan/用戶側vlan范圍,表示出在該vlan范圍內的用戶數據都會打上3245這個外層標簽轉發。 inbound traffic

36、-table index 6index 6是華為默認的流量模板,表示業務流不限速 outbound traffic-table index 6ma5683t(config)#service-port 1 vlan 3246 epon 0/0/1 ont all multi-service user-vlan 1000 to 1500 inbound traffic-table index 6 outbound traffic-table index 6ma5683t(config)#service-port 2 vlan 3247 epon 0/0/2 ont all multi-servic

37、e user-vlan 1000 to 1500 inbound traffic-table index 6 outbound traffic-table index 6ma5683t(config)#service-port 3 vlan 3248 epon 0/0/3 ont all multi-service user-vlan 1000 to 1500 inbound traffic-table index 6 outbound traffic-table index 6經過這幾步qinq配置就算完成了,qinq業務就可以正常帶雙層標簽通信。三、附錄3.1 ma5620系列onu業務配

38、置1、配置上行口創建業務vlan同5683t完全相同。這里不做累贅。ma5626t(config)#vlan 5 smart /這個命令是上面配置ont ipconfig時自動下發的 ma5626t(config)#vlan 183 smart ma5626t(config)#vlan 447 smartma5626t(config)# vlan 999 to 1500 smart /qinq內層vlan段,這里無需特別設置,直接普通屬性透傳上行口ma5626t(config)#vlan desc 5 description managementma5626t(config)# vlan de

39、sc 183 description dianbo_port17-20ma5626t(config)# vlan desc 999 description mobile_port9-16 /描述ma5626t(config)# vlan desc 1000 description 1000_to_1500_is_wasu_qinqma5626t(config)# port vlan 5 0/0 1ma5626t(config)# port vlan 183 0/0 1ma5626t(config)# port vlan 447 0/0 1ma5626t(config)# port vlan 9

40、99 to 1500 0/0 12、配置以太網口5620的以太網卡不同交換機配置、這里是直接通過配置業務流實現。 查看以太網口ma5626t(config)#display board 0/1 針對場景為直接連電腦的接口的vlan配置,類似access口ma5626t(config)# service-port 0業務流序號 vlan 1001用戶側vlan,相當于接口的pvid進來的數據打上tag或者轉發和該vlan相同的數據 eth 0/1/1以太網口編號 multi-service user-vlan untagged表示接電腦或者路由器的口,收到的數據為無tag標簽的幀,下發數據剝標簽

41、。 rx-cttr 6這個也是華為不限速模板6 tx-cttr 6 ma5626t(config)# service-port 1 vlan 1002 eth 0/1/2 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6ma5626t(config)# service-port 2 vlan 1003 eth 0/1/3 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6ma5626t(config)# service-port 3 vlan 1004 eth 0/1/4 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6ma5626t(config)# service-port 4 vlan 1005 eth 0/1/5 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6注意:這里

溫馨提示

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

評論

0/150

提交評論