C300 EPON 中兴开局初学者配置手册最新

更新时间:2024-04-01 09:17:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

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

10.3、进入ONU端口下配置业务端口VLAN ZXAN(config)#inter epon-onu_1/2/1:1 ZXAN(config-if)#sla-profile 10M

ZXAN(config-if)#switchport vlan 200 tag ZXAN(config-if)#exit 10.4、上行添加VLAN

ZXAN(config)#inter gei_1/19/1

ZXAN(config-if)#switchport default vlan 100 ZXAN(config-if)#switchport vlan 200 tag

ZXAN(config)#inter gei_1/19/2

ZXAN(config-if)#switchport vlan 200 tag ZXAN(config-if)#switchport default vlan 100 ZXAN(config-if)#exit

10.5、远程ONU下配置用户侧VLAN

由于带WiFi的onu带有web管理界面;在web页面上配置vlan相当于untag vlan ZXAN(config)#pon-onu-mng epon-onu_1/2/1:1

ZXAN(epon-onu-mng)#vlan port eth_0/1 mode transparent ZXAN(epon-onu-mng)#exit ZXAN(config)#exit 11、保存配置 ZXAN#write

ZXAN(config)#show running

vlan database

vlan 1,100,200,300 ! ! epon

onu-authentication-mode auth-loid-as-sn 1/2 enable

encrypt algorithm 1/2 triple-churning key-update-period 20 churning-timer 3 onu-sla-profile profile-name create onu-sla-test

onu-sla-profile profile-set onu-sla-test upstream fixed 0 fixedpkt 64 assured 102400 maximum 1024000 ma

xburst 45000 priority 0

onu-sla-profile profile-set onu-sla-test downstream maximum 1024000 onu-sla-profile profile-name create 10M

onu-sla-profile profile-set 10M upstream fixed 0 fixedpkt 64 assured 5000 maximum 10000 maxburst 45000 priority 0

onu-sla-profile profile-set 10M downstream maximum 10000

auto-dispatch-set ZTE-EPON disable ! pon

onu-type ZTE-EPON epon description 804W onu-type-if ZTE-EPON eth_0/1 onu-type-if ZTE-EPON eth_0/2 onu-type-if ZTE-EPON eth_0/3 onu-type-if ZTE-EPON eth_0/4 uncfg-onu-display-info sn pw !

interface vlan 100

ip address 192.168.128.232 255.255.255.0 !

interface vlan 200

ip address 192.168.200.200 255.255.255.0 !

interface vlan 300

ip address 192.168.100.100 255.255.255.0 !

interface null1 !

interface epon-olt_1/2/1 p2p mode group

onu 1 type ZTE-EPON mac 1c18.4a0d.d30f ip-cfg static !

interface epon-onu_1/2/1:1 admin enable

sla-profile 10M vport 1

encrypt direction downstream enable vport 1 ems-autocfg-request disable switchport mode hybrid vport 1 switchport vlan 100 tag vport 1 ! !

interface gei_1/19/1 hybrid-attribute fiber negotiation auto flowcontrol disable port-protect disable uplink-isolate disable switchport mode hybrid switchport default vlan 100 switchport vlan 200 tag

!

interface gei_1/19/2 hybrid-attribute fiber negotiation auto flowcontrol disable port-protect disable uplink-isolate disable switchport mode hybrid switchport default vlan 100 !

二、配置不带WIFI的EPON ONU RL804C || 804FC ZXAN(config)#RL804C || 804FC

ZXAN(config)#show onu unauthentication

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

MAC Address : 1c18.4a0f.e563 SN : LOID : LOID_PSW :

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

RegTime : 2015/07/22 13:44:41

ZXAN(config-if)#show running-config inter epon-olt_1/2/1 !

interface epon-olt_1/2/1 p2p mode group

onu 1 type ZTE-EPON mac 1c18.4a0d.d30f ip-cfg static !

ZXAN(config-if)#interface epon-olt_1/2/1

ZXAN(config-if)#onu 2 type ZTE-EPON mac 1c18.4a0f.e563

ZXAN(config)#inter epon-onu_1/2/1:2 ZXAN(config-if)#switchport vlan 100 tag ZXAN(config-if)#switchport vlan 200 tag ZXAN(config-if)#exit

ZXAN(config)#pon-onu-mng epon-onu_1/2/1:2

ZXAN(epon-onu-mng)#vlan port eth_0/1 mode tag vlan 100 priority 0 ZXAN(epon-onu-mng)#vlan port eth_0/2 mode tag vlan 200 priority 1

ZXAN(epon-onu-mng)#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

system-monitor watchdog rackno 1 shelfno 1 slotno 0 disable

system-monitor watchdog-duration rackno 1 shelfno 1 slotno 0 value 5 system-monitor endless-loop duration rackno 1 shelfno 1 slotno 0 value 75 system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 0 disable system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 0 all system-monitor watchdog rackno 1 shelfno 1 slotno 1 disable

system-monitor watchdog-duration rackno 1 shelfno 1 slotno 1 value 5 system-monitor endless-loop duration rackno 1 shelfno 1 slotno 1 value 75 system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 1 disable system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 1 all system-monitor watchdog rackno 1 shelfno 1 slotno 2 disable

system-monitor watchdog-duration rackno 1 shelfno 1 slotno 2 value 5 system-monitor endless-loop duration rackno 1 shelfno 1 slotno 2 value 75 system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 2 disable system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 2 all system-monitor watchdog rackno 1 shelfno 1 slotno 3 disable

system-monitor watchdog-duration rackno 1 shelfno 1 slotno 3 value 5 system-monitor endless-loop duration rackno 1 shelfno 1 slotno 3 value 75 system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 3 disable system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 3 all system-monitor watchdog rackno 1 shelfno 1 slotno 10 enable

system-monitor watchdog-duration rackno 1 shelfno 1 slotno 10 value 5 system-monitor endless-loop duration rackno 1 shelfno 1 slotno 10 value 75 system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 10 disable system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 10 all system-monitor watchdog rackno 1 shelfno 1 slotno 11 enable

system-monitor watchdog-duration rackno 1 shelfno 1 slotno 11 value 5 system-monitor endless-loop duration rackno 1 shelfno 1 slotno 11 value 75 system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 11 disable system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 11 all system-monitor watchdog rackno 1 shelfno 1 slotno 19 disable

system-monitor watchdog-duration rackno 1 shelfno 1 slotno 19 value 5

system-monitor endless-loop duration rackno 1 shelfno 1 slotno 19 value 75 system-monitor endless-loop reboot rackno 1 shelfno 1 slotno 19 disable system-monitor task-suspend-reboot rackno 1 shelfno 1 slotno 19 all !

vlan database

vlan 1,100,200,300 ! ! epon

onu-authentication-mode auth-loid-as-sn 1/2 enable

encrypt algorithm 1/2 triple-churning key-update-period 20 churning-timer 3 onu-sla-profile profile-name create onu-sla-test

onu-sla-profile profile-set onu-sla-test upstream fixed 0 fixedpkt 64 assured 102400 maximum 1024000 ma

xburst 45000 priority 0

onu-sla-profile profile-set onu-sla-test downstream maximum 1024000 onu-sla-profile profile-name create 10M

onu-sla-profile profile-set 10M upstream fixed 0 fixedpkt 64 assured 5000 maximum 10000 maxburst 45000 priority 0

onu-sla-profile profile-set 10M downstream maximum 10000 auto-dispatch-set ZTE-EPON disable ! ! pon

onu-type ZTE-EPON epon description 804W onu-type-if ZTE-EPON eth_0/1 onu-type-if ZTE-EPON eth_0/2 onu-type-if ZTE-EPON eth_0/3 onu-type-if ZTE-EPON eth_0/4 uncfg-onu-display-info sn pw !

interface mng1

ip address 136.1.1.100 255.255.255.0 boot-server 192.168.110.2 boot-username xlxh

config-filename startrun.dat imgfile-location local

!

interface vlan 100

ip address 192.168.128.232 255.255.255.0 !

interface vlan 200

ip address 192.168.200.200 255.255.255.0 !

interface vlan 300

ip address 192.168.100.100 255.255.255.0 !

interface null1 !

interface epon-olt_1/2/1 p2p mode group

onu 1 type ZTE-EPON mac 1c18.4a0d.d30f ip-cfg static onu 2 type ZTE-EPON mac 1c18.4a0f.e563 ip-cfg static !

interface epon-onu_1/2/1:1 admin enable

sla-profile 10M vport 1

encrypt direction downstream enable vport 1 ems-autocfg-request disable switchport mode hybrid vport 1

switchport vlan 100,200 tag vport 1 !

interface epon-onu_1/2/1:2 admin enable

encrypt direction downstream enable vport 1 ems-autocfg-request disable switchport mode hybrid vport 1

switchport vlan 100,200 tag vport 1 !

interface gei_1/19/1 hybrid-attribute fiber negotiation auto flowcontrol disable port-protect disable uplink-isolate disable switchport mode hybrid switchport default vlan 100 switchport vlan 200 tag !

interface gei_1/19/2 hybrid-attribute fiber

negotiation auto flowcontrol disable port-protect disable uplink-isolate disable switchport mode hybrid switchport default vlan 100 switchport vlan 200,300 tag ! ! !

pon-onu-mng epon-onu_1/2/1:1 no auto-config

vlan port eth_0/1 mode transparent ! !

pon-onu-mng epon-onu_1/2/1:2 no auto-config

vlan port eth_0/1 mode tag vlan 100 priority 0 vlan port eth_0/2 mode tag vlan 200 priority 1 ! 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 !

12、配置RL804系列不带WiFi的vlan业务配置

方式一:通过trunk vlan配置,但是起不到端口隔离的作用;

ZXAN(epon-onu-mng)#vlan port eth mode hybrid def-vlan 200 vlan-list 100 ZXAN(epon-onu-mng)#vlan port eth_0/2 mode trunk vlan-list 100 def-vlan 200

三四口的方式配置;起到端口隔离作用;可以配置不同的业务vlan ZXAN(epon-onu-mng)#vlan port eth_0/3 mode tag vlan 100 priority 0 ZXAN(epon-onu-mng)#vlan port eth_0/4 mode tag vlan 200 priority 0 13、配置RL804W系列带WiFi的vlan业务配置

pon-onu-mng epon-onu_1/2/1:1 no auto-config

vlan port eth_0/1 mode transparent 804W WEB 管理界面配置

这样能实现配置两个业务vlan的功能

2、如果配置eth1 口为 路由DHCP 绑定1 口;可以上网,但是如果 eth2 绑定的vlan200 也是 Internet route模式;则接入2 口也能ping通eth1 口绑定的vlan100 3、如果配置eth1 口为 路由DHCP 绑定1 口;可以上网,但是如果 eth2 绑定的vlan200 是 other 桥模式;则接入2 口不能ping通eth1 口绑定的vlan 100 起到两个业务分配的效果

14、中兴对接 GPON ONU的配置 14.1 配置ONU-type gpon

onu-type ZTE-EPON epon description 804W

onu-type ZTE-GPON gpon description 1GE+4FE+2POTS onu-type ZTE-GPON gpon max-tcont 8 onu-type ZTE-GPON gpon max-gemport 32

onu-type ZTE-GPON gpon max-switch-perslot 32 onu-type ZTE-GPON gpon max-flow-perswitch 32 onu-type ZTE-GPON gpon max-iphost 1 onu-type-if ZTE-GPON eth_0/1 onu-type-if ZTE-GPON eth_0/2 onu-type-if ZTE-GPON eth_0/3 onu-type-if ZTE-GPON eth_0/4 onu-type-if ZTE-GPON pots_0/1 onu-type-if ZTE-GPON pots_0/2 uncfg-onu-display-info sn pw 配置 gpon ONU对接OLT

14.2、查询未注册的ONU

ZXAN(config)#show gpon onu uncfg

OnuIndex Sn State ---------------------------------------------------------------------

gpon-onu_1/3/1:1 GPON12345678 unknown ZXAN(config)#

14.2、注册gpon ONU

ZXAN(config-if)#onu 1 type ZTE-GPON sn? sn Serial number authentication mode sn+pw Sn+pw authentication mode

sn+hpw Sn+hpw authentication mode

sn+rid sn+rid authentication mode(XGPON)

ZXAN(config-if)#onu 1 type ZTE-GPON sn GPON12345678 ? vport-mode Vport configuration mode

ZXAN(config-if)#onu 1 type ZTE-GPON sn GPON12345678 .[Successful]

ZXAN(config-if)#

14.3、配置tcont 带宽模板 ZXAN(config)#gpon

ZXAN(config-gpon)#profile ?

tcont Configure T-CONT profile traffic Configure traffic profile

ZXAN(config-gpon)#profile tcont 100M type ? 1 -Fixed bandwidth 2 -Assured bandwidth

3 -Assured bandwidth and Non-assured bandwidth 4 -Best-effort bandwidth

5 -The super set of all of T-CONT types

ZXAN(config-gpon)#profile tcont 100M type 3 assured 100000 maximum 1024000 [Successful]

ZXAN(config-gpon)#

14.4、配置ONU-SIP模板

ZXAN(config-gpon)#onu profile sip sip-test proxy 192.168.128.70

14.5、配置带宽业务端口

ZXAN(config)#inter gpon-onu_1/3/1:1

ZXAN(config-if)#tcont 1 name tcont1 profile 100M

ZXAN(config-if)# gemport 1 name gemport1 unicast tcont 1 dir both queue 1 ZXAN(config-if)# service-port 1 user-vlan 300 vlan 100

14.6、配置业务通道

pon-onu-mng gpon-onu_1/3/1:1

service internet type internet gemport 1 vlan 300 switchport-bind switch_0/1 veip 1 ! !

14.7、配置用户侧VLAN

15、配置gpon-onu的线路模板

onu-profile gpon line line-gpon

tcont 1 name tcont1 profile 100M tcont 1 gap mode3

gemport 1 unicast tcont 1 dir both queue 1 ! pon !

16、配置gpon-onu远程管理模板 方式一: pon

onu-profile gpon remote remote-gpon

service date type internet gemport 1 cos 0 vlan 300 switchport-bind switch_0/1 veip 1 !

方式二: pon

onu-profile gpon remote remote-cvlan300 service intenet gemport 1 vlan 300 veip 1 inter-domain test1

switchport-bind switch_0/1 veip 1

vlan-filter-mode veip 1 tag-filter vid-match untag-filter discard vlan-filter veip 1 priority 0 vid 300

ex-vlan veip 1 input-tpid 0x8100 output-tpid 0x8100 down-mode inverse-upstream !

17、加入已配置的线路模板和远程onu模板(下面即配置带宽业务) ZXAN(config)#inter gpon-olt_1/3/1 ZXAN(config-if)#onu 1 profile ? alarm Alarm profile line Line profile

performance Performance profile remote Remote profile

ZXAN(config-if)#onu 1 profile line line-gpon

ZXAN(config-if)#onu 1 profiler remote remote-gpon 17.1 在onu接口下配置业务VLAN ZXAN(config)#inter gpon-olt_1/3/1:1

ZXAN(config-if)# service-port 1 user-vlan 300 vlan 100

本文来源:https://www.bwwdw.com/article/14jr.html

Top