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