1、华为ma5680tOLT开局配置华为ma5680t-OLT开局配置第一步:添加一个用户MA5680Tenable /打开特权EXECMA5680T#config /进入终端配置模式MA5680T(config)#sysname SJZ-HW-OLT-1 /设备命名 (一般为开局配置)MA5680T (config) #terminal user name /添加操作用户huaweiUser Name(length):huawei /设置用户名User Password(length):huawei123 /要求输入密码Confirm Password(length): huawei123 /要
2、求再次确认一遍密码User profile name(=15 chars)root:root /输入用户管理级别Users Level: 1. Common User 2. Operator 3. Administrator:3 /选择用户权限Permitted Reenter Number(0-4):4 /设置此用户名可重复登录次数,一般选择4Users Appended Info(=30 chars):HuaweiAdm /添加描述,可不设置。Adding user succeedsRepeat this operation? (y/n)n:(是否重复操作,N)第二步:创建DBA(Dyna
3、mically Bandwidth Assignment动态带宽分配)模版类型(type)分为5种,分别是type1,type2,type3,type4,type5.其中:/type1 为固定带宽模式;/type2 为保证带宽模式;/type3 为保证带宽的同时设置最大带宽值;/type4 为仅设定最大带宽模式;/type5 为3种模式的综合,即设置最大带宽,在保证带宽的同时采用固定带宽模式。下面创建两个DBA模版dba-profile add profile-id 10 type4 max 307200 (保证300M带宽)dba-profile add profile-id 512 typ
4、e2 assure 10240(保证10M带宽)第三步:创建链路模版,OUN模版MA5680T(config)# ont-lineprofile gpon profile-id 10 /建链路模版,并且绑定DBA模版10 tcont 0 dba-profile-id 512 绑定t-cont与DBA模版 tcont 1 dba-profile-id 10 TCONT 1 绑定DBA为10模版 tcont 2 dba-profile-id 10 tcont 3 dba-profile-id 10 tcont 4 dba-profile-id 10 gem add 0 eth tcont 0 建立
5、GEM port,绑定相应的TCONT通道 gem add 1 eth tcont 1 /gem port 1 绑定TCONT 1 gem add 2 eth tcont 1 /gem port 2 绑定TCONT 1 gem add 3 eth tcont 1 gem add 4 eth tcont 1 gem mapping 0 0 vlan 888 建立GEM Port端口映射,这里使用索引号与vlan映射。 gem mapping 1 0 vlan 101 /gemport 1 的第0个索引号与vlan101映射 gem mapping 2 0 vlan 102 / gemport 2
6、 的第0个索引号与vlan102映射 gem mapping 3 0 vlan 103 gem mapping 4 0 vlan 104 commit (提交,保存)第四步:创建业务模版ont-srvprofile gpon profile-id 10 ont-port pots 2 eth 4 ONT的能力,支持4个eth和2个pots口 (pots:模拟电话业务)commit/ont-srvprofile gpon profile-id 20 (个人理解是多余的,在这里可以不用配)/ont-port pots 2 eth 4 ONT的能力,支持4个eth和2个pots口/commit第五步
7、:创建oun业务interface gpon 0/1 port 0 ont-auto-find enable port 1 ont-auto-find enable port 2 ont-auto-find enable port 3 ont-auto-find enable port 4 ont-auto-find enable port 5 ont-auto-find enable port 6 ont-auto-find enable port 7 ont-auto-find enable查看自动发现的oun,取其SN码(MA5680T(config-if-gpon-0/1)#displ
8、ay ont autofind 0)ont add 0 0 sn-auth 0000000000000000 snmp ont-lineprofile-id 10ont ipconfig 0 0(前面的0表示gpon0/1/0,后面的0表示ont 的id:0) static ip-address 172.17.0.1 mask 255.255.0.0 vlan 888 priority 0 gateway 172.17.0.253 pri-dns 172.17.0.254 slave-dns 172.17.0.253第六步:创建业务虚端口huawei(config)# service-port
9、 vlan 1001 epon 0/1/0 ont 0(0是对应光猫的编号)gemport 1 (1是对应vlan 101 102 885的编号) multi-service user-vlan 101 配置网service-port 0 vlan 888 gpon 0/1/0 ont 8 gemport 0 multi-service user-vlan 888tag-transform translate service-port 1 vlan 1001 gpon 0/1/0 ont 8 gemport 1 multi-service user-vlan 101 tag-transform
10、 translate-and-add inner-vlan 101 inner-priority 0 service-port 2 vlan 888 gpon 0/1/0 ont 0 gemport 0 multi-service user-vlan 888tag-transform translate service-port 3 vlan 888 gpon 0/1/0 ont 1 gemport 0 multi-service user-vlan 888tag-transform translate service-port 4 vlan 888 gpon 0/1/0 ont 2 gemp
11、ort 0 multi-service user-vlan 888tag-transform translate service-port 5 vlan 888 gpon 0/1/0 ont 3 gemport 0 multi-service user-vlan 888tag-transform translate service-port 6 vlan 888 gpon 0/1/0 ont 4 gemport 0 multi-service user-vlan 888tag-transform translate service-port 7 vlan 888 gpon 0/1/0 ont
12、5 gemport 0 multi-service user-vlan 888tag-transform translate service-port 8 vlan 888 gpon 0/1/0 ont 6 gemport 0 multi-service user-vlan 888tag-transform translate service-port 9 vlan 888 gpon 0/1/0 ont 7 gemport 0 multi-service user-vlan 888tag-transform translate service-port 10 vlan 888 gpon 0/1
13、/1 ont 0 gemport 0 multi-service user-vlan 888 tag-transform translate service-port 11 vlan 888 gpon 0/1/1 ont 1 gemport 0 multi-service user-vlan 888 tag-transform translate service-port 12 vlan 888 gpon 0/1/1 ont 2 gemport 0 multi-service user-vlan 888 tag-transform translate service-port 13 vlan
14、888 gpon 0/1/1 ont 3 gemport 0 multi-service user-vlan 888 tag-transform translate service-port 14 vlan 888 gpon 0/1/1 ont 4 gemport 0 multi-service user-vlan 888 tag-transform translate service-port 15 vlan 888 gpon 0/1/1 ont 5 gemport 0 multi-service user-vlan 888 tag-transform translate service-p
15、ort 16 vlan 888 gpon 0/1/1 ont 6 gemport 0 multi-service user-vlan 888 tag-transform translate service-port 17 vlan 888 gpon 0/1/1 ont 7 gemport 0 multi-service user-vlan 888 tag-transform translate service-port 18 vlan 1001 gpon 0/1/0 ont 1 gemport 1 multi-service user-vlan101 tag-transform transla
16、te-and-add inner-vlan 102 inner-priority 0 service-port 19 vlan 1001 gpon 0/1/0 ont 2 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 103 inner-priority 0 service-port 20 vlan 1001 gpon 0/1/0 ont 3 gemport 1 multi-service user-vlan101 tag-transform translate-and-add i
17、nner-vlan 104 inner-priority 0 service-port 21 vlan 1001 gpon 0/1/0 ont 4 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 105 inner-priority 0 service-port 22 vlan 1001 gpon 0/1/0 ont 5 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 10
18、6 inner-priority 0 service-port 23 vlan 1001 gpon 0/1/0 ont 6 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 107 inner-priority 0 service-port 24 vlan 1001 gpon 0/1/0 ont 7 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 108 inner-prio
19、rity 0 service-port 25 vlan 1001 gpon 0/1/1 ont 0 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 109 inner-priority 0 service-port 26 vlan 1001 gpon 0/1/1 ont 1 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 110 inner-priority 0 servi
20、ce-port 27 vlan 1001 gpon 0/1/1 ont 2 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 111 inner-priority 0 service-port 28 vlan 1001 gpon 0/1/1 ont 3 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 112 inner-priority 0 service-port 29 v
21、lan 1001 gpon 0/1/1 ont 4 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 113 inner-priority 0 service-port 30 vlan 1001 gpon 0/1/1 ont 5 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 114 inner-priority 0 service-port 31 vlan 1001 gpo
22、n 0/1/1 ont 6 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 115 inner-priority 0 service-port 32 vlan 1001 gpon 0/1/1 ont 7 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 116 inner-priority 0 service-port 33 vlan 888 gpon 0/1/1 ont 8
23、 gemport 0 multi-service user-vlan 888 tag-transform translate service-port 34 vlan 1001 gpon 0/1/1 ont 8 gemport 1 multi-service user-vlan101 tag-transform translate-and-add inner-vlan 117 inner-priority 0 service-port 35 vlan 1015 gpon 0/1/0 ont 0 gemport 3 multi-service user-vlan103 tag-transform
24、 translate service-port 36 vlan 1015 gpon 0/1/0 ont 1 gemport 3 multi-service user-vlan103 tag-transform translate service-port 37 vlan 1015 gpon 0/1/0 ont 2 gemport 3 multi-service user-vlan103 tag-transform translate service-port 38 vlan 1015 gpon 0/1/0 ont 3 gemport 3 multi-service user-vlan103 t
25、ag-transform translate service-port 39 vlan 1015 gpon 0/1/0 ont 4 gemport 3 multi-service user-vlan103 tag-transform translate service-port 40 vlan 1015 gpon 0/1/0 ont 5 gemport 3 multi-service user-vlan103 tag-transform translate service-port 41 vlan 1015 gpon 0/1/0 ont 6 gemport 3 multi-service us
26、er-vlan103 tag-transform translate service-port 42 vlan 1015 gpon 0/1/0 ont 7 gemport 3 multi-service user-vlan103 tag-transform translate service-port 43 vlan 1015 gpon 0/1/0 ont 8 gemport 3 multi-service user-vlan103 tag-transform translate service-port 44 vlan 1015 gpon 0/1/1 ont 0 gemport 3 mult
27、i-service user-vlan103 tag-transform translate service-port 45 vlan 1015 gpon 0/1/1 ont 1 gemport 3 multi-service user-vlan103 tag-transform translate service-port 46 vlan 1015 gpon 0/1/1 ont 2 gemport 3 multi-service user-vlan103 tag-transform translate service-port 47 vlan 1015 gpon 0/1/1 ont 3 ge
28、mport 3 multi-service user-vlan103 tag-transform translate service-port 48 vlan 1015 gpon 0/1/1 ont 4 gemport 3 multi-service user-vlan103 tag-transform translate service-port 49 vlan 1015 gpon 0/1/1 ont 5 gemport 3 multi-service user-vlan103 tag-transform translate service-port 50 vlan 1015 gpon 0/
29、1/1 ont 6 gemport 3 multi-service user-vlan103 tag-transform translate service-port 51 vlan 1015 gpon 0/1/1 ont 7 gemport 3 multi-service user-vlan103 tag-transform translate service-port 52 vlan 1015 gpon 0/1/1 ont 8 gemport 3 multi-service user-vlan103 tag-transform translate service-port 53 vlan
30、805 gpon 0/1/0 ont 0 gemport 2 multi-service user-vlan 102 tag-transform translate service-port 54 vlan 806 gpon 0/1/0 ont 1 gemport 2 multi-service user-vlan 102 tag-transform translate service-port 55 vlan 807 gpon 0/1/0 ont 2 gemport 2 multi-service user-vlan 102 tag-transform translate service-p
31、ort 56 vlan 808 gpon 0/1/0 ont 3 gemport 2 multi-service user-vlan 102 tag-transform translate service-port 57 vlan 809 gpon 0/1/0 ont 4 gemport 2 multi-service user-vlan 102 tag-transform translate service-port 58 vlan 810 gpon 0/1/0 ont 5 gemport 2 multi-service user-vlan 102 tag-transform translate service-port 59 vlan 811 gpon 0/1/0 ont 6 gemport 2 multi-service user-vlan 102 tag-transform translate service-port 60 vlan 812 gpon 0/1/0 ont 7 gemport 2 multi-service user-vlan 102 tag-transform translate service-port 61 vlan 813 gpon 0/1/0 ont 8
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1