C300 EPON开局指南
1. 组网
网管系统
资源系统 软交换 语音业务
路由器NE40E BRAS
SR 路由器NE40E 汇聚交换机 C300 两块GUSQ的各一个光口组成链路聚合组,最两块GUSQ的各一F820/ D420… 个电口组成1:1保护 家庭网关
2. 版本升级
1.1. 登陆
? 通过串口登陆(波特率9600)
一开始可以直接进入,但是如果想进入配置界面,要输入enable,密码:zxr10 进入配置页面:
ZXAN#config terminal ZXAN(config)#
? 通过管理口telnet登陆
telnet 网元带外地址(默认为136.1.1.100) 然后输入用户名zte和密码zte
1.2. 添加机框和单板
C300默认情况下所有单板都是自动识别并添加的,不需要手工添加。如果需要手工添加,采用命令如下:
? 添加机框
ZXAN(config)#add-rack rackno 1 racktypeI EC191
ZXAN(config)#add-shelf rackno 1 shelfno 1 shelftype IEC_SHELF
? 添加单板 ZXAN(config)#add-card slot 槽位 板类型
主控板类型为SCXM,占槽位10和11(一主一备);
上联板类型为GUSQ,占槽位19和20 线卡类型为ETGO,占槽位2-9,12-17 CICG板类型为CICG,占槽位18
1.3. 版本升级
具体配置可参考文档中版本升级部分
C:\\c300资料\\C300\\C300 EPON 基本业务配
如下为方便操作,写的升级脚本:
脚本执行完成执行命令:
ZXAN#reboot
3. OLT数据预配置
3.1. 清空OLT网元数据
? 查看配置文件信息 :ZXAN#dir cfg
? 删除配置文件: ZXAN#delete cfg startrun.dat
3.2. 设备命名
名称前六位表示设备型号、中间以拼音表示设备所在分公司-业务区、最后二位表示序号。具体格式如下:
设备型号+分公司-业务区序号
ZXAN(config)#hostname C300 TZ-TL01
3.3. 系统时间设置
ZXAN(config)#ntp server 61.148.238.99 //设置跟随时间服务器 ZXAN(config)#ntp source 61.50.43.253 ZXAN(config)#ntp enable
ZXAN(config)#clock timezone BJT 8 0
以下对上联口配置中,19槽位上联板1号口和20槽位上联板1
号口为语音端口;19槽位上联板3号口和20槽位上联板3号口为数据端口
3.4. 配置OLT带内vlan和路由
? 配置OLT带内vlan:
ZXAN(config)#vlan 9 //此处9为OLT管理vlan ZXAN(config)#interface vlan 9
ZXAN(config-if)# ip address 10.169.40.13 255.255.255.0
ZXAN(config)#interface gei_1/19/3(上联口3为数据端口) ZXAN(config-if)#switchport vlan 9 tag
ZXAN(config)#interface gei_1/20/3(上联口3为数据端口) ZXAN(config-if)#switchport vlan 9 tag
? 配置路由:
ZXAN(config)#ip route 210.82.0.0 255.255.0.0 10.169.40.1 (其中10.169.40.1是BAS互联地址)
ZXAN(config)#ip route 61.148.238.0 255.255.255.0 10.169.40.1 (访问 kt) ZXAN(config)#ip route 61.148.219.0 255.255.255.0 10.169.40.1 (访问家庭网管网管)
ZXAN(config)#ip route 123.124.120.0 255.255.255.0 10.169.40.1(访问epon网管)
3.5. 配置ONU的管理vlan和地址
ZXAN(config)#vlan 6 //此处6为ONU管理vlan ZXAN(config)#interface vlan 6
ZXAN(config-if)# ip address 172.16.0.1 255.255.252.0
ZXAN(config)#interface gei_1/19/1(上联口1为语音端口) ZXAN(config-if)#switchport vlan 6 tag
ZXAN(config)#interface gei_1/20/1(上联口1为语音端口) ZXAN(config-if)#switchport vlan 6 tag
ZXAN(config)#interface gei_1/19/3(上联口3为数据端口) ZXAN(config-if)#switchport vlan 6 tag
ZXAN(config)#interface gei_1/20/3(上联口3为数据端口) ZXAN(config-if)#switchport vlan 6 tag
ZXAN(config)#mpnat onu-mng-vlan 6(启动mpnat功能)
3.6. 配置语音vlan和地址
ZXAN(config)#vlan 3997 //此处3997为语音vlan
ZXAN(config)#interface vlan 3997
ZXAN(config-if)# ip address 10.35.73.1 255.255.255.0 ZXAN(config-if)#ip proxy-arp(onu语音互通用)
ZXAN(config)#interface gei_1/19/1(上联口1为语音端口) ZXAN(config-if)#switchport vlan 3997 tag
ZXAN(config)#interface gei_1/20/1(上联口1为语音端口) ZXAN(config-if)#switchport vlan 3997 tag
3.7. 创建外层VLAN并将其以tag方式绑定到数据业务上联口
ZXAN(config)#vlan database ZXAN(vlan)#vlan 4001-4006
ZXAN(config)#interface gei_1/19/3(上联口3为数据端口) ZXAN(config-if)#switchport vlan 4001-4006 tag
ZXAN(config)#interface gei_1/20/3(上联口3为数据端口) ZXAN(config-if)#switchport vlan 4001-4006 tag
3.8. OSPF语音相关配置
ZXAN(config)#vlan 3991 //此处3991为OSPF本端的接口vlan ZXAN(config)#interface vlan 3991
ZXAN(config-if)# ip address 10.0.165.154 255.255.255.252 ZXAN(config-if)# ip ospf hello-interval 3
ZXAN(config-if)# ip ospf network point-to-point
ZXAN(config)#interface gei_1/19/1(上联口1为语音端口) ZXAN(config-if)#switchport default vlan 3991
ZXAN(config)#vlan 3992 //此处3992为OSPF本端的接口vlan ZXAN(config)#interface vlan 3992
ZXAN(config-if)# ip address 10.0.165.158 255.255.255.252 ZXAN(config-if)# ip ospf hello-interval 3
ZXAN(config-if)# ip ospf network point-to-point
ZXAN(config)#interface gei_1/19/2(上联口1为语音端口) ZXAN(config-if)#switchport default vlan 3992
ZXAN(config)#router ospf 100
ZXAN(config-router)#network 10.0.165.152 0.0.0.3 area 0.0.3.36 ZXAN(config-router)#network 10.0.165.156 0.0.0.3 area 0.0.3.36 ZXAN(config-router)#network 10.35.73.0 0.0.0.255 area 0.0.3.36
3.9. LACP相关配置
ZXAN(config)#interface gei_1/19/3(上联口3为数据端口) ZXAN(config-if)#smartgroup 1 mode on
ZXAN(config)#interface gei_1/20/3(上联口3为数据端口) ZXAN(config-if)#smartgroup 1 mode on
ZXAN(config)#interface smartgroup1 ZXAN(config-if)# switchport mode hybrid
ZXAN(config-if)# switchport vlan 6,9,4001-4006 tag
3.10. 打开Onu自动认证功能
ZXAN(config-epon)#ems-unauth-report 1/x enable (x为etgo板所在的槽位号) 3.11. 配置网管trap服务器 ZXAN(config)#snmp-server
host 123.124.120.66 trap version 2c public enable NOTIFICATIONS server-index 1 udp-port 162
3.12. 配置VOIP IP模板、VOIP VLAN模板和VOIP协议模板
ZXAN(config-epon)#voip-ip profile CNCRMS relation independent mode static gateway 10.35.73.1 dns 0.0.0.0
ZXAN(config-epon)#voip-vlan profile CNCRMS tag-mode tag cvlan 3997 priority 7(3997为语音VLAN)
ZXAN(config-epon)#h248-profile CNCRMS register-server ip 10.0.78.6 port 2944
ZXAN(config-epon)#h248-profile CNCRMS backup-register-server ip 10.0.94.6 port 2944 ZXAN(config-epon)#h248-profile CNCRMS heartbeat-mode none rtp-link-test disable cycle 30 count 3
ZXAN(config-epon)#h248-profile CNCRMS mg register-mode ip port 2944
3.13. IP地址池和绑定
ZXAN(config-epon)#ip-pool p1 begin 172.16.0.2 end 172.16.7.254 255.255.248.0 vlan 6 priority 5 mgm-ip 123.124.120.0 255.255.255.0 172.16.0.1 ZXAN(config)#interface epon-olt_1/etgo槽位/etgo pon口号 ZXAN(config-if)# ip-pool-bind p1
如下为配置文件脚本:
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库C300 EPON开局指南在线全文阅读。
相关推荐: