ZTE C220操作配置

1.添加F420类型

show onu-type     //查看OLT支持ONU类型
ZXAN(config)#pon     //进入PON配置模式
ZXAN(config-pon)#onu-type epon ZTE-F420 description F420     //添加新模版
ZXAN(config-pon)#onu-if ZTE-F420 eth_0/1-4     //配置以太网类用户端口
ZXAN(config-pon)#onu-if ZTE-F420 pots_0/1-2     //配置语音用户端口

2.F420注册

ZXAN(config)#epon     //进入PON配置模式
ZXAN(config)#interface epon-olt_0/6/1     //进入PON口
ZXAN(config-if)#no shutdown     //打开PON口
ZXAN(config-if)#onu 2 type ZTE-F420 mac 001e.7328.c78f     //根据MAC地址添加ONU
ZXAN(config-if)#vlan-smart-qinq enable

3.创建VLAN

ZXAN(config)#vlan 1623     //创建业务VLAN
ZXAN(vlan)#exit
ZXAN(config)#vlan 3003     //创建管理VLAN
ZXAN(vlan)#exit
ZXAN(config)#interface gei_0/9/1     //进入上联端口
ZXAN(config-if)#switchport mode trunk     //上联端口模式
ZXAN(config-if)#switchport vlan 2577 tag     //添加业务VLAN
ZXAN(config-if)#switchport vlan 350 tag     //添加管理VLAN
ZXAN(config-if)#exit

4.QINQ的启用

ZXAN(config)#vlan-smart-qinq enable     //全局启用QINQ,由于目前QinQ的上行业务是洪泛的,所以需要禁用系统的洪泛抑制功能
ZXAN(config)#no eth-switch unknowncast-limit     //禁用洪泛抑制功能

5.配置端口业务

ZXAN(config)#interface epon-onu_0/1/3:2     //进入PON-ONU口
ZXAN (config-if)#switchport mode  trunk vport 1     //更改ONU Pon口模式为Trunk
ZXAN (config-if)#switchport vlan 350 tag vport 1     //添加管理VLAN 350
epon
voip-ip profile iph248 relation independent mode DHCP
voip-vlan profile vlanh248 tag-mode tag cvlan 4058 priority 7
h248-profile h248 register-server ip 172.16.0.4 port 2944
h248-profile h248 backup-register-server ip 0.0.0.0 port 2944
h248-profile h248 heartbeat-mode h248ctc rtp-link-test disable cycle 30 count 3
h248-profile h248 mg register-mode domainname port 2944
pon-onu-mng epon-onu_0/6/1:1
auto-config
auto-config voip
mgmt-ip 172.21.8.71 255.255.254.0 vlan 53 priority 0 route 192.168.1.2 255.255.255.255 172.21.8.1 status enable
vlan port eth_0/1 mode tag vlan 1005 priority 0
vlan port eth_0/2 mode tag vlan 1006 priority 0
vlan port eth_0/4 mode tag vlan 4057 priority 0
pon-onu-mng epon-onu_0/6/1:1
voip-module global-profile apply ip iph248 vlan vlanh248
voip-module protocol-profile apply h248 h248
voip mg-domainname 400001745 slot 1
voip rtp-tid tid-number 2 prefix RTP/ begin-digit 0 align enable digit-length 1
slot 1
voip user-tid 1 beginid 1 tid-num 1 prefix A begin-digit 0 align enable digit-le
ngth 1 slot 1
vlan-smart-qinq ingress-port epon-olt_0/6/1 cvlan 1001 to 1500 svlan 1623
vlan-smart-qinq ingress-port epon-olt_0/6/1 cvlan 4057 to 4057 svlan 3003
vlan-smart-qinq ingress-port epon-olt_0/6/1 cvlan 4058 to 4058 svlan 1988

6.SIP协议

ZXAN(config)#epon
ZXAN(config-epon)#sip-profile SIP register-server ip 10.63.172.55 port 5060     //设置模板名为SIP的SIP协议注册主用服务器10.63.172.55端口号5060
ZXAN(config-epon)#sip-profile SIP backup-register-server ip 10.63.172.61 port 5060     //设置模板名为SIP的SIP协议注册备用服务器10.63.172.61端口号5060
ZXAN(config-epon)#sip-profile SIP proxy-server ip 10.63.172.55 port 5060     //设置模板名为SIP的SIP协议主用代理服务器10.63.172.55端口号5060
ZXAN(config-epon)#sip-profile SIP backup-proxy-server ip 10.63.172.61 port 5060     //设置模板名为SIP的SIP协议备用代理服务器10.63.172.61端口号5060
ZXAN(config-epon)#sip-profile SIP outbound-server ip 10.63.172.200 port 5060     //设置模板名为SIP的SIP协议外出服务器10.63.172.200端口号5060
ZXAN(config-epon)#sip-profile SIP heartbeat enable cycle 30 count 3     //模板名为SIP心跳模式打开、心跳数3s、心跳周期30s
ZXAN(config-epon)#sip-profile SIP register-interval 3600     //SIP协议注册间隔时间3600s
ZXAN(config-epon)#sip-profile SIP mg port 5060     //SIP协议媒体网关端口号5060

SIP协议配置(当模板应用配置中的协议模板选择SIP协议时,需要进行SIP用户配置)

ZXAN(config)# pon-onu-mng epon-onu_0/3/1:1
ZXAN(epon-onu-mng)#voip sip-user account 33330051 name 33330051 password 111111 interface pots_1/1     //配置SIP协议账户33330051用户名33330051密码111111,用户端口1/1

7.C220/200下配置

show onu unauth epon-olt_0/3/1     //查看0框3槽EPFC板1#pon口没有注册的ONU的MAC地址
interface epon-olt_0/3/1     //进入1#pon口
onu 1 type ZTE-9806H mac 0015.ebf1.9eb3     //在1#pon注册编号为1的onu
no onu 1     //可以通过此命令取消注册
interface epon-onu_0/3/1:1     //进入0框3槽EPFC板1#pon口对编号为1的onu进行配置
switchport mode trunk vport 1     //配置trunk模式,需要把VLAN打tag,vport 1 为固定值照配
switchport vlan 280,380,1100-1200 tag vport 1     //绑定所需全部VLAN,280为管理VLAN,380为语音VLAN
authentication enable     //激活已注册ONU,固定值,照配
description luqiaoyigongsi-1     //可不配置
spliter 1 line 1     //照配
user-info no user's information     不用配置
bandwidth upstream fixed 0 fixedpkt 64 assured 100000 maximum 200000 maxburst 16777215 priority 7     //设置上行带宽 (应局方而定)priority 7 为优先级(可取0-7)
bandwidth downstream maximum 200000 maxburst 16777215     //设置下行带宽
bind-status disable     //不用配
autocfg disable     //不用配
interface gei_0/6/1     //进入0框6槽1口上联口   C200上联口一般在4槽或5槽
hybrid-attribute fiber     //混合模式 C220上联口一般在6槽或7槽
no negotiation auto     //千兆全双工
speed 1000
duplex full
flowcontrol disable
port-protect disable
switchport mode trunk
switchport vlan 280,380,1100-1200 tag     //上联口绑定所需所有VLAN,只有加了所有需要VLAN OLT下联的所有ONU的数据才能通过此上联口进行数据上传

禁止自动下发

pon-onu-mng epon-onu_0/1/1:4     //进入ONU
forbid-auto-dispatch     //关闭OLT自动下发到ONU


 

show runn

Building configuration...

!**********Before interface -- show run on RP start!*********

reset-at-suspend
sdisk disable
set-pnp disable
add-rack rackno 0 racktype ZXPON
add-shelf rackno 0 shelfno 0 shelftype ZXA10C220-B
add-card rackno 0 shelfno 0 slotno 1 EPFC
add-card rackno 0 shelfno 0 slotno 2 EPFC
add-card rackno 0 shelfno 0 slotno 3 EPFC
add-card rackno 0 shelfno 0 slotno 4 EPFC
add-card rackno 0 shelfno 0 slotno 5 EPFC
add-card rackno 0 shelfno 0 slotno 6 EPFC
add-card rackno 0 shelfno 0 slotno 9 EIG

1、在C220上建立网管业务(宽带语音IPTV)VLAN并透传上连口,igmp disable

vlan-reserve 4000-4089,3591-3999,4090
vlan database
vlan 1,51-54,70,162,1001,1082-1090
vlan 1093-1104,1114,1124-1125
vlan 1164-1179,1215-1217,1223
vlan 1233-1262,1307-1310,1392
vlan 1441-1443,1451,1531-1536
vlan 1610,1614-1615,1623,1900
vlan 1988,1997-1999,3003,3591-4090
igmp  disable
epon
onu-sla-profile profile-name create ZTE-F420
onu-sla-profile profile-set ZTE-F420 upstream fixed 0 fixedpkt 64 assured 2000
0 maximum 102400 maxburst 50000 priority 0
onu-sla-profile profile-set ZTE-F420 downstream maximum 102400 maxburst 45000
onu-sla-profile profile-name create ZTE-F411
onu-sla-profile profile-set ZTE-F411 upstream fixed 0 fixedpkt 64 assured 2000
0 maximum 102400 maxburst 45000 priority 0
onu-sla-profile profile-set ZTE-F411 downstream maximum 102400 maxburst 45000
pon
onu-type ZTE-F411 epon description 4FE,2POTS
onu-type-if ZTE-F411 eth_0/1
onu-type-if ZTE-F411 pots_0/1
uncfg-onu-display-info sn pw

! 2、进入OLT口确认ONU,使能VLANQINQ,

interface epon-olt_0/2/2
p2p mode group
onu 5 type ZTE-F420 mac 001a.a9af.1b60 ip-cfg static
vlan-smart-qinq enable

! 3、进入ONU口开启验证,绑定上下行带宽(应该可以省略)

interface epon-onu_0/6/1:1
admin enable
sla-profile ZTE-F420 vport 1
encrypt direction downstream  enable  vport 1
ems-autocfg-request disable
switchport mode trunk vport 1
switchport vlan 1,53  tag vport 1

! 6、进入PON-ONU管理,务必使能自动下发,自动配置语音功能,作FTTH端口,绑定ip模板,vlan模板,协议模板,配置域名,RTP,TID(sip用户名密码)

pon-onu-mng epon-onu_0/10/1:1
auto-config
auto-config voip
vlan port eth_0/1 mode tag vlan 1001 priority 0
vlan port eth_0/2 mode tag vlan 4057 priority 0
vlan port eth_0/3 mode tag vlan 4057 priority 0
vlan port eth_0/4 mode tag vlan 4057 priority 0
Epon

5、epon模式下建立 ip模板,vlan模板,协议模板(通信IP,心跳及其它参数,注册方式)

voip-ip profile iph248 relation independent mode DHCP
voip-vlan profile vlanh248 tag-mode tag cvlan 4058 priority 7
h248-profile h248 register-server ip 172.16.0.4 port 2944
h248-profile h248 backup-register-server ip 0.0.0.0 port 2944
h248-profile h248 heartbeat-mode h248ctc rtp-link-test disable cycle 30 count 3
h248-profile h248 mg register-mode domainname port 2944
pon-onu-mng epon-onu_0/6/1:1
voip-module global-profile apply ip iph248 vlan vlanh248
voip-module protocol-profile apply h248 batchconfig3
voip mg-domainname 400001745 slot 1
voip rtp-tid tid-number 2 prefix RTP/ begin-digit 0 align enable digit-length 1
slot 1
voip user-tid 1 beginid 1 tid-num 1 prefix A begin-digit 0 align enable digit-le
ngth 1 slot 1

4、全局下做关于OLT接口的VLAN-SMART

vlan-smart-qinq ingress-port epon-onu_0/2/4:1 cvlan 1001 to 1032 svlan 1623
vlan-smart-qinq ingress-port epon-onu_0/2/4:1 cvlan 4057 to 4057 svlan 3003
vlan-smart-qinq ingress-port epon-onu_0/2/4:1 cvlan 4058 to 4058 svlan 1998
vlan-smart-qinq ingress-port epon-onu_0/2/4:1 cvlan 4059 to 4059 svlan 70

下面SIP不一样的地方

sip-profile sip1 register-server ip 172.16.0.4 port 5060
sip-profile sip1 backup-register-server ip 0.0.0.0 port 5060
sip-profile sip1 proxy-server ip 172.16.0.4 port 5060
sip-profile sip1 backup-proxy-server ip 0.0.0.0 port 5060
sip-profile sip1 outbound-server ip 0.0.0.0 port 5060
sip-profile sip1 register-interval 3600
sip-profile sip1 heartbeat enable cycle 20 count 3
sip-profile sip1 mg port 5060
pon-onu-mng epon-onu_0/2/2:5
voip-module global-profile apply ip 248ip vlan 248vlan
voip-module protocol-profile apply sip sip1
voip sip-user account 03552053729 name 03552053729 password 053729 interface pots_1/1

0 Likes
你目前的身份是游客,评论请输入昵称和电邮!

CAPTCHA