当前位置: 首页 > news >正文

华为 OLT 添加 ONU 配置 (SNMP管理模式)

上网业务数据规划
OLT PON口  0/8/0
ONU_ID 0
ONU 序列号 4857544323BE233B
外层 VLAN ID 2012 
内层VLAN ID 35
用户 FE 端口 ONU 0/1/1
用户VLAN 35
DBA带宽类型  Type 2
流量模板编号 10
DBA 模板编号 30 
ONU线路模板编号 40
T-CONT (网管) 0
T-CONT(业务_ 2
GEM (网管) 0
GEM(业务) 1
带宽值 4096
流量模板带宽   大于4096 kbps,小于 8192 kbps

配置GPON线路模板(OLT侧)
配置举例:
进入GPON 线路模板配置模式,编号为40,配置板参数。

huawei(config)# ont-lineprofile gpon profile-id 40
huawei(config-gpon-lineprofile-40)#tcont 0 dba-profile-id 30 //带内网管
huawei(config-gpon-lineprofile-40)#tcont 2 dba-profile-id 30 //业务
huawei(config-gpon-lineprofile-40)#gem add 0 eth tcont 0 //带内网管
huawei(config-gpon-lineprofile-40)#gem add 1 eth tcont 2 //业务
huawei(config-gpon-lineprofile-40)#mapping-mode vlan
huawei(config-gpon-lineprofile-40)#gem mapping 0 0 vlan 4000 //带内网管
huawei(config-gpon-lineprofile-40)#gem mapping 1 1 vlan 35 //业务
huawei(config-gpon-lineprofile-40)#commit

手动增加或者确认ONU(OLT侧)
手动增加ONU

huawei(config)#interface gpon 0/8
huawei(config-if-gpon-0/8)#ont add 0 0 sn-auth 4857544323BE233B snmp ont-lineprofile-id 40

自动发现后确认ONU
 

huawei(config-if-gpon-0/8)#port 0 ont-auto-find enable
huawei(config-if-gpon-0/8)#ont confirm 0 ontid 0 sn-auth 4857544323BE2338 snmp ont-lineprofile-id 40

配置业务VLAN及加入端口(OLT侧)
增加业务VLAN,设置其类型为Smart,属性为QinQ。

huawei(config)#vlan 2012 smart
huawei(config)#vlan attrib 2012 q-in-g


允许上行口通过该业务VLAN

huawei(config)#port vlan 2012 0/9 0


添加该VLAN的GPON业务虚端口

huawei(config)#service-port vlan 2012 gpon 0/8/0 ont 0 gemport 1 multi-service user-vlan 35 rx-cttr 10 tx-cttr 10


配置网管VLAN及加入端口(OLT侧)
增加业务VLAN,设置其类型为Smart,属性默认为Common。

huawei(config)#vlan 4000 smart  


允许上行口通过该业务VLAN

huawei(config)#port vlan 4000 0/9 0


配置OLT的网管地址

huawei(config)#interface vlanif 4000 
huawei(config-if-vlanif4000)#ip address 172.16.200.1 24


添加该VLAN的GPON业务虚端口(带内网管通道)

huawei(config)#service-port vlan 4000 gpon 0/8/0 ont 0 gemport 0 multi-service user-vlan 4000 rx-cttr 10 tx-cttr 10


配置ONU网管参数(OLT侧)
配置ONU的管理地址

huawei(config-if-gpon-0/8)#ont ipconfig 0 1 static ip-address 172.16.200.2 mask 255.255.255.0 gateway 172.16.200.1 vlan 4000


Telnet登录ONU

huawei(config)#ping 172.16.200.2
huawei(config)#telnet 172.16.200.2
>>User name:root
>>User password:mduadmin


ONU用户VLAN与流量模板配置(ONU侧)
创建用户VLAN

EA5821(config)#vlan 35


配置用户VLAN上行口

EA5821(config)#port vlan 35 0/0 1


配置ONU的流量模板

EA5821(config)#traffic table ip index 10 cir 4096 pir 8192 cbs 2048 pbs 4096 priority user-cos 50 priority-policy Tag-In-Package


注:可以使用如下命令查询ONU系统内存在的流量模板信息:

EA5821(config)#display traffic table ip from-index 0


ONU业务虚端口配置(ONU侧)
配置业务虚端口//添加ONU上对应的 ETH 1-4 号端口业务流,指定用户VLAN,并且限速。

EA5821(config)#service-port vlan 35 eth 0/1/1 user-vlan untagged rx-cttr 10 tx-cttr 10 
EA5821(config)#service-port vlan 35 eth 0/1/2 user-vlan untagged rx-cttr 10 tx-cttr 10 
EA5821(config)#service-port vlan 35 eth 0/1/3 user-vlan untagged rx-cttr 10 tx-cttr 10 
EA5821(config)#service-port vlan 35 eth 0/1/4 user-vlan untagged rx-cttr 10 tx-cttr 10 

http://www.lryc.cn/news/428086.html

相关文章:

  • 【JavaScript】[]和{} 的转换
  • C#关于多线程的线程问题
  • eclipse打开失败 java was started but returned exit code=13
  • 【计算机网络】应用层自定义协议与序列化
  • 企业级无线局域网(WLAN)架构:高效部署策略与技术指南
  • 【Python-办公自动化】1秒筛选12个月指定逻辑数值
  • Linux:进程替换
  • 带你认识:数据仓库宽表~~~浅显易懂
  • 记录|MessageBox.Show()的使用
  • LabVIEW软件定制开发公司的前景如何?
  • vue3列表页搜索条件封装
  • 十三、切片的复制
  • Java Stream API 的应用:提取并处理多属性集合
  • 【技术方案】智慧城市大数据平台技术方案(Doc原件)
  • vue项目中引入字体文件样式
  • Android 11强制App固定user_rotation方向显示
  • Harbor仓库push显示
  • Windows 上设置 MySQL 的主从复制
  • 鸿蒙内核源码分析(原子操作篇) | 谁在为原子操作保驾护航
  • vue3+ts封装axios以及解决跨域问题
  • 各厂家BI对比
  • SQL - 触发器
  • Redis中缓存穿透、缓存击穿、缓存雪崩的详解
  • [Meachines] [Medium] Popcorn SQLI+Upload File+PAM权限提升
  • 【Linux】python进程管理之supervisor安装使用教程
  • BEM架构
  • 物联网(IoT)详解
  • ansync/await 运行流程图
  • 生产环境docker nginx+php8.0镜像
  • 【Hadoop】核心组件深度剖析:HDFS、YARN与MapReduce的奥秘