具体的原理、产品和特点跟华为5680T、瑞士康达6800基本相识,这里就不做详细介绍:
下面是简单开局配置:
一、打开SNMP服务并添加告警信息上传的服务器:
config snmp community readonly GzGwbn2008
config snmp community readwrite GzGwbn2008
service snmp trap enable
config snmp trapreceiver add 211.162.62.13 version v2c community GzGwbn2008
config snmp trapreceiver add 10.132.136.93 version v2c community GzGwbn2008
二、打开环路检测与控制:
loop-detection enable
loop-detection control enable
三、配置mgt管理IP
GFA6700(config)#interface ethernet mgt
GFA6700(config-if-mgt)#ip add 192.168.7.100/24
四、
8、极其重要:(查看上联口:show arp)
GFA6700(config)#batfile test \\在olt上创建一个名字是test的batfile文件
GFA6700(config)#config batfile test \\编辑名字为test的文件
----Start BatfileID: <0> Batfile Name: <test> Line editor 1.0 Input Ctrl+E to exit----
Edit->vlanmode stack \\编辑第一条命令 启动vlan stack 模式
Edit->inter eth 9/1 \\编辑第二条命令 进入上联口
Edit->vlan stack nni enable \\编辑第三条命令 启动上联口nni模式
Edit-> \\退出该模式需要Ctrl+E
GFA6700(config)#
GFA6700(config)#execute batfile test \\执行该文件
GFA6700(if-eth9/1)#ingress rule enable
inter eth 9/2
vlan stack nni enable
ingress rule enable
inter eth 9/3
vlan stack nni enable
ingress rule enable
inter eth 9/4
vlan stack nni enable
ingress rule enable
inter eth 9/5
vlan stack nni enable
ingress rule enable
9、改造过程脚本:
onu transmission-flag disable \\关闭命令透传功能
private-pty enable \\开启onu的私有pty功能
jumbo receive length 1692 \\放大交换芯片和pon芯片的jumbo值
pon jumbo length 1596
=================================
vlan 2651-2699
vlan 2651
add port 9/1-5 tagged
add port 1/5-8 tagged
exit
vlan 2652
add port 9/1-5 tagged
add port 1/9-12 tagged
exit
vlan 2653
add port 9/1-5 tagged
add port 1/13-16 tagged
exit
============================
pon 1/5
downlink vlan-tag-striped 2651
exit
pon 1/6
downlink vlan-tag-striped 2651
exit
pon 1/7
downlink vlan-tag-striped 2651
exit
pon 1/8
downlink vlan-tag-striped 2651
exit
pon 1/9
downlink vlan-tag-striped 2652
exit
pon 1/10
downlink vlan-tag-striped 2652
exit
pon 1/11
downlink vlan-tag-striped 2652
exit
pon 1/12
downlink vlan-tag-striped 2652
exit
pon 1/13
downlink vlan-tag-striped 2653
exit
pon 1/14
downlink vlan-tag-striped 2653
exit
pon 1/15
downlink vlan-tag-striped 2653
exit
pon 1/16
downlink vlan-tag-striped 2653
exit
======================================
qinq-slot 1
qinq-map ingress kuaidai1/5
match ingress-port 1/5
match inner-vid 11 3850
policy nodrop vlanadd 2651 nochgpri 0
apply
exit
qinq-map ingress kuandai1/6
match ingress-port 1/6
match inner-vid 11 3850
policy nodrop vlanadd 2651 nochgpri 0
apply
exit
qinq-map ingress kuandai1/7
match ingress-port 1/7
match inner-vid 11 3850
policy nodrop vlanadd 2651 nochgpri 0
apply
exit
qinq-map ingress kuandai1/8
match ingress-port 1/8
match inner-vid 11 3850
policy nodrop vlanadd 2651 nochgpri 0
apply
exit
qinq-map ingress kuandai1/9
match ingress-port 1/9
match inner-vid 11 3850
policy nodrop vlanadd 2652 nochgpri 0
apply
exit
qinq-map ingress kuandai1/10
match ingress-port 1/10
match inner-vid 11 3850
policy nodrop vlanadd 2652 nochgpri 0
apply
exit
qinq-map ingress kuandai1/11
match ingress-port 1/11
match inner-vid 11 3850
policy nodrop vlanadd 2652 nochgpri 0
apply
exit
qinq-map ingress kuandai1/12
match ingress-port 1/12
match inner-vid 11 3850
policy nodrop vlanadd 2652 nochgpri 0
apply
exit
qinq-map ingress kuandai1/13
match ingress-port 1/13
match inner-vid 11 3850
policy nodrop vlanadd 2653 nochgpri 0
apply
exit
qinq-map ingress kuandai1/14
match ingress-port 1/14
match inner-vid 11 3850
policy nodrop vlanadd 2653 nochgpri 0
apply
exit
qinq-map ingress kuandai1/15
match ingress-port 1/15
match inner-vid 11 3850
policy nodrop vlanadd 2653 nochgpri 0
apply
exit
qinq-map ingress kuandai1/16
match ingress-port 1/16
match inner-vid 11 3850
policy nodrop vlanadd 2653 nochgpri 0
apply
exit
exit
==============================================
config onu-profile slot1/5-8
vlan dot1q_add onu_range 1/5/1 1/5/40 vlan-range 11 970 24 2 port 1
vlan dot1q_add onu_range 1/6/1 1/6/40 vlan-range 971 1930 24 2 port 1
vlan dot1q_add onu_range 1/7/1 1/7/40 vlan-range 1931 2890 24 2 port 1
vlan dot1q_add onu_range 1/8/1 1/8/40 vlan-range 2891 3850 24 2 port 1
exit
onu-profile associate 1/5 1-40 slot1/5-8
onu-profile associate 1/6 1-40 slot1/5-8
onu-profile associate 1/7 1-40 slot1/5-8
onu-profile associate 1/8 1-40 slot1/5-8
config onu-profile slot1/9-12
vlan dot1q_add onu_range 1/9/1 1/9/40 vlan-range 11 970 24 2 port 1
vlan dot1q_add onu_range 1/10/1 1/10/40 vlan-range 971 1930 24 2 port 1
vlan dot1q_add onu_range 1/11/1 1/11/40 vlan-range 1931 2890 24 2 port 1
vlan dot1q_add onu_range 1/12/1 1/12/40 vlan-range 2891 3850 24 2 port 1
exit
onu-profile associate 1/9 1-40 slot1/9-12
onu-profile associate 1/10 1-40 slot1/9-12
onu-profile associate 1/11 1-40 slot1/9-12
onu-profile associate 1/12 1-40 slot1/9-12
config onu-profile slot1/13-16
vlan dot1q_add onu_range 1/13/1 1/13/40 vlan-range 11 970 24 2 port 1
vlan dot1q_add onu_range 1/14/1 1/14/40 vlan-range 971 1930 24 2 port 1
vlan dot1q_add onu_range 1/15/1 1/15/40 vlan-range 1931 2890 24 2 port 1
vlan dot1q_add onu_range 1/16/1 1/16/40 vlan-range 2891 3850 24 2 port 1
exit
onu-profile associate 1/13 1-40 slot1/13-16
onu-profile associate 1/14 1-40 slot1/13-16
onu-profile associate 1/15 1-40 slot1/13-16
onu-profile associate 1/16 1-40 slot1/13-16