通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 1720|回复: 0
打印

华为MA5608T配置指导 [复制链接]

军衔等级:

  新兵

注册:2014-10-1
跳转到指定楼层
1#
发表于 2022-2-24 10:29:31 |只看该作者 |倒序浏览
第一步: 添加一个用户

MA5680T>enable //打开特权 EXEC

MA5680T#config //进入终端配置模式

MA5680T(config)#sysname SJZ-HW-OLT-1 MA5680T (config) #terminal user name User Name(length<6,15>):huawei User Password(length<6,15>):huawei123 Confirm Password(length<6,15>): huawei123 User

profile name(<=15 chars)[root]:root User's

Level:

1. Common User

2. Operator

3. Administrator:3 //选择用户权限

Permitted Reenter Number(0--4):4 //设置此用户名可重复登录次数,一般选择 4 User's Appended Info(<=30 chars):HuaweiAdm // 添加描述,可不设置。

Adding user succeeds

Repeat this operation? (y/n)[n]: (是否重复操作, N ) 第二创建 DBA ( Dynamically 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 type2 assure 10240(保证 10M 带宽) 第三步: 创建链路模版, OUN 模版 MA5680T(config)# ont-lineprofile gpon profile-id 10 //建链路模版,并且绑定 DBA 模版

10

绑定 t-cont 与 DBA 模版 TCONT 1 绑定 DBA 为 10 模版

建立 GEM port ,绑定相应的 TCONT 通道

//gem port 1 绑定 TCONT 1

//gem port 2 绑定 TCONT 1

commit (提交,保存)

第四步: 创建业务模版

// 设备命名 (一般为开局配置 )

// 添加操作用户 huawei //设置用户名

//要求输入密码 //要求再次确认一遍密

码 //输入用户管理级别

tcont 0 dba-profile-id 512 tcont 1 dba-profile-id 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 gem add 1 eth tcont 1 gem add 2 eth 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 的第0 个索引号与vlan102 映射

gem mapping 3 0 vlan 103

gem mapping 4 0 vlan 104

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

第五步:创建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)#display ont autofind 0 )

ont add 0 0 sn-auth 0000000000000000 snmp ont-lineprofile-id 10

ont 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 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 888 tag-transform translate

service-port 1 vlan 1001 gpon 0/1/0 ont 8 gemport 1 multi-service user-vlan 101 tag-transform 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 888 tag-transform translate

service-port 3 vlan 888 gpon 0/1/0 ont 1 gemport 0 multi-service user-vlan 888 tag-transform translate

service-port 4 vlan 888 gpon 0/1/0 ont 2 gemport 0 multi-service user-vlan 888 tag-transform translate

service-port 5 vlan 888 gpon 0/1/0 ont 3 gemport 0 multi-service user-vlan 888 tag-transform translate

service-port 6 vlan 888 gpon 0/1/0 ont 4 gemport 0 multi-service user-vlan 888 tag-transform translate

service-port 7 vlan 888 gpon 0/1/0 ont 5 gemport 0 multi-service user-vlan 888 tag-transform translate

service-port 8 vlan 888 gpon 0/1/0 ont 6 gemport 0 multi-service user-vlan 888 tag-transform translate

service-port 9 vlan 888 gpon 0/1/0 ont 7 gemport 0 multi-service user-vlan 888 tag-transform translate

service-port 10 vlan 888 gpon 0/1/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 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-port 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-vlan 101 tag-transform translate-and-add inner-vlan 102 inner-priority 0

service-port 19 vlan 1001 gpon 0/1/0 ont 2 gemport 1 multi-service user-vlan 101 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-vlan 101 tag-transform translate-and-add inner-vlan 104 inner-priority 0

service-port 21 vlan 1001 gpon 0/1/0 ont 4 gemport 1 multi-service user-vlan 101 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-vlan

101 tag-transform translate-and-add inner-vlan 106 inner-priority 0 service-port 23 vlan 1001 gpon 0/1/0 ont 6 gemport 1 multi-service user-vlan

101 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-vlan

101 tag-transform translate-and-add inner-vlan 108 inner-priority 0 service-port 25 vlan 1001 gpon 0/1/1 ont 0 gemport 1 multi-service user-vlan

101 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-vlan

101 tag-transform translate-and-add inner-vlan 110 inner-priority 0 service-port 27 vlan 1001 gpon 0/1/1 ont 2 gemport 1 multi-service user-vlan

101 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-vlan

101 tag-transform translate-and-add inner-vlan 112 inner-priority 0 service-port 29 vlan 1001 gpon 0/1/1 ont 4 gemport 1 multi-service user-vlan

101 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-vlan

101 tag-transform translate-and-add inner-vlan 114 inner-priority 0 service-port 31 vlan 1001 gpon 0/1/1 ont 6 gemport 1 multi-service user-vlan

101 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-vlan

101 tag-transform translate-and-add inner-vlan 116 inner-priority 0 service-port 33 vlan 888 gpon 0/1/1 ont 8 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-vlan

101 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-vlan

103 tag-transform translate

service-port 36 vlan 1015 gpon 0/1/0 ont 1 gemport 3 multi-service user-vlan

103 tag-transform translate

service-port 37 vlan 1015 gpon 0/1/0 ont 2 gemport 3 multi-service user-vlan

103 tag-transform translate

service-port 38 vlan 1015 gpon 0/1/0 ont 3 gemport 3 multi-service user-vlan

103 tag-transform translate

service-port 39 vlan 1015 gpon 0/1/0 ont 4 gemport 3 multi-service user-vlan

103 tag-transform translate

service-port 40 vlan 1015 gpon 0/1/0 ont 5 gemport 3 multi-service user-vlan

103 tag-transform translate

service-port 41 vlan 1015 gpon 0/1/0 ont 6 gemport 3 multi-service user-vlan

103 tag-transform translate

service-port 42 vlan 1015 gpon 0/1/0 ont 7 gemport 3 multi-service user-vlan

103 tag-transform translate

service-port 43 vlan 1015 gpon 0/1/0 ont 8 gemport 3 multi-service user-vlan

103 tag-transform translate

service-port 44 vlan 1015 gpon 0/1/1 ont 0 gemport 3 multi-service user-vlan 103 tag-transform translate

service-port 45 vlan 1015 gpon 0/1/1 ont 1 gemport 3 multi-service user-vlan 103 tag-transform translate

service-port 46 vlan 1015 gpon 0/1/1 ont 2 gemport 3 multi-service user-vlan 103 tag-transform translate

service-port 47 vlan 1015 gpon 0/1/1 ont 3 gemport 3 multi-service user-vlan 103 tag-transform translate

service-port 48 vlan 1015 gpon 0/1/1 ont 4 gemport 3 multi-service user-vlan 103 tag-transform translate

service-port 49 vlan 1015 gpon 0/1/1 ont 5 gemport 3 multi-service user-vlan 103 tag-transform translate

service-port 50 vlan 1015 gpon 0/1/1 ont 6 gemport 3 multi-service user-vlan 103 tag-transform translate

service-port 51 vlan 1015 gpon 0/1/1 ont 7 gemport 3 multi-service user-vlan 103 tag-transform translate

service-port 52 vlan 1015 gpon 0/1/1 ont 8 gemport 3 multi-service user-vlan 103 tag-transform translate

service-port 53 vlan 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-port 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 gemport 2 multi-service user-vlan 102 tag-transform translate

service-port 62 vlan 814 gpon 0/1/1 ont 0 gemport 2 multi-service user-vlan 102 tag-transform translate

service-port 63 vlan 815 gpon 0/1/1 ont 1 gemport 2 multi-service user-vlan 102 tag-transform translate

service-port 64 vlan 816 gpon 0/1/1 ont 2 gemport 2 multi-service user-vlan 102 tag-transform translate

service-port 65 vlan 817 gpon 0/1/1 ont 3 gemport 2 multi-service user-vlan 102 tag-transform translate

service-port 66 vlan 818 gpon 0/1/1 ont 4 gemport 2 multi-service user-vlan 102

tag-transform translate

service-port 67 vlan 819 gpon 0/1/1 ont 5 gemport 2 multi-service user-vlan 102

tag-transform translate

service-port 68 vlan 820 gpon 0/1/1 ont 6 gemport 2 multi-service user-vlan 102 tag-transform translate

service-port 69 vlan 805 gpon 0/1/1 ont 7 gemport 2 multi-service user-vlan 102 tag-transform translate

service-port 70 vlan 806 gpon 0/1/1 ont 8 gemport 2 multi-service user-vlan 102 tag-transform translate

管vlan 100 业务虚通道,ontid 为0

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2024-11-16 14:49 , Processed in 0.329114 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部