C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 2727|回复: 0

OLT模板 [复制链接]

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2012-10-16
发表于 2014-5-20 12:19:11 |显示全部楼层
Username:zte
Password:zte
添加硬件
ZXAN#con t
Enter configuration commands, one per line.  End with CTRL/Z.
ZXAN(config)#
ZXAN(config)#add-rack rackno 0 racktype ZXPON
ZXAN(config)#add-shelf  rackno 0 shelfno 0 shelftype ZXA10C200-A
ZXAN(config)#add-card rackno 0 shelfno 0 slotno 1 EPFC
ZXAN(config)#master-backup disable rackno 0 shelfno 0
添加ONU类型
ZXAN(config)#Pon
ZXAN(config-pon)#onu-type epon ZTE-F460 description F460
ZXAN(config-pon)#onu-if ZTE-F460 eth_0/1-4
ZXAN(config-pon)#onu-if ZTE-F460 pots_0/1-2
ZXAN(config-pon)#onu-if ZTE-F460 wifi_0/1
ZXAN(config-pon)#clock-mode 1 local
ZXAN(config-pon)#exit
注册ONU
ZXAN(config)#interface epon-olt_0/1/1
ZXAN(config-if)#show onu unauthentication epon-olt_0/1/1
ZXAN(config-if)#onu 1 type ZTE-F460 mac  00d0.d05f.88ca
ZXAN(config-if)#exit
ZXAN(config)#interface epon-onu_0/1/1:1
ZXAN(config-if)#bandwidth upstream maximum 100000
ZXAN(config-if)#bandwidth downstream maximum 100000
ZXAN(config-if)#authentication enable
ZXAN(config-if)#exit
数据业务
ZXAN(config)#vlan 100
ZXAN(config-vlan)#exit
ZXAN(config)#interface epon-onu_0/1/1:1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 100 tag
ZXAN(config-if)#exit
ZXAN(config)#interface gei_0/4/3
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 100 tag
ZXAN(config-if)#exit
ZXAN(config)#pon-onu-mng epon-onu_0/1/1:1
ZXAN(epon-onu-mng)#interface eth eth_0/1 phy-state enable
ZXAN(epon-onu-mng)# vlan port eth_0/1 mode tag vlan 100 priority 4
ZXAN<epon-onu-mng>#save
ZXAN<epon-onu-mng>#reboot
组播业务
ZXAN(config)#vlan 200
ZXAN(config-vlan)#exit
ZXAN(config)#igmp mvlan 200
ZXAN(config)#igmp mvlan 200 enable
ZXAN(config)#igmp mvlan 200 work-mode  proxy
ZXAN(config)#igmp mvlan 200 group 239.0.1.1  
ZXAN(config)#igmp mvlan 200 group 239.0.1.1 bandwidth 10240
ZXAN(config)#interface epon-onu_0/1/1:1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 200 tag
ZXAN(config-if)#exit
ZXAN(config)#interface gei_0/4/3
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 200 tag
ZXAN(config-if)#exit
ZXAN(config)#igmp mvlan 200 source-port  gei_0/4/3
ZXAN(config)#igmp mvlan 200 receive-port epon-onu_0/1/1:1
ZXAN(config)#interface epon-onu_0/1/1:1
ZXAN(config-if)#igmp enable
ZXAN(config-if)#igmp version v3
ZXAN(config)#pon-onu-mng epon-onu_0/1/1:1
ZXAN(epon-onu-mng)# vlan port eth_0/2 mode tag vlan 200 priority 6
ZXAN(epon-onu-mng)#multicast vlan port eth_0/2 add vlanlist 200
ZXAN(epon-onu-mng)#multicast vlan tag-strip port eth_0/2 enable
ZXAN(epon-onu-mng)#exit
语音业务
ZXAN(config)#vlan 300
ZXAN(config-vlan)#exit
ZXAN(config)#epon  
ZXAN(config-epon)# voip-ip profile test  relation independent mode static gateway 100.21.100.1
ZXAN(config-epon)# voip-vlan profile vlan_300 tag-mode tag cvlan 300 priority 7  
ZXAN(config-epon)#sip-profile SIP register-server ip 100.21.100.1
ZXAN(config-epon)#sip-profile SIP proxy-server ip 100.21.100.1 port 5060
ZXAN(config-epon)#sip-profile SIP outbound-server ip 100.21.100.1 port 5060
ZXAN(config-epon)#sip-profile SIP heartbeat enable cycle 20 count 3      
ZXAN(config-epon)#sip-profile SIP register-interval 3600
ZXAN(config-epon)#sip-profile SIP mg post 5060
ZXAN(config-epon)#exit
ZXAN(config)#interface epon-onu_0/1/1:1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 300 tag
ZXAN(config-if)#exit
ZXAN(config)#interface gei_0/4/3
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 300 tag
ZXAN(config-if)#exit
ZXAN(config)#pon-onu-mng epon-onu_0/1/1:1
ZXAN(epon-onu-mng)#voip-module global-profile apply ip test vlan vlan_300
ZXAN(epon-onu-mng)#voip-module protocol-profile apply sip SIP
ZXAN(epon-onu-mng)#voip ip-address 100.21.100.66 mask 255.255.0.0 slot 1
ZXAN(epon-onu-mng)#voip sip-user account 555000 name 555000 password 1234 interface pots_1/1
ZXAN(epon-onu-mng)#voip sip-user account 555001 name 555001 password 1234 interface pots_1/2

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-11-17 19:36 , Processed in 0.150087 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图