1、vlan创建
FORTH:> vlan create 200 v200_sip
FORTH:> vlan create 1000 v1000_internet
2、验证已配置的vlanID
FORTH:> vlan show
CMD: vlan show [vid | brief]
DESC: Show vlan brief or vlan detail for VlanID (1-4094).
ID Name Description
1 Default No Description
200 v200_sip No Description.
1000 v1000_internet No Description.
3、设置上行端口类型为access口且设置default vlan ID
FORTH:>
FORTH:> port vlan mode ge21 access
FORTH:> port vlan access ge21 200
FORTH:> port vlan mode ge23 access
FORTH:> port vlan access ge23 1000
4、设置 PON口 类型为 trunk,且透传所有vlan,当前接入的是OLT1==PON1
FORTH:> port vlan mode xe1 trunk #对应10GE口-1
FORTH:> port vlan mode xe2 trunk #对应10GE口-2
FORTH:> port vlan mode xe3 trunk #对应PON口1--4
FORTH:> port vlan mode xe4 trunk #对应PON口5—8
FORTH:> port vlan trunk allow add xe3 200 添加允许透传vlan200,1000
FORTH:> port vlan trunk allow add xe3 1000
FORTH:> port vlan trunk allow set xe3 200 #设置允许vlan200,1000透传
FORTH:> port vlan trunk allow set xe3 1000
查看那些上行端口绑定了trunk vlan
FORTH:> port vlan trunk show
Port Native Allowed
xe1 none none
xe2 none none
xe3 none 200,1000 Olt1口对应GPON1口,透传vlan200,1000
xe4 none none
ge21 none none 上行200 default vlan
ge22 none none
ge23 none none 上行1000 default vlan
ge24 none none
查看端口状态
FORTH:> port status
Physical Ports:
Port Status Speed State VLAN(access vlan) Loop Trust MTU Enable
xe1 Down 0M Disable Trunk None COS 1522 On
xe2 Down 0M Disable Trunk None COS 1522 On
xe3 Up 10G Forward Trunk None COS 1522 On
xe4 Up 10G Forward Trunk None COS 1522 On
ge21 Up 1G Forward 200 None COS 1522 On
ge23 Up 1G Forward 1000 None COS 1522 On
FORTH:>
5、接下来进入GPON 模式下配置 GPON信息
FORTH:> gpon enter
Welcome to PON manager shell
User : #
####
Pass : #######
PON >sn7100 (即card 1 )
PON SN7100 >
PON SN7100 >olt 1 #olt-1 对应 GPON-1
PON SN7100OLT(1) >
如果OLT1下以前配置过信息: 现在清空所有配置信息
PON SN7100OLT(1) >olt-clean-configure
接入ONU之后
ONU显示注册成功:PON灯常亮,但是OLT里查看却显示没有配置(- Not configure)
PON SN7100OLT(1) >show onu online status
-> 1/1/1 - Not configure.
Count 1 ONU
然后对ONU进行去激活在注册;还是不行;看下面操作
PON SN7100OLT(1) >onu deactive 1
-> 1/1/1 - 41-5A-47-50-D7-02-1B-34 Deactived!
PON SN7100OLT(1) >show onu online status
-> 1/1/1 - Get information.
Count 1 ONU
PON SN7100OLT(1) >show onu online status
-> 1/1/1 - Not configure.
Count 1 ONU
PON SN7100OLT(1) >
需要配置tcont,gemport之后才能注册成功
PON SN7100OLT(1) >generate config-default-serial index 1 vlan 1000 upspeed 4096 downspeed 10240 onu-count 5 #创建后从401开始…
PON SN7100OLT(1) >generate config-default-serial index 2 vlan 200 upspeed 4096 downspeed 10240 onu-count 5 # #创建后从501开始…
index 1:类似gemport1 可以指向多个ONUID(onu-count 5)这里分配了5个ONUID
index 2:类似gemport2可以指向多个ONUID(onu-count 5)这里分配了5个ONUID
注意:index 1 和index 2 指向ONUID是必须是同等个数,如果上行有三个业务需要创建3个index
vlan 1000,vlan 200:指gemport ID对vlan映射
upspeed 4096 downspeed 10240:指gemport ID绑定 traffic-limit (对上下行流量带宽限速)
tcont 0 指向 alloc-id 401
tcont 1 指向 alloc-id 501
查看GEM Port信息
PON SN7100OLT(1) >show gem
再次查看 ONU注册状态后还是没有配置;再次去激活后;注册成功。
PON SN7100OLT(1) >show onu status
-> 1/1/1 - Not configure.
Count 1 ONU
PON SN7100OLT(1) >onu deactive all
-> 1/1/1 - 41-5A-47-50-D7-02-1B-34 Deactived!
PON SN7100OLT(1) >show onu status
-> 1/1/1 - Send setup
Count 1 ONU
PON SN7100OLT(1) >show onu status
-> 1/1/1 - Preparing
Count 1 ONU
PON SN7100OLT(1) >show onu status
-> 1/1/1 - Get information
Count 1 ONU
PON SN7100OLT(1) >show onu status
-> 1/1/1 - Working.
Count 1 ONU
PON SN7100OLT(1) >
查看MAC-addr学习到的地址;这里可以反映出业务配通
6、其它的一些查看信息命令:
1、上行业务vlan 绑定的gemID 是否对应
PON SN7100OLT(1) >show vlan-uplink port-id all
Port-ID 401 VLAN-ID 1000
Port-ID 402 VLAN-ID 1000
Port-ID 403 VLAN-ID 1000
Port-ID 404 VLAN-ID 1000
Port-ID 405 VLAN-ID 1000
Port-ID 501 VLAN-ID 200
Port-ID 502 VLAN-ID 200
Port-ID 503 VLAN-ID 200
Port-ID 504 VLAN-ID 200
Port-ID 505 VLAN-ID 200
PON SN7100OLT(1) >
2、查看远程管理ONU模式下的一些捆绑配置
PON SN7100OLT(1) >onu enter 1