您的位置:首页 > 服装鞋帽 > 女装 > 2011年06月07日

2011年06月07日

luyued 发布于 2011-06-12 00:15   浏览 N 次  
ONU配置完整版2011-02-28 14:13


光明街19号机柜 在bas上划分的ip 10.101.23.44 (见在E320上分配IP地址)

config t

//查询未注册的onu
show onu unauthentication epon-olt_0/X/X
Onu interface : epon-onu_0/4/1
MAC address : 0818.1adf.7479
SN :
AuthState State : deny
OnTime : 2010/11/23 02:33:53

//查询未使用的vlan
①show vlan summary 看有什么vlan(100-1499范围内)还没有创建就可以创建使用;
②show vlan 900 看此vlan有没有向上联口和onu侧都透传,如果没有,此vlan只是预先创建未使用过,可以直接使用。

//注册onu
interface epon-olt_0/4/1
onu 4 type ZTE-F402 mac 0818.1adf.7479

//onu配置
interface epon-onu_0/X/X:X
switchport mode trunk vport 1
switchport vlan 99,722-729 tag vport 1
authentication enable
spliter 1 line 1
bandwidth upstream fixed 0 fixedpkt 64 assured 10000 maximum 20000 maxburst 16777215 priority 0
bandwidth downstream maximum 500000 maxburst 16777215
bind-status disable
autocfg disable

//在上联口透传vlan
interface gei_0/X/X
switchport vlan 722-729 tag

//onu自动下发命令
pon-onu-mng epon-onu_0/X/X:X
mgmt-ip onu-ip 10.101.23.44 255.255.252.0 7 99 mgm-ip 0.0.0.0 0.0.0.0 10.101.20.1 status enable
interface eth eth_0/1 policing upstream enable cir 4096 cbs 10000 ebs 1518
interface eth eth_0/1 policing downstream enable cir 4096 cbs 10000 ebs 1518
vlan port eth_0/1 mode tag vlan 1357 priority 0
interface eth eth_0/2 policing upstream enable cir 4096 cbs 10000 ebs 1518
interface eth eth_0/2 policing downstream enable cir 4096 cbs 10000 ebs 1518
vlan port eth_0/2 mode tag vlan 1358 priority 0
interface eth eth_0/3 policing upstream enable cir 4096 cbs 10000 ebs 1518
interface eth eth_0/3 policing downstream enable cir 4096 cbs 10000 ebs 1518
vlan port eth_0/3 mode tag vlan 1359 priority 0
interface eth eth_0/4 policing upstream enable cir 4096 cbs 10000 ebs 1518
interface eth eth_0/4 policing downstream enable cir 4096 cbs 10000 ebs 1518
vlan port eth_0/4 mode tag vlan 1360 priority 0
interface eth eth_0/5 policing upstream enable cir 4096 cbs 10000 ebs 1518
interface eth eth_0/5 policing downstream enable cir 4096 cbs 10000 ebs 1518
vlan port eth_0/5 mode tag vlan 1361 priority 0
interface eth eth_0/6 policing upstream enable cir 4096 cbs 10000 ebs 1518
interface eth eth_0/6 policing downstream enable cir 4096 cbs 10000 ebs 1518
vlan port eth_0/6 mode tag vlan 1362 priority 0
interface eth eth_0/7 policing upstream enable cir 4096 cbs 10000 ebs 1518
interface eth eth_0/7 policing downstream enable cir 4096 cbs 10000 ebs 1518
vlan port eth_0/7 mode tag vlan 1363 priority 0
interface eth eth_0/8 policing upstream enable cir 4096 cbs 10000 ebs 1518
interface eth eth_0/8 policing downstream enable cir 4096 cbs 10000 ebs 1518
vlan port eth_0/8 mode tag vlan 1364 priority 0

//打开或关闭onu端口命令
interface eth eth_0/1 phy-state enable/disable
打开enable
关闭disable

注意,在调配完onu之后请在中兴图形网管上修改onu的描述

------------------------------------------------------------------------

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

查看ONU类型 show onu-type epon

看类型:show remote onu info epon-onu_0/X/X:X
看状态:sho onu all-status epon-olt_0/X/X
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/X/X:X 进ONU
interface eth eth_0/X phy disable 停机
interface eth eth_0/X phy enable 复机

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

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

show onu all-status epon-olt_0/X/X 查看ONU上线离线情况


图文资讯
广告赞助商