ONU开局一般步骤
认证: con ter
show onu unauthentication epon-olt_0/10/1
interface epon-olt_0/10/1 p2p mode full
onu 2 type ZTE-F822 mac ex
interface epon-onu_0/10/1:2 authentication enable
switchport mode trunk vport 1
switchport vlan 57,1905 tag vport 1(57是网管VLAN,1905是语音VLAN) bandwidth upstream assured 51200 maximum 307200 bandwidth downstream maximum 307200 ex
pon-onu-mng epon-onu_0/10/1:2 (pon-onu-mng远程配置模式)
mgmt-ip onu-ip 179.6.208.20 255.255.240.0 3 57 mgm-ip 132.108.0.0 255.255.0.0 179.6.208.1 status enable(179.6.208.20是ONU 的IP地址, 255.255.240.0是20位掩码, 3是优先级, 57网管VLAN, 179.6.208.1是网关 IP) ex
telnet 179.6.208.20 (上面写的ip)进入ONU后清空数据 admin admin en admin erase con y
reboot y
(然后做语音数据和宽带数据,做语音数据时ONU直挂BRAS时要加一条路由
ip route 180.1.5.232 255.255.255.252 179.6.208.1,同一台OLT上是一样的,用“show ip route”命令;宽带数据根据集成表上的ONU CVLAN(内层)的VLAN数字,然后按模板上来选择。)
F822设备写语音数据
admin admin en
1
admin con
hostname FTTB-ZX-YZSYXAXSQ-ONU6(命名YZSYXAXSQ上面的第6台ONU) loop-check interval 20
loop-check recover-interval 6
vlan 1905(语音VLAN) ex
int gei_0/3/1 sw vlan 1905 t ex
interface inband-vlan 1905
ip address 10.45.200.149 255.255.255.128 voip(语音iad地址) ex
ip route 0.0.0.0 0.0.0.0 10.45.200.129 name \注意语音ip最后位大于129时为129,否则为1,这个数字在集成表上语音iad网关一栏上也有)
ip route 180.1.5.232 255.255.255.252 179.6.208.1 (注意在ONU直接BRAS时加上,进入OLT后show ip route 后可以看到。) ex ag
mod-mgbaseattr domname 10.45.200.149:2944(语音iad地址) mod-mgc mgcid 1 mgctype 1 mgcip 218.18.98.1
del-slctermid beginslot 1 num 24
add-slctermid beginslot 1 num 16 tmidfix AG589 type 3 digitlen 2 mgid 1 del-ipstermid
add-ipstermid tmidfix RTP/ type 3 digitlen 5 mgid 1 block-ips circuitb 16 exit
ping 218.18.98.1
9806H语音数据模板
admin admin en admin
add-card asteb 2 con
system hostname FTTB-ZX-ZSNJ2F50H-ONU1 uplink-mode cascade master-port 5/1
2
add-vlan 1902 vlan 1902 5/1-2 t
ip subnet 10.45.193.134 255.255.255.128 1902 voip ip route 0.0.0.0 0.0.0.0 10.45.193.129
ip route 180.1.3.48 255.255.255.252 179.4.16.1 exit ag
mod-mgbaseattr domname 10.45.193.134:2944 mod-mgc mgcid 1 mgctype 1 mgcip 218.18.98.1
del-slctermid beginslot 1 num 192
add-slctermid beginslot 4 num 48 tmidfix AG589 type 3 digitlen 2
del-ipstermid
add-ipstermid tmidfix RTP/ type 3 digitlen 5 mgid 1 block-ips circuitb 32 exit
ping 218.18.98.1
注意9806H设备做完语音和宽带数据后要做报文过滤 9806H设备报文过滤模板
adsl-profile z_15m_80_16 adsl-profile z_15m_80_16
15360
15360
3
mgid 1
interface range adsl 1-2/1-24 adsl profile z_15m_80_16 ex ex sa
show ca
show pon mac
show ver
show interface 1/1-24 port-status
QINQ规则
vlan-smart-qinq enable customer vlan-reserve 4001-4093 Interface epon-olt_0/3/2
vlan-smart-qinq enable tls-vlan 4010(对应的是OLT上的10槽4口) ex
vlan-smart-qinq ingress-port epon-olt_0/3/2 cvlan 357 to 612 svlan 505(对应10槽4口的OLT CVLAN(PON口),SVLAN(外层)501) interface gei_0/14/1
switchport vlan 4032 untag switchport vlan 501 tag ex
interface gei_0/14/3
switchport vlan 4032 untag ex
interface gei_0/14/4
switchport vlan 4032 untag ex
做完数据后,要查看语音和数据端口绑定情况,vlan,qinq
show running-config interface epon-olt_0/1/2 (查看0/1/2的数据) 1、FTTB-ZX-LJ-1-F0#show running-config interface epon-olt_0/1/2 Building configuration...
vlan-smart-qinq enable tls-vlan 4002 (qinq 规则和语音vlan)
4

