C300 EPON 中兴开局初学者配置手册最新 下载本文

内容发布更新时间 : 2024/12/26 15:43:13星期一 下面是文章的全部内容请认真阅读。

1、一个新的OLT了首先第一步就是配置单板,卡槽,机框等信息 ZXAN(config)#add-rack rackno 1 racktype IEC19

ZXAN(config)#add-shelf rackno 1 shelfno 1 shelftype IEC_SHELF ZXAN(config)#add-card rackno 1 shelfno 1 slotno 0 PRWG ZXAN(config)#add-card rackno 1 shelfno 1 slotno 1 PRWG ZXAN(config)#add-card rackno 1 shelfno 1 slotno 2 ETGO ZXAN(config)#add-card rackno 1 shelfno 1 slotno 3 GTGO ZXAN(config)#add-card rackno 1 shelfno 1 slotno 19 GUFQ 查看卡槽信息

ZXAN(config)#show card

Rack Shelf Slot CfgType RealType Port HardVer SoftVer Status -------------------------------------------------------------------------------

1 1 0 PRWG PRWG 0 INSERVICE 1 1 1 PRWG PRWG 0 NOPOWER 1 1 2 ETGO ETGOD 8 091201 V1.2.3P3 INSERVICE 1 1 3 GTGO GTGOA 8 080802 V1.2.3P3 INSERVICE 1 1 10 SCXM SCXM 0 090700 V1.2.3P3 STANDBY 1 1 11 SCXM SCXM 0 090700 V1.2.3P3 INSERVICE 1 1 19 GUFQ GUFQ 4 090200 V1.2.3P3 INSERVICE

ZXAN(config)#show running-config add-rack rackno 1 racktype IEC19

add-shelf rackno 1 shelfno 1 shelftype IEC_SHELF add-card rackno 1 shelfno 1 slotno 0 PRWG add-card rackno 1 shelfno 1 slotno 1 PRWG add-card rackno 1 shelfno 1 slotno 2 ETGO add-card rackno 1 shelfno 1 slotno 3 GTGO add-card rackno 1 shelfno 1 slotno 19 GUFQ add-card rackno 1 shelfno 1 slotno 20 GUFQ

2、创建VLAN 100 200 并配置各vlan的ip地址,以便后期检测链路的正确性 ZXAN(config)#vlan database ZXAN(vlan)#vlan 100 ZXAN(config-vlan)#exit ZXAN(config)#inter vlan 100

ZXAN(config-if)#ip address 192.168.128.232 255.255.255.0 ZXAN(config-if)#exit

ZXAN(config)#vlan 200 ZXAN(config-vlan)#exit ZXAN(config)#inter vlan 200

ZXAN(config-if)#ip address 192.168.200.200 255.255.255.0 ZXAN(config-if)#exit

ZXAN(config)#epon

onu认证模式只对epon卡槽有效

ZXAN(config-epon)#onu-authentication-mode auth-loid-as-sn 1/2 enable 3、创建ONU的流量模板

ZXAN(config-epon)#onu-sla-profile profile-name create 10M

ZXAN(config-epon)#onu-sla-profile profile-set 10M upstream assured 5000 maximum 10000 ZXAN(config-epon)#onu-sla-profile profile-set 10M downstream maximum 10000 ZXAN(config-epon)#exit 4、创建SIP模板

ZXAN(config-epon)#sip-profile sip-test register-server ip 192.168.128.70

ZXAN(config-epon)#sip-profile sip-test backup-register-server ip 192.168.128.70 ZXAN(config-epon)#sip-profile sip-test proxy-server ip 192.168.128.70

ZXAN(config-epon)#sip-profile sip-test backup-proxy-server ip 192.168.128.70 ZXAN(config-epon)#sip-profile sip-test outbound-server ip 192.168.128.70 5、创建fax模板

ZXAN(config-epon)#fax profile t30 t38 disable control-mode ss 6、创建h248模板

ZXAN(config-epon)#h248-profile h248-test register-server ip 192.168.128.70 port 5060

ZXAN(config-epon)#h248-profile h248-test backup-register-server ip 192.168.128.70 port 5060 ZXAN(config-epon)#h248-profile h248-test mg register-mode ip port 5060

ZXAN(config-epon)#h248-profile h248-test heartbeat-mode h248ctc rtp-link-test disable cycle 30 count 3

7、创建VOIP-IP模板

ZXAN(config-epon)#voip-vlan profile voipvlan-test tag-mode tag cvlan 300 priority 7 8、创建VOIP-VLAN模板

ZXAN(config-epon)#voip-ip profile voipip-test relation independent mode static gateway 192.168.128.1 dns 192.168.128.1 ZXAN(config)#show running-config epon

voip-ip profile voipip-test relation independent mode static gateway 192.168.128.1 dns 192.168.128.1

voip-vlan profile voipvlan-test tag-mode tag cvlan 300 priority 7 h248-profile h248-test register-server ip 192.168.128.70 port 5060

h248-profile h248-test backup-register-server ip 192.168.128.70 port 5060

h248-profile h248-test heartbeat-mode h248ctc rtp-link-test disable cycle 30 count 3 h248-profile h248-test mg register-mode ip port 5060

sip-profile sip-test register-server ip 192.168.128.70 port 5060

sip-profile sip-test backup-register-server ip 192.168.128.70 port 5060 sip-profile sip-test proxy-server ip 192.168.128.70 port 5060

sip-profile sip-test backup-proxy-server ip 192.168.128.70 port 5060 sip-profile sip-test outbound-server ip 192.168.128.70 port 5060 sip-profile sip-test register-interval 3600

sip-profile sip-test heartbeat enable cycle 20 count 3 sip-profile sip-test mg port 5060

fax profile t30 t38 disable control-mode ss !

重命名ONU-sla名字

ZXAN(config-epon)#onu-sla-profile profile-name rename oldname xlxh-onu-dba newname onu-sla-test

配置改ONU-type不会自动下发配置 ZXAN(config)#epon

ZXAN(config-epon)#auto-dispatch-set ZTE-EPON disable ZXAN(config-epon)#exit

9、配置ONU-TYPE

如果OLT没有配置ONU-type则需要自己配置ONU-type ZXAN(config)#pon

ZXAN(config-pon)#onu-type ZTE-EPON epon description 804W ZXAN(config-pon)#onu-type-if ZTE-EPON eth_0/1-4

ZXAN(config-pon)#show onu-type epon ZTE-EPON Onu type name: ZTE-EPON Pon type: epon Description: 804W Protect type: none Speed: 1g ZXAN(config-pon)#exit 10、配置带宽业务

10.1、查询未注册的ONU

ZXAN(config)#inter epon-olt_1/2/1

ZXAN(config-if)#show onu unauthentication

Onu Interface : epon-onu_1/2/1:1 Onu Model : RL-4W

MAC Address : 1c18.4a0d.d30f SN : LOID : LOID_PSW :

Online State : authentication deny ExtOam State : complete Software Version : 6151 Hardware Version : v1.0_01

RegTime : 2015/07/22 10:43:06

ZXAN(config-if)#exit 10.2、 注册ONU

ZXAN(config-if)#onu 1 type ZTE-EPON mac 1c18.4a0d.d30f ZXAN(config-if)#show onu detail-info epon-onu_1/2/1:1