通信人家园

标题: 发一个中兴GPON的开局手册  [查看完整版帖子] [打印本页]

时间:  2011-6-23 16:57
作者: sexrock     标题: 发一个中兴GPON的开局手册

希望大家互相学习帮助。
1,查看待注册onu信息
ZXAN#show gpon onu uncfg gpon-olt_0/6/1
OnuIndex                 Sn                  State
---------------------------------------------------------------------
gpon-onu_0/6/1:1         ZTEG90000056    unknown
2,olt端口下注册onu
ZXAN(config)#interface gpon-olt_0/6/1
ZXAN(config-if)#regist 64 type ZTEG-F820 ZTEG90000056 state ready
ZXAN(config-if)#show gpon onu state gpon-olt_0/6/1
OnuIndex               Admin State  Omcc State   O7 State     Phase State
----------------------------------------------------------------------------
gpon-onu_0/6/1:1       enable       enable       operation    working
3,创建上行流量模版 并 应用
ZXAN(config)#gpon
ZXAN(config-gpon)#bandwidth-profile bobo_up type 3 assured 200000 maximum 1244160
ZXAN(config)#show gpon profile bandwidth
Name :default
Type           FBW(kbps)   ABW(kbps)   MBW(kbps)
1              10000       0           0
Name :bobo_up
Type           FBW(kbps)   ABW(kbps)   MBW(kbps)
3              0           200000      1244160
ZXAN(config)#interface gpon-onu_0/6/1:1
ZXAN(config-if)#tcont 1 traffic bobo_up
4,创建下行流量模版 并 应用
ZXAN(config)#gpon
ZXAN(config-gpon)#traffic-profile bobo_down sir 200000 pir 1244160
ZXAN(config)#show gpon profile traffic
Name  :default
SIR                 PIR
10000               10000
Name  :bobo_down
SIR                 PIR
200000              1244160
ZXAN(config)#interface gpon-onu_0/6/1:1
ZXAN(config-if)#gemport 1 name 1 unicast tcont 1 dir both downtraffic bobo_down
5,Gpon onu上下行端口 内联口关联 配制vlan过滤:
ZXAN(config)#pon-onu-mng gpon-onu_0/6/1:1
ZXAN(gpon-onu-mng)#interwork gemport 1 bridge uplink_0/1/1
ZXAN(gpon-onu-mng)#bridge-port uni-bind eth_0/1 bridge_0/1         注:对于部分ONU,此命令无需配置。如9806的GPND卡。
ZXAN(gpon-onu-mng)#vlan-filter-mode uplink uplink_0/1/1 tag-filter vid-match(transparent) untag-filter discard(transparent)
ZXAN(gpon-onu-mng)#vlan-filter uplink uplink_0/1/1 priority 0 vid 2500//透传vlan(  )
ip-host 1 ip 172.20.17.111 mask 255.255.255.0 gateway 172.20.17.1
vlan-filter-mode ip-host 1 tag-filter vid-filter untag-filter discard
vlan-filter ip-host 1 p 0 vid 607
ZXAN(gpon-onu-mng)#interface eth eth_0/1 max-frame 1632
ZXAN(gpon-onu-mng)#action restore   
ZXAN(config-gpon)#flood-broadcast slotno 1 flood enable
6,vlan配置
ZXAN(config)#interface gpon-onu_0/6/1:1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 2500 tag
7,show run信息
ZXAN(gpon-onu-mng)#show onu running config gpon-onu_0/6/1:1
pon-onu-mng gpon-onu_0/6/1:1
  interwork gemport 1 bridge uplink_0/1/1
  bridge-port uni-bind eth_0/1 bridge_0/1
  vlan-filter-mode uplink uplink_0/1/1 tag-filter vid-match untag-filter discard
  vlan-filter uplink uplink_0/1/1 priority 0 vid 2500
!

ZXAN(config)#show running-config | begin gpon
gpon
  bandwidth-profile bobo_up type 3 assured 200000 maximum 1244160
  traffic-profile bobo_down sir 200000 pir 1244160
  scb-port-mode 6 shared
  schedule-mode slotno 6 pon
  flood-broadcast  slotno 6 flood disable broadcast enable
!
!
gpon
ZXAN(config)#show running-config | begin interface gpon-olt_0/6/1
interface gpon-olt_0/6/1
  name OLT-1
  authtype sn
  onu-def-reg state deactive pwmode none
  reg-mode provision
  ber both disable calculate-interval 8000
  discover-period new_onu 10 miss_onu 5
  register 1 type ZTE-F601 vendorId ZTE_ 0x90000056 state ready
  multicast bandwidth 10240
  flood bandwidth 10240
  dot1p-to-queue-map dot1p0 0 dot1p1 1 dot1p2 2 dot1p3 3 dot1p4 4 dot1p5 5 dot1p
6 6 dot1p7 7
  weight-mgmt queue0 0 queue1 0 queue2 0 queue3 0 queue4 0 queue5 0 queue6 0 que
ue7 0
  broadcast bandwidth  10240
  pon-bandwidth  2488320
!
interface gpon-onu_0/6/1:1
  name ONU-1:1
  description ONU-1:1
  pwmode none
  tcont 1 name tcont1 allocid 256 traffic bobo_up
  gemport 1 name 1 portid 65 unicast tcont 1 dir both downtraffic bobo_down queu
e 1
  portid-encrypt 1 disable
  switchport mode trunk vport 1
  switchport vlan 1,2500  tag vport 1
!
..
..
pon-onu-mng gpon-onu_0/6/1:1
  interwork gemport 1 bridge uplink_0/1/1
  bridge-port uni-bind eth_0/1 bridge_0/1
!
时间:  2011-6-23 20:59
作者: 山东网通     标题: 很好哦哦 可惜用不上






通信人家园 (https://www.txrjy.com/) Powered by C114