一、OLT侧数据:
1.先在OLT上认证注册F820
ZXAN #config t
ZXAN(config)#show onu unauthentication epon-olt_0/2/1 //查看未注册的ONU,记下mac地址。
ZXAN(config)#interface epon-olt_0/2/1 //进入到pon口的接口模式下
ZXAN(config-if)#onu 1 type ZTE-F820 mac 0015.eb71.3254 //将F820注册为该pon口下第4个onu;类型是ZTE-F820 ;MAC地址就是上面步骤中记下的MAC, 注意mac地址的格式
2.配置ONU的上行保证带宽和最大带宽,配置ONU的下行带宽
ZXAN(config)#interface epon-onu_0/1/1:%d
ZXAN(config)#switchport vlan 2606 tag
ZXAN(config)#bandwidth downstream maximum 51200 maxburst 50000 //配置上行保证带宽30M,最大带宽100M (根据实际需要配置大小)
ZXAN(config)#bandwidth upstream maximum 51200 maxburst 50000 //下行最大带宽100M(根据实际需要配置大小)
ZXAN(config)#exit
pon-onu-mng epon-onu_0/1/1:%d
mgmt-ip onu-ip 172.24.185.%d 255.255.255.0 7 35 mgm-ip 172.24.0.0 255.255.0.0 172.24.185.1 status enable
exit
F820侧数据:
Con t
hostname XY-XGXQ_F820-19
vlan database
no vlan 2-34
no vlan 36-4093
vlan 2619
name YuYin-Vlan
exit
宽带
:
vlan data
vlan 1377-1392
interface gei_0/2/1
sw vlan 1377-1392 tag
exit
interface fei_0/1/%d
no negotiation auto
shut
switchport vlan %d untag
traffic-shape rate-limit 10240 bucket-size 8 in
traffic-shape rate-limit 10240 bucket-size 8 out
exit
窄带:
interface gei_0/2/1
switchport mode trunk
switchport vlan 2606 tag
exit
interface fei_0/5/1
no shutdown
switchport mode trunk
switchport vlan 2606 tag
exit
eth-switch unknowncast-limit disable
voip 5
mg add 1 1 port 2944 mid-flag 0
mgc add 1 ip-address 10.5.33.3 port 2944
mgc add 2 ip-address 10.5.37.3 port 2944
mg net 1 mode 0 ip-address 10.43.240.170 mask 255.255.255.224 gateway 10.43.240.161 vlan-option 1 vlan-id 2606 vlan-priority 7
mgc h248tid user-tid-prefix A user-tid-index 0 rtp-tid-prefix RTP/ rtp-tid-length 1 link-kept-flag 0 link-kept-time 3000 test-link-flag 2
rtp parameter fax-modem t38-enable 1 fax-control 2
mgc h248-timer dml 500 dms 300
查看命令:
show mg net
show mgc mgcid 1
show mgc h248tid
show mg info
TaoYuanXiaoQu7-3(config-voip)#show voip portconfig 9
PortType fxs
PortRole passive-call
PortStatus ring
ActiveStatus active
PortServiceType normal
PortServiceState normal
PortCodecMode G.711A
TaoYuanXiaoQu7-3(config-voip)#show voip portconfig 9
PortType fxs
PortRole idle
PortStatus disconnecting
ActiveStatus active
PortServiceType normal
PortServiceState normal
PortCodecMode not connected
TaoYuanXiaoQu7-3(config-voip)#show voip portconfig 9
PortType fxs
PortRole idle
PortStatus disconnecting
ActiveStatus active
PortServiceType normal
PortServiceState normal
PortCodecMode not connected
9806H数据:
system hostname XY-XiGuanXQ_9806H-17
no ip subnet voip
no add-vlan 300
add-vlan 2619
vlan 2619 5/1 tag
add-vlan 1217-1288
vlan 1217-1288 5/1 tag
vlan 1217-1288 2-4/1-24 untag one-to-one pvc 1
interface range adsl 2-4/1-24
pvid 1217-1288 one-to-one pvc 1
shutdown
exit
ip sub 10.43.244.82 255.255.255.224 2619 voip
ip rou 172.24.0.0 255.255.0.0 172.24.185.1
ip rou 0.0.0.0 0.0.0.0 10.43.244.65
del-slctermid beginslot 1 num 48
del-slctermid beginslot 2 num 48
del-slctermid beginslot 3 num 48
del-slctermid beginslot 4 num 48
add-slctermid beginslot 1 beginindex 0 num 24 tmidfix A type 2
del-ipstermid
add-ipstermid tmidfix RTP/ type 2 begno 0
mod-mgc mgcid 1 mgctype 2 mgcip 10.5.33.3 mgcport 2944
mod-mgc mgcid 2 mgctype 2 mgcip 10.5.37.3 mgcport 2944
mod-slcattrib slot 1 faxmode 1
mod-mgcapabili faxpri1 2 faxpri2 1
mod-rtppar parid 1 faxmode 11
mod-expar parid 1 dtmfrelaymode 1
mod-mgcapabili matchtype 2
mod-mgcattr mgctype 2 dmlong 8