• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

PON网络初始配置

4天前提问
  • 0关注
  • 0收藏,77浏览
粉丝:1人 关注:0人

问题描述:

现场OLT下挂ONU,求一个OLT ONU初始化及接口配置的配置文件

5 个回答
粉丝:131人 关注:11人
粉丝:8人 关注:0人

P系列还S75系列?

两者的命令根本不相关

暂无评论

粉丝:21人 关注:1人

针对您现场部署 H3C OLT 下挂 ONU 的需求,结合官方配置指导与典型业务场景,为您梳理了一套标准的初始化及接口配置逻辑流程。

1. 核心配置逻辑

在 H3C GPON/EPON 网络中,实现 ONU 正常注册并打通上网与管理业务,通常需要遵循以下标准化流程:
  • 第一步:创建 VLAN 规划。划分管理 VLAN(用于 OLT 远程 Telnet/Web 管理 ONU)和业务 VLAN(用于透传用户的上网数据)。
  • 第二步:开启兼容模式与自动发现。确认 OLT 允许第三方或标准 ONU 接入,并开启 PON 口的自动绑定功能。
  • 第三步:创建带宽模板 (DBA Profile)。定义 ONU 的上行带宽策略(保证带宽和最大带宽)。
  • 第四步:创建业务流模板 (Flow/T-CONT Profile)。将用户的业务 VLAN 映射到指定的 T-CONT 虚拟端口,完成数据流的绑定。
  • 第五步:ONU 接口业务下发。在具体的 ONU 接口视图下,绑定 SN/MAC 地址,配置 UNI 端口的 VLAN 标记模式(Tag/Untagged),并分配管理 IP。
  • 第六步:打通上行链路。在 OLT 的上联口(连接汇聚/核心交换机)放通相应的业务和管理 VLAN。

2. 参考配置文件示例(H3C OLT)

# 1. 开启厂商兼容模式(若使用第三方ONU需确保此功能开启) <OLT> system-view [OLT] ftth [OLT-ftth] vendor-compatible slot 0 # 按实际槽位修改 [OLT-ftth] quit # 2. 创建 VLAN 并配置上联口透传 [OLT] vlan 100 # 创建管理VLAN [OLT-vlan100] quit [OLT] vlan 200 # 创建业务VLAN [OLT-vlan200] quit # 假设上联口为 Ten-GigabitEthernet1/0/25 [OLT] interface Ten-GigabitEthernet1/0/25 [OLT-Ten-GigabitEthernet1/0/25] port link-type hybrid [OLT-Ten-GigabitEthernet1/0/25] port hybrid vlan 100 tagged [OLT-Ten-GigabitEthernet1/0/25] port hybrid vlan 200 tagged [OLT-Ten-GigabitEthernet1/0/25] quit # 3. 配置 PON 口并放通 VLAN [OLT] interface olt 1/0/1 # 进入GPON/EPON板卡端口 [OLT-Olt1/0/1] port link-type hybrid [OLT-Olt1/0/1] port hybrid vlan 100 200 tagged [OLT-Olt1/0/1] quit # 4. 创建 DBA 模板(例如:保证10M,最大50M) [OLT] dba-profile add profile-id 58 profile-name "Office_DBA" type 3 assure 10240 max 51200 # 5. 创建 Flow 模板与 T-CONT-Bind 模板(以 P3600 为例) [OLT] gpon profile flow id 2 1 name EGT908HPQ-PC-VLAN200 uni-type ethernet-uni uni-bitmap 0xff upmap-type vlanId 200 200 pri-bitmap 0xff vport 1 [OLT] gpon profile tcont-bind id 2 v-port 1 name EGT908HPQ-PC-VLAN200 vportsvc-id 1 tcont-id 1 tcontsvc-id 2 # 6. 配置 ONU 接口并绑定设备 [OLT] interface Onu 1/0/1:1 # 进入具体的ONU接口视图 [OLT-Onu1/0/1:1] bind onu-id xxxx-xxxx-xxxx # 替换为ONU实际的SN或MAC [OLT-Onu1/0/1:1] management-vlan 100 # 指定管理VLAN [OLT-Onu1/0/1:1] undo shutdown management-vlan-interface [OLT-Onu1/0/1:1] ip address 172.16.42.24 255.255.255.0 gateway 172.16.42.254 # 配置业务端口(UNI 1)的 VLAN 处理模式 [OLT-Onu1/0/1:1] uni 1 vlan-mode tag pvid 200 # 指定下行打上VLAN 200标签 [OLT-Onu1/0/1:1] port link-type trunk [OLT-Onu1/0/1:1] port trunk permit vlan 200 [OLT-Onu1/0/1:1] quit

暂无评论

粉丝:11人 关注:7人

两套完整 OLT+ONU 开局配置文件

方案一:华为 MA5800/MA5680T GPON 标准配置(政企 / 园区通用,对接 AC 无线、办公上网)

整体规划

  • 上行万兆口:0/19/0
  • 业务 VLAN:上网 VLAN 100(Smart)
  • GPON 板位:0/15,PON 口 0
  • DBA 模板:家庭 100M 限速
  • 线路模板 + 业务模板:标准 4 口 ONU
  • ONU SN:485754435706C391,ONT-ID=0
plaintext
# 1. 设备基础初始化、用户名、时钟、日志 enable config sysname OLT_MA5800 terminal user name admin password admin@123 service-type terminal time zone add local GMT+8 Beijing save logbuffer syslog server 192.168.1.100 # 关闭无用告警 undo alarm suppress all # 2. 创建业务VLAN,上行口透传业务VLAN vlan 100 smart port vlan 100 0/19 0 tagged # 上行口基础优化 interface giu 0/19/0 port link-type trunk port trunk permit vlan all flow-control disable quit # 3. DBA带宽模板(GPON上行限速) dba-profile add profile-name DBA_100M type4 assure 1024 max 102400 # 4. GPON线路模板(Tcont+Gem+VLAN映射) ont-lineprofile gpon profile-id 10 profile-name LINE_100M tcont 4 dba-profile-name DBA_100M gem add 1 eth tcont 4 gem mapping 1 1 vlan 100 commit quit # 5. ONU业务模板(UNI端口VLAN) ont-srvprofile gpon profile-id 10 profile-name SRV_4ETH ont-port eth 4 pots 0 port vlan eth 1 100 port vlan eth 2 100 port vlan eth 3 100 port vlan eth 4 100 commit quit # 6. GPON端口初始化、开启ONU自动发现 interface gpon 0/15 port 0 ont-auto-find enable port 0 laser-on # 7. 注册ONU(SN认证,现场替换SN号) ont add 0 sn-auth 485754435706C391 omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc "办公ONU-1F机房" ont activate 0 0 quit # 8. 创建业务流,打通OLT-ONU-上行 service-port 1 vlan 100 gpon 0/15/0 ont 0 gemport 1 multi-service user-vlan 100 tag-transform translate # 9. 全局保存 save

现场调试查询命令

plaintext
display ont autofind all # 查看未注册ONU SN display ont info 0/15 0 0 # 查看ONU注册状态 display service-port all # 查看业务流 display dba-profile all display ont-lineprofile gpon all

方案二:华三 H3C P3608/P3310 GPON OLT 完整配置(配套你 WX5540H AC 组网)

规划

  • 槽位 1 GPON 板,PON 口 1/1
  • 上联万兆 XGE 1/0
  • 业务 VLAN 100
  • SN:H3C00001234,ONU-ID=1
plaintext
# 1. 基础初始化 system-view sysname H3C_OLT clock timezone Beijing add 8 info-center loghost 192.168.1.100 # 2. VLAN与上行配置 vlan 100 interface XGE 1/0 port link-type trunk port trunk permit vlan all quit # 3. GPON全局带宽DBA模板 gpon profile dba 1 name DBA_100M type4 assure 1024 max 102400 # 4. Tcont绑定、Flow业务模板 gpon profile flow 1 name FLOW_INTERNET uni-type ethernet-uni upmap-type vlanId vlanId 100 100 gpon profile tcont-bind 1 name BIND_100M tcont-id 1 dba-profile-id 1 svc-type n_p # 5. 进入GPON板卡视图 slot 1 # 6. PON口初始化 interface gpon-olt 1/1 # 开启自动发现 ont auto-find enable # 添加ONU绑定SN ont 1 sn H3C00001234 type gpon # 下发业务模板 service flow-profile 1 tcont-bind-profile 1 # UNI端口VLAN配置 uni 1 vlan-mode trunk pvid 101 uni 2 vlan-mode trunk pvid 101 uni 3 vlan-mode trunk pvid 101 uni 4 vlan-mode trunk pvid 101 quit # 7. 全局保存 save

H3C 调试查询命令

plaintext
brief-show slot 1 ont-unbound # 查看未注册ONU show running-config gpon-profile # 查看GPON模板 show slot 1 ont-info # ONU在线状态

通用开局流程(现场操作顺序)

  1. 配置 OLT 基础、VLAN、上行口
  2. 配置 DBA / 线路 / 业务模板(带宽、VLAN 映射)
  3. PON 口打开激光、开启 ONU 自动发现
  4. 查看未注册 ONU,记录 SN 写入配置注册
  5. 激活 ONU,创建 service-port 业务流
  6. 测试 ONU 网线接电脑获取 VLAN 100 地址,能通上层网关
  7. save 保存配置

适配你场景补充(对接华三 AC 无线)

  1. OLT 上行交换机放行 VLAN100 到 AC 业务 VLAN;
  2. AC 侧之前给你的配置:portal https-redirect enable 必配,解决麒麟笔记本不弹认证页;
  3. 若 ONU 下接 AP 交换机,ONU UNI 口设 trunk 透传业务 VLAN 即可。

暂无评论

粉丝:15人 关注:2人

一、前提与规划(先定好再敲)
框 / 槽 / 端口:OLT 0/1/1(GPON),上联 1/0/2
业务 VLAN:上网 VLAN 100,管理 VLAN 400
ONU:SN 认证,单口 / 多口 HGU,UNI1 做上网
二、H3C OLT 完整开局配置(可直接刷)
1. 全局初始化
bash
运行
# 进入系统
system-view
sysname OLT-MAIN

# 关闭不必要提示,开启密码安全
undo info-center enable
password-recovery enable

# 管理VLAN及IP(带内)
vlan 400
interface Vlan-interface400
ip address 10.40.0.1 255.255.255.0
quit

# 上联口(1/0/2)透业务+管理VLAN
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan 100 400
quit

# 开启DHCP(可选,给ONU/用户分配地址)
dhcp enable
2. GPON 基础模板(DBA+T-CONT+GEM)
bash
运行
# DBA模板(带宽策略)
dba-profile 10 type 3 assure 1024 max 10240

# ONU线路模板(绑定DBA、GEM映射VLAN)
onu-lineprofile gpon 1
tcont 0 dba-profile 10
gemport 1 tcont 0
gemport 1 map vlan 100 # 上网VLAN映射
quit

# ONU业务模板(UNI口能力)
onu-srvprofile gpon 1
uni 1 port-type eth
quit
3. PON 口(0/1/1)配置 + 自动发现
bash
运行
interface Olt1/0/1
port link-type hybrid
port hybrid vlan 100 tagged # 业务VLAN
port hybrid vlan 400 tagged # 管理VLAN
using onu 1 to 32 # 允许ONU编号范围
auto-find enable # 开启自动发现
quit
4. ONU 注册绑定(两种方式)
方式 A:自动发现后确认(推荐)
bash
运行
# 查看发现的ONU
display onu auto-find interface Olt1/0/1

# 确认注册(SN认证,替换SN)
interface Olt1/0/1
onu 1 sn 1234567890AB lineprofile 1 srvprofile 1
quit
方式 B:手动绑定(已知 SN)
bash
运行
interface Onu1/0/1:1
bind sn 1234567890AB
quit
5. ONU UNI 口业务配置(上网)
bash
运行
# 进入ONU接口
interface Onu1/0/1:1

# UNI1设为Trunk,透VLAN100
uni 1 link-type trunk
uni 1 trunk permit vlan 100
uni 1 trunk pvid vlan 100

# 管理(可选,ONU带内)
management-vlan 400
quit
6. 保存配置
bash
运行
save
三、ONU 本地默认配置(出厂)
一般不用改,OLT 远程管理即可:
管理 IP:192.168.1.1
用户名 / 密码:admin /admin
UNI 口默认:透明转发(VLAN 透传)
四、华为 MA5800 对照配置(简要)
bash
运行
# 全局
sysname OLT-HW
vlan 100
vlan 400
interface vlanif 400
ip address 10.40.0.1 24
quit

# 上联
interface gi 0/15/0
port link-type trunk
port trunk allow-pass vlan 100 400
quit

# GPON模板
dba-profile 10 type3 assure 1024 max 10240
ont-lineprofile gpon 1
tcont 0 dba-profile 10
gemport 1 tcont 0
gemport 1 mapping vlan 100
commit
quit

# PON口
interface gpon 0/15/1
port 0 ont-auto-find enable
quit

# 注册ONU
interface gpon 0/15/1
ont confirm 0 ontid 1 sn-auth 1234567890AB omci lineprofile 1 srvprofile 1
quit

# 业务映射
service-port vlan 100 gpon 0/15/1 ont 1 gemport 1 multi-service user-vlan 100
五、常用检查命令(排错必用)
H3C
bash
运行
display onu summary # 看ONU注册状态
display interface Olt1/0/1 # PON口状态
display interface Onu1/0/1:1 # ONU接口信息
display mac-address # 看MAC学习
华为
bash
运行
display ont info 0/15/1 1 # ONU详细信息
display port state gpon 0/15/1 # PON口状态
六、完整配置文件(H3C 示例)
bash
运行
#
sysname OLT-MAIN
#
undo info-center enable
#
vlan 100
vlan 400
#
interface Vlan-interface400
ip address 10.40.0.1 255.255.255.0
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan 100 400
#
dba-profile 10 type 3 assure 1024 max 10240
#
onu-lineprofile gpon 1
tcont 0 dba-profile 10
gemport 1 tcont 0
gemport 1 map vlan 100
#
onu-srvprofile gpon 1
uni 1 port-type eth
#
interface Olt1/0/1
port link-type hybrid
port hybrid vlan 100 tagged
port hybrid vlan 400 tagged
using onu 1 to 32
auto-find enable
#
interface Onu1/0/1:1
bind sn 1234567890AB
uni 1 link-type trunk
uni 1 trunk permit vlan 100
uni 1 trunk pvid vlan 100
management-vlan 400
#
dhcp enable
#
save

暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明