1、烽火 10GEPON AN5516-01 OLT 数据配置规范目录登陆烽火 OLT .2新增登录口令 2配置主机名 3OLT 开局 .3一、卡授权 31、卡授权 32、授权指定的卡 .33、查看卡授权状态: .34、卡去授权 4二、设置上联端口、管理 VLAN、 管理 IP .41、设置上联口 .41.1、上联口使能/去使能 .41.2、上联口属性 .41.3、显示上联端口信息 .51.4LACP 使能、查询 51.5 聚合组配置 .62、设置管理 VLAN、管理 IP.82.1 设置管理 VLAN、管理 IP.82.2 查询管理 vlan、管理 IP.8三、设置 SNMP 信息 .91、配置
2、 OLT 设备 SNMP 参数 92、配置 snmp trap 接受地址、端口号 93、 SNMP 配置命令行整体导入模板 9四、添加静态路由 .10OLT 全局业务配置 .10一、打开 dhcp option 8 101、dhcp option82 设置 .102、dhcp option82 设置查询 .103、dhcp option82 命令行导入模板 .11二、组播配置 111、 组播 VLAN、组播模式配置 112、添加组播地址白名单,查询组播地址白名单 .113、组播配置命令行导入模板 .11三、线卡互通开关配置 .121、线卡互通开关打开配置 .122、线卡互通开关配置查询 .12
3、3、线卡互通开关配置命令导入模板 .12四、设置 PON 口认证模式 .121、 设置 PON 口认证模式 .122、查询 PON 口认证模式 .123、PON 口认证模式命令行导入模板 13五、局端外层 VLAN 数据添加 141、局端外层 VLAN 数据添加 .142、 查询局端外层 VLAN 数据 .143、外层局端 VLAN 配置命令行导入模板 .14六、 VLAN 添加端口 .151、 VLAN 添加端口配置 152、 VLAN 添加端口查询 153、VLAN 添加端口命令行导入模板 15七、NGN 上联接口 16八、OLT QINQ 域 .161、QINQ 模板配置 .162、 Q
4、INQ 模版配置查询 163、QINQ 模板配置命令行导入模板 18九、QINQ 模板绑定/去绑定 PON 口 .191、 QINQ 模版绑定/去绑定 PON 口 .192、 PON 口 QINQ 模板查询 193、 QINQ 模板绑定 PON 口命令行导入模板 .19单用户开通手工配置 20单板卡扩容 OLT 数据配置 21登陆烽火 OLTtelnet x.x.x.x (x.x.x.x OLT 管理 IP)Login:GEPON /用户名大写 GEPONpassword:* /密码大写 GEPONMaster User EN /用户名大写 EN Password: * /密码大写 GEPON
5、Admin# 新增登录口令新增登录口令:Admin# cd aaa Adminaaa# user add zjadmin login-password zj0511Adminaaa# user role zjadmin ADMIN enable-password zj0511查询登录用户名:Admin# user list删除登录名:Admin# user delete 配置主机名配置主机名:Admin#hostname Example:Admin#hostname ZJDLL-FH10G-OLT0001ZJNM-FH10G-OLT0001# OLT 开局一、卡授权1、卡授权Admin#set
6、 card_all_auth /所有卡授权2、授权指定的卡Admin#set card_auth slot type Admin#set card_auth slot 1 type XG8A/烽火 10GEPON 的板卡类型为 XG8A 3、查看卡授权状态:Admin# showcard -AN5116-06B/AN5516-01-CARD EXIST CONFIG DETECT DETAIL CARD / /槽位号1 YES XG8A XG8A MATCH EXIST /物理槽位是否插卡2 YES XG8A XG8A MATCH CONFIG/网管配置的卡类型3 - - - - DETECT
7、/网管检测的卡类型4 - - - - DETAIL /网管检测的卡类型与网5 - - - - 管配置的卡类型是否匹配6 - - - - 7 - - - -8 - - - -9 YES HSWA HSWA MATCH/M M/ 主用10 YES HSWA HSWA MATCH/S S/备用11 - - - -12 - - - -13 - - - -14 - - - -15 - - - -16 - - - -17 - - - -18 - - - -19 YES HU2A HU2A MATCH20 YES HU2A HU2A MATCH21 YES FAN FAN MATCH24 YES PWR P
8、WR MATCH25 YES PWR PWR MATCH801 - - - -Current temperature is 39 C.Power 1 and Power 2 are ON. FAN 1 speed is 1. Subframe type is 06B/AN5516-01.Admin# 4、卡去授权Admin#set card_unauth slot |all /所有卡去授权/ 单槽位卡去授权二、设置上联端口、管理 VLAN、 管理 IP1、设置上联口1.1、上联口使能/去使能Admininterface#set uplink slot port enable|disableAd
9、min# cd interface Admininterface#set uplink slot 19 port 1 enable /19:1 端口使能Admininterface#set uplink slot 20 port 1 disable /20:1 端口去使能/上联盘槽位为 19、20 端口号为 1-61.2、上联口属性Admininterface#set uplink slot port auto_negotiation enable|disable speed 10m|100m|1000m|10000m duplex full|half/槽位号 /端口号 auto_negoti
10、ation enable|disable / 自适应使能/去使能speed 10m|100m|1000m|10000m /速率 10m|100m|1000m|10000mduplex full|half /双工 全双工/半双工Admininterface#set uplink slot 19 port 1 auto_negotiation disable speed 10000m duplex full/ 19:1 端口强制 10000M 全双工1.3、显示上联端口信息Admindevice#show uplink port all /查询所有上联端口状态 Admin# cd deviceAd
11、mindevice#show uplink port allAdmindevice#show uplink slot port /查询具体上联端口状态Admindevice#show uplink slot 19 port 1/查询 19:1 上联端口状态1.4LACP 使能、查询Adminprotocollacp# set lacp enable|disable / 上联端口 LACP 使能/去使能Admin# cd protocolAdminprotoco# cd lacpAdminprotocollacp#set lacp enable Adminprotocollacp# show l
12、acp channel-group trunks / 查询所有上联 trunk 组 LACP 状态Adminprotocollacp# show lacp channel-group trunks LACP GROUP state information is:Group Id: 1 Mode: LACPSystem Priority: 32768 System ID: 34bf-9074-ae1fPriority Preemption: disable-ActorPortName Status PortPri PortKey PortState17 select 32768 1 0x3d23
13、 select 32768 1 0x3d-ActorPortName SysPri SystemID PortPri PortNo PortKey PortState17 32768 84d9-31e6-e24b 32768 310 5 0x3d23 32768 84d9-31e6-e24b 32768 3790 5 0x3dGroup Id: 2 Mode: LACPSystem Priority: 32768 System ID: 34bf-9074-ae1fPriority Preemption: disable-ActorPortName Status PortPri PortKey
14、PortState20 select 32768 2 0x3d26 select 32768 2 0x3d-ActorPortName SysPri SystemID PortPri PortNo PortKey PortState20 32768 84d9-31e6-e255 32768 453 8 0x3d26 32768 84d9-31e6-e255 32768 3933 8 0x3dAdminprotocollacp# 1.5 聚合组配置Admininterface# create trunk /创建 trunk 组 (id 组号 1-6 )Admininterface# set tr
15、unking groupno mode static|lacp/ 设置 trunk 组类型 静态/LACP Admininterface# set trunk max-member-num /设置 trunk 组最大成员数 1-12Admininterface# add trunk slot port /添加 trunk 组成员Admininterface# show trunk all /查询所有 trunk 组信息Admininterface# show trunk /查询具体 trunk 组信息Admininterface# create trunk 1 /创建 turnk 组 1Adm
16、ininterface# set trunking groupno 1 mode lacp /设置 trunk 组 1 类型为 lacpAdmininterface# set trunk 1 max-member-num 6 /设置 trunk 组 1 最大成员数为6Admininterface# add trunk 1 slot 19 port 1 /添加 19:1 到 trunk 组 1Admininterface# add trunk 1 slot 20 port 1 /添加 20:1 到 trunk 组 1Admininterface# show trunk 1 /查询 trunk 组
17、 1 信息trunk 1 info :portId(option):19:1 20:1 .master_port 19:1, trunk_mode : LACP trunk psc : SRC and DST MAC auto_negotiation : DISABLE duplex : FULL flow_switch : DISABLE mac_learning_switch : ENABLE pri_enable : DISABLE priority 0 :speed 3 :wan_lan_mode 1 :work_mode 0 :jumbo_frame 0 :Admininterfac
18、e# Admininterface# show trunk all /查询所有 trunk 组信息trunk 1 info :portId(option):19:1 20:1 .master_port 19:1, trunk_mode : LACP trunk psc : SRC and DST MAC auto_negotiation : DISABLE duplex : FULL flow_switch : DISABLE mac_learning_switch : ENABLE pri_enable : DISABLE priority 0 :speed 3 :wan_lan_mode
19、1 :work_mode 0 :jumbo_frame 0 :trunk 2 info :portId(option):19:4 20:4 .master_port 19:4, trunk_mode : LACP trunk psc : SRC and DST MAC auto_negotiation : ENABLE duplex : HALF flow_switch : DISABLE mac_learning_switch : ENABLE pri_enable : DISABLE priority 0 :speed 0 :wan_lan_mode 1 :work_mode 0 :jum
20、bo_frame 0 :trunk 3 info :portId(option):.trunk 4 info :portId(option):.trunk 5 info :portId(option):.trunk 6 info :portId(option):.Admininterface# 2、设置管理 VLAN、管理 IP2.1 设置管理 VLAN、管理 IPAdminservice#set manage vlan name vid inputport untagged|taggedAdminservice#set manage vlan name ip *1Adminservice#
21、et manage vlan name ZJNM-FH10G-OLT0001 vid 50 inputport 19:1 tagged /南门局点 管理 VLAN 为 50 上联端口 19:1 (19:1 默认为 trunk 1 的主用端口 ) Adminservice#set manage vlan name ZJNM-FH10G-OLT0001 ip 9.100.21.149/30 (9.100.21.150 ) (设置的网关 IP 将自动转换成一条默认静态路由) /管理 IP 9.100.21.149 掩码 255.255.255.252 网关 9.100.21.1502.2 查询管理
22、vlan、管理 IPAdminservice#show manage_vlan all /查询管理 vlan 管理 ip 信息Adminservice# show manage_vlan all manage vlan: 50, name: managevlan 50: port(Tag|Utag) : trunk:1 T Device: sub Unit: 50Ethernet address: 34:bf:90:74:ae:1fTotal protocols:0Inet: 9.100.21.149 mask: 255.255.255.252RX packets: 0 TX packets:
23、 376285RX bytes: 0 TX bytes: 165319730MTU: 1492Adminservice# 三、设置 SNMP 信息1、配置 OLT 设备 SNMP 参数Adminservice# set snmp community readonly xxxxxxxx /只读团体名Adminservice# set snmp community readwrite xxxxxxxx /读写团体名Adminservice# show snmp community /查询 snmp 读写口令Adminservice# set snmp community readonly zj51
24、1_ro /读口令 zj511_roAdminservice# set snmp community readwrite js511_rw / 写口令 js511_rwAdminservice# show snmp community / 查询读写口令Read-only Community String is :zj511_roRead-write Community String is :js511_rwAdminservice# 2、配置 snmp trap 接受地址、端口号Adminservice# service snmp trap enableldiable / snmp trap
25、使能/去使能Adminservice# Adminservice#set snmp trapreceiver add x.x.x.x version v2c community public signaltrace_switch disable /设置 SNMP trap 接收地址Adminservice#Set snmp trapreceiver ip x.x.x.x port id /设置 snmp trap 端口Adminservice# service snmp trap enable /snmp trap 使能Adminservice#set snmp trapreceiver ad
26、d 10.205.24.230 version v2c community public signaltrace_switch disable/设置 SNMP trap 接收地址 10.205.24.230Adminservice#Set snmp trapreceiver ip 10.205.24.230 port 162 /设置 snmp trap 端口号为 162Adminservice# show snmp trapreceiver / 查询 snmp trap 信息 Snmp agent trap is up.IP address Version Community Port Sig
27、naltracking 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.Adminservice# 3、SNMP 配置命令行整体导入模板Adminservice# set snmp community readwrite js511_rwset snmp community readonly zj511_roservice snmp trap ena
28、bleadd snmp trap_map id 1 ip_address :ffff:10.205.24.230add snmp trap_map id 2 ip_address :ffff:202.102.4.162set snmp trapreceiver add :ffff:10.205.24.230 version v2c community public signaltrace_switch disableset snmp trapreceiver add :ffff:202.102.4.162 version v2c community public signaltrace_swi
29、tch disableset trap :ffff:10.205.24.230 Version privformatset trap :ffff:202.102.4.162 Version privformatset snmp trapreceiver ip :ffff:10.205.24.230 port 162set snmp trapreceiver ip :ffff:202.102.4.162 port 162 set snmp trap sendLen 1100 autoConfirmSwitch disable sendRepeatNumber 18四、添加静态路由Adminser
30、vice# add static route destination 0.0.0.0 gateway x.x.x.x mask 0.0.0.0 /添加静态路由Adminservice# show static_route /查询静态路由列表OLT 全局业务配置一、打开 dhcp option 81、dhcp option82 设置Admindevicecircuitid#set circuit_id format cnclctc /线路标识格式 电信为 ctcAdmindevicecircuitid#set dhcp option82 enbleldisable / 线路标识管理开关、Admi
31、n#Admin# cd device Admindevice# cd circuitid Admindevicecircuitid# set circuit_id format ctc / 线路标识格式电信采用 CTCAdmindevicecircuitid# set dhcp option82 enable / 线路标识管理开关2、dhcp option82 设置查询Admindevicecircuitid# show dhcp state / 查询线路标识管理状态Admindevicecircuitid# show circuit_id format /查询线路标识格式Admindevic
32、ecircuitid# show dhcp state / 查询线路标识管理状态DHCP option82 : enabledDHCP option18 : disabledDHCP option37 : disabledEPON DHCP Patch: disabledEPON ARP Patch: disabledAdmindevicecircuitid# show circuit_id format /查询线路标识格式Circuit ID format : CTC StandardAdmindevicecircuitid# 3、dhcp option82 命令行导入模板Admindevi
33、cecircuitid# set circuit_id format ctc set dhcp option82 enable二、组播配置1、 组播 VLAN、组播模式配置Adminprotocoligmp#set igmp vlan 40 /配置组播 vlan 为 40Adminprotocoligmp#set igmp stack v2 /设置组播协议版本为 v2Adminprotocoligmp#set igmp mode proxy-proxy /设置 OLT 组播为代理模式2、添加组播地址白名单,查询组播地址白名单Adminprotocoligmp#add onu_group_whi
34、te_list grp_begin x.x.x.x grp_end x.x.x.x / 添加组播地址白名单 Adminprotocoligmp# show onu_group_white_list /查询组播地址白名单Adminprotocoligmp# show onu_group_white_list item ip-rang1 239.49.0.1-239.49.0.2552 239.49.1.1-239.49.1.2553 239.49.8.1-239.49.8.2554 239.49.9.1-239.49.9.2555 239.252.152.1-239.252.152.255Adm
35、inprotocoligmp# 3、组播配置命令行导入模板组播配置组播 VLAN 40 组播协议版本:V2 模式: 代理-代理 Adminprotocoligmp#set igmp vlan 40 set igmp stack v2 set igmp mode proxy-proxy set igmp dynamic_vlan disableset igmp-ssm ip-range 232.0.0.0/8添加组播地址白名单Adminprotocoligmp#add onu_group_white_list grp_begin 239.49.0.1 grp_end 239.49.0.255ad
36、d onu_group_white_list grp_begin 239.49.1.1 grp_end 239.49.1.255add onu_group_white_list grp_begin 239.49.8.1 grp_end 239.49.8.255add onu_group_white_list grp_begin 239.49.9.1 grp_end 239.49.9.255add onu_group_white_list grp_begin 239.252.152.1 grp_end 239.252.152.255三、线卡互通开关配置1、线卡互通开关打开配置Admincard#
37、set pon_interconnection_switch slotswitch enableldisable union_interconnect_switch enableldisable / 某槽位 PON 互通开关 使能/去使能 联通互通开关 使能/去使能Admincard#set pon_interconnection_switch slot1switch enable union_interconnect_switch disable / 1 槽位 PON 互通开关使能,联通互联互通开关去使能2、线卡互通开关配置查询Admincard# show pon_interconnect
38、_switch slot /查询线卡互通状态Admincard# show pon_interconnect_switch slot 1PON Interconnection Switch is enable!Union Interconnection Switch is disable!Admincard# 3、线卡互通开关配置命令导入模板1 槽位 PON 互通开关使能,联通互联互通开关去使能Admincard#set pon_interconnection_switch slot 1 switch enable union_interconnect_switch disable 四、设置
39、PON 口认证模式1、 设置 PON 口认证模式Admincard# set pon_auth slot pon mode phy_id/loidlloidl phy_id / 某槽位某 PON 口认证模式为物理标识/逻辑混合认证模式、逻辑认证、物理标识认证Admincard#set pon_auth slot 1 pon 1 mode phy_id/loid/设置 1 槽位 1PON 口 物理标识/ 逻辑混合认证模式2、查询 PON 口认证模式Admincard# show pon_auth select slot pon /查询具体槽位具体 PON 口认证模式Admincard# show
40、 pon_auth all /查询全部 PON 口认证模式Admincard# show pon_auth select slot 1 pon 1 /查询 1 槽位 1PON 认证模式slot 1 pon 1 ,auth mode is physical id or logical id or physical password. Admincard# Admincard# show pon_auth all / 查询全部 PON 认证模式- PON AUTH, ITEM=16 -slot 1 pon 1 ,auth mode is physical id or logical id or p
41、hysical password. slot 1 pon 2 ,auth mode is physical id or logical id or physical password. slot 1 pon 3 ,auth mode is physical id or logical id or physical password. slot 1 pon 4 ,auth mode is physical id or logical id or physical password. slot 1 pon 5 ,auth mode is physical id or logical id or p
42、hysical password. slot 1 pon 6 ,auth mode is physical id or logical id or physical password. slot 1 pon 7 ,auth mode is physical id or logical id or physical password. slot 1 pon 8 ,auth mode is physical id or logical id or physical password. slot 2 pon 1 ,auth mode is physical id or logical id or p
43、hysical password. slot 2 pon 2 ,auth mode is physical id or logical id or physical password. slot 2 pon 3 ,auth mode is physical id or logical id or physical password. slot 2 pon 4 ,auth mode is physical id or logical id or physical password. slot 2 pon 5 ,auth mode is physical id or logical id or p
44、hysical password. slot 2 pon 6 ,auth mode is physical id or logical id or physical password. slot 2 pon 7 ,auth mode is physical id or logical id or physical password. slot 2 pon 8 ,auth mode is physical id or logical id or physical password. Admincard# 3、PON 口认证模式命令行导入模板1 槽位 8 个 PON 认证模式全部设定为物理标识/逻
45、辑混合认证模式Admincard#set pon_auth slot 1 pon 1 mode phy_id/loid set pon_auth slot 1 pon2 mode phy_id/loid set pon_auth slot 1 pon3 mode phy_id/loid set pon_auth slot 1 pon4 mode phy_id/loid set pon_auth slot 1 pon5 mode phy_id/loid set pon_auth slot 1 pon6 mode phy_id/loid set pon_auth slot 1 pon7 mode phy_id/loid set pon_auth slot 1 pon8 mode phy_id/loid 五、局端外层 VLAN 数据添加1、局端外层 VLAN 数据添加Adminvlan#create service_vlan 101 /创建第一条Adminvlan#set service_vlan 101 data type da