通信人家园

标题: 中兴olt配置命令行  [查看完整版帖子] [打印本页]

时间:  2016-7-20 17:51
作者: 易水寒冰X     标题: 中兴olt配置命令行

第一步:查找未注册的onu。
show onu unauthentication epon-olt_0/4/3

提示为:%Code 40509: No relate information to show.说明未找对olt端口或onu未连接。

提示为:
Onu interface :      epon-onu_0/1/3:34
Onu type :           ZTE-D402
MAC address :        0025.12e0.90d3
SN :                 
Active status :      active
State :              Online
LastAuthTime :       2001/12/08 18:00:09
有mac地址则说明已连接未做数据。

第二步:在olt端口上配置onu,选定设备类型模板。

interface epon-olt_0/1/3
onu 3 type ZTE-F820 mac 0026.ed14.c285 ip-cfg static

第三步:查找已使用的vlan。
show run
show vlan 676
show vlan sum

第四步:在onu端口上配置vlan和速率。
interface epon-onu_0/3/2:7
  switchport mode trunk vport 1
  switchport vlan 1, 772-779  tag vport 1  
  authentication enable
  description $$$$                    // 中文描述需上图形网管修改
  spliter 1 line 1
  bandwidth upstream fixed 0 fixedpkt 64 assured 90000 maximum 100000 maxburst 16777215 priority 0
  bandwidth downstream maximum 90000 maxburst 16777215
  encrypt direction downstream  enable
  autocfg disable

第五步:配置自动下发命令,由olt向onu自动下发配置
pon-onu-mng epon-onu_0/4/3:1
no Forbid-auto-dispatch
interface eth eth_0/1 policing upstream enable cir 2048 cbs 512000 ebs 512000  限速
interface eth eth_0/1 policing downstream enable cir 2048 cbs 512000 ebs 512000
vlan port eth_0/1 mode tag vlan 676 priority 0
vlan port eth_0/2 mode tag vlan 677 priority 0
vlan port eth_0/3 mode tag vlan 678 priority 0
vlan port eth_0/4 mode tag vlan 679 priority 0
vlan port eth_0/5 mode tag vlan 680 priority 0
vlan port eth_0/6 mode tag vlan 681 priority 0  
vlan port eth_0/7 mode tag vlan 682 priority 0
vlan port eth_0/8 mode tag vlan 683 priority 0

配置网管
OLT上:
interface epon-onu_0/3/2:7                               //进ONU配置网管vlan 9
switchport vlan 9 tag vport 1
pon-onu-mng epon-onu_0/4/3:1                            //配置网管
mgmt-ip onu-ip 192.168.10.8 255.255.255.0 7 9  mgm-ip 0.0.0.0 0.0.0.0 192.168.10.1 status enable

interface epon-onu_0/4/3:1
switchport vlan 99 tag vport 1
pon-onu-mng epon-onu_0/4/3:1
mgmt-ip onu-ip 10.101.8.248 255.255.252.0 7 99  mgm-ip 0.0.0.0 0.0.0.0 10.101.8.1 status enable


增加ONU类型命令:
conf t
pon
  onu-type epon ZTE-F420 description  4FE,2POTS(设备能力描述)
  onu-if ZTE-F420 eth_0/1-4
  onu-if ZTE-F420 pots_0/1-2
  auto-dispatch-set ZTE-F420 enable

查看ONU类型 show onu-type epon

看类型:show remote onu info epon-onu_0/1/4:31
看状态:sho onu all-status epon-olt_0/6/2
mac地址老化时间:gonghejuC200_1#show mac aging-time
                              The MAC address aging time is 300 seconds.
这条命令来清除所有MAC地址
gonghejuC200_1#clear mac dynamic all

中兴ONU专线接入用户欠停操作方法
conf  t
pon-onu-mng epon-onu_0/1/3:4            进ONU
interface eth eth_0/1 phy disable       停机
interface eth eth_0/1 phy enable        复机

查看pon-onu-mng epon-onu_0 段的配置
show run | begin pon-onu-mng epon-onu_0/1/2:15


sho onu  running conf  epon-onu_0/4/2:2                                                                  
show runn int  epon-onu_0/4/2:2


时间:  2016-7-22 11:02
作者: leeel

有完整点的就好多了




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