烽火10GEPON OLT 数据配置规范 下载本文

内容发布更新时间 : 2024/12/22 20:05:16星期一 下面是文章的全部内容请认真阅读。

三、设置SNMP信息

1、配置OLT设备 SNMP参数

Admin\\service# set snmp community readonly xxxxxxxx //只读团体名Admin\\service# set snmp community readwrite xxxxxxxx //读写团体名 Admin\\service# show snmp community //查询snmp读写口令

Admin\\service# set snmp community readonly zj511_ro //读口令zj511_ro Admin\\service# set snmp community readwrite js511_rw // 写口令 js511_rw Admin\\service# show snmp community // 查询读写口令 Read-only Community String is :[zj511_ro] Read-write Community String is :[js511_rw] Admin\\service#

2、配置snmp trap接受地址、端口号

Admin\\service# service snmp trap [enableldiable] // snmp trap 使能/去使能 Admin\\service#

Admin\\service#set snmp trapreceiver add x.x.x.x version v2c community public signaltrace_switch disable //设置SNMP trap接收地址

Admin\\service#Set snmp trapreceiver ip x.x.x.x port id //设置snmp trap端口

Admin\\service# service snmp trap enable //snmp trap 使能

Admin\\service#set snmp trapreceiver add 10.205.24.230 version v2c community public signaltrace_switch disable//设置SNMP trap接收地址10.205.24.230

Admin\\service#Set snmp trapreceiver ip 10.205.24.230 port 162 //设置snmp trap端口号为162

Admin\\service# show snmp trapreceiver // 查询snmp trap 信息 Snmp agent trap is up.

IP address Version Community Port Signaltracking authentication-level

::ffff:10.205.24.230 v2c public 162 disable ::ffff:202.102.4.162 v2c public 162 disable Total 2 trapreceiver IP address in system. Admin\\service#

3、SNMP配置命令行整体导入模板

Admin\\service#

set snmp community readwrite js511_rw set snmp community readonly zj511_ro service snmp trap enable

add snmp trap_map id 1 ip_address ::ffff:10.205.24.230

add snmp trap_map id 2 ip_address ::ffff:202.102.4.162

set snmp trapreceiver add ::ffff:10.205.24.230 version v2c community public signaltrace_switch disable

set snmp trapreceiver add ::ffff:202.102.4.162 version v2c community public signaltrace_switch disable

set trap ::ffff:10.205.24.230 Version privformat set trap ::ffff:202.102.4.162 Version privformat

set snmp trapreceiver ip ::ffff:10.205.24.230 port 162 set snmp trapreceiver ip ::ffff:202.102.4.162 port 162

set snmp trap sendLen 1100 autoConfirmSwitch disable sendRepeatNumber 18

四、添加静态路由

Admin\\service# add static route destination 0.0.0.0 gateway x.x.x.x mask 0.0.0.0 //添加静态路由

Admin\\service# show static_route //查询静态路由列表

OLT全局业务配置

一、打开dhcp option 8

1、dhcp option82 设置

Admin\\device\\circuitid#set circuit_id format [cnclctc] //线路标识格式 电信为ctc Admin\\device\\circuitid#set dhcp option82 [enbleldisable] // 线路标识管理开关、

Admin#

Admin# cd device

Admin\\device# cd circuitid

Admin\\device\\circuitid# set circuit_id format ctc // 线路标识格式电信采用CTC Admin\\device\\circuitid# set dhcp option82 enable // 线路标识管理开关

2、dhcp option82 设置查询

Admin\\device\\circuitid# show dhcp state // 查询线路标识管理状态 Admin\\device\\circuitid# show circuit_id format //查询线路标识格式

Admin\\device\\circuitid# show dhcp state // 查询线路标识管理状态 DHCP option82 : enabled DHCP option18 : disabled DHCP option37 : disabled EPON DHCP Patch: disabled EPON ARP Patch: disabled

Admin\\device\\circuitid# show circuit_id format //查询线路标识格式 Circuit ID format : CTC Standard

Admin\\device\\circuitid#

3、dhcp option82 命令行导入模板

Admin\\device\\circuitid# set circuit_id format ctc set dhcp option82 enable

二、组播配置

1、 组播VLAN、组播模式配置

Admin\\protocol\\igmp#set igmp vlan 40 //配置组播vlan为40

Admin\\protocol\\igmp#set igmp stack v2 //设置组播协议版本为v2

Admin\\protocol\\igmp#set igmp mode proxy-proxy //设置OLT组播为代理模式

2、添加组播地址白名单,查询组播地址白名单

Admin\\protocol\\igmp#add onu_group_white_list grp_begin x.x.x.x grp_end x.x.x.x // 添加组播地址白名单

Admin\\protocol\\igmp# show onu_group_white_list //查询组播地址白名单

Admin\\protocol\\igmp# show onu_group_white_list

item ip-rang

1 239.49.0.1-239.49.0.255 2 239.49.1.1-239.49.1.255 3 239.49.8.1-239.49.8.255 4 239.49.9.1-239.49.9.255

5 239.252.152.1-239.252.152.255 Admin\\protocol\\igmp#

3、组播配置命令行导入模板

组播配置

组播VLAN 40 组播协议版本:V2 模式: 代理-代理 Admin\\protocol\\igmp# set igmp vlan 40 set igmp stack v2

set igmp mode proxy-proxy set igmp dynamic_vlan disable set igmp-ssm ip-range 232.0.0.0/8

添加组播地址白名单 Admin\\protocol\\igmp#

add onu_group_white_list grp_begin 239.49.0.1 grp_end 239.49.0.255 add onu_group_white_list grp_begin 239.49.1.1 grp_end 239.49.1.255 add onu_group_white_list grp_begin 239.49.8.1 grp_end 239.49.8.255 add onu_group_white_list grp_begin 239.49.9.1 grp_end 239.49.9.255

add onu_group_white_list grp_begin 239.252.152.1 grp_end 239.252.152.255

三、线卡互通开关配置

1、线卡互通开关打开配置

Admin\\card#set

pon_interconnection_switch slotswitch [enableldisable]

union_interconnect_switch [enableldisable] // 某槽位PON 互通开关 使能/去使能 联通互通开关 使能/去使能

Admin\\card#set pon_interconnection_switch slot1switch enable union_interconnect_switch disable // 1槽位PON互通开关使能,联通互联互通开关去使能

2、线卡互通开关配置查询

Admin\\card# show pon_interconnect_switch slot //查询线卡互通状态

Admin\\card# show pon_interconnect_switch slot 1 PON Interconnection Switch is enable! Union Interconnection Switch is disable! Admin\\card#

3、线卡互通开关配置命令导入模板

1槽位PON互通开关使能,联通互联互通开关去使能

Admin\\card#

set pon_interconnection_switch slot 1 switch enable union_interconnect_switch disable

四、设置PON口认证模式

1、 设置PON口认证模式

Admin\\card# set pon_auth slot pon mode [phy_id/loidlloidl phy_id] // 某槽位某PON口认证模式为物理标识/逻辑混合认证模式、逻辑认证、物理标识认证

Admin\\card#set pon_auth slot 1 pon 1 mode phy_id/loid //设置1槽位1PON口 物理标识/逻辑混合认证模式

2、查询PON口认证模式

Admin\\card# show pon_auth select slot pon