EPON开局指导书(V1.0)_第1页
EPON开局指导书(V1.0)_第2页
EPON开局指导书(V1.0)_第3页
EPON开局指导书(V1.0)_第4页
EPON开局指导书(V1.0)_第5页
已阅读5页,还剩75页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、作者文档版本版本简介完成日期李一凡、严诚、吉磊、周银河v1.0完成epon开局指导书大部分的内容,后期不断完善、修订。2011-3-14目录一、准备工作31.1 设备连接31.2 olt启动检测31.3 onu启动检测51.3.1 onu1208的启动检测51.3.2 onu1004a的启动检测6二 文件系统72.1 查看版本信息72.1.1 查看主控版本72.1.2 查看线卡版本82.1.3 查看onu版本92.2 查看flash文件系统102.3 升级版本102.3.1 olt版本升级102.3.2 onu版本升级12三、olt的管理133.1 带外ip管理(主控上)133.2 带内ip管

2、理143.2.1添加/删除vlan143.2.2 配置olt端口143.2.3 配置带内ip143.2.4 aaa配置153.3 snmp网管15四、onu的认证和操作154.1 查看onu注册状态154.2 onu的注册和授权16五、以太网业务之广电应用175.1 ftth光纤到户模式应用17模拟环境17步骤一 在olt上创建业务vlan,并将上联口加入业务vlan。17步骤二 将olt下联pon口加入业务vlan。18步骤三 创建onu业务vlan,并将uni口加入业务vlan。18检测 通过查看olt物理地址表检查二层链路状况。195.2 fttb+lan模式应用19模拟环境19步骤一

3、创建olt相关vlan,将上联口加入相应vlan。20步骤二 将olt下联pon口加入相应vlan,配置qos策略划分业务流流向。20步骤三 创建onu家庭区域vlan,并将uni口配置成vlan叠加隧道模式。21检测 通过查看olt物理地址表检查二层链路状况。21六 光纤保护216.1 主干光纤保护(b类)226.2 全网保护(c类)226.3 手拉手保护23七 串口业务247.1 server模式267.2 client模式267.3 udp模式27八、常用功能288.1 风暴控制288.2 端口隔离288.3 端口限速288.4 pon下onu、uni互通288.5 灵活qinq298.

4、5.1 dot1q tunnel298.5.2 在olt上实现vlan stacking298.5.3 在onu上实现vlan stacking308.5.4 实例308.6 端口镜像328.6.1 pon口镜像到ge口328.6.2 uni口镜像32概述:epon的应用在国内如雨后春笋,为更好的指引用户顺利的完成epon设备的安装和调试,提供应用配置模板,特拟定epon开局指导书以供参考。一、准备工作1.1 设备连接epon系统不同于传统的以太网系统,按系统设备组成器件来分,可以分成olt、分光器、onu三个部分组成,连接设备拓扑如下:设备连接拓扑图1.1需要注意分光器的连接,分光器上联口必

5、须连接olt,下联口连接onu。如果是采用非等分比分光器,分光比大的下联口连接分光器,分光比小的下联口连接onu,倒反则可能导致光功率不匹配,onu无法正常的数据传输。1.2 olt启动检测olt加电启动可分成3个步骤:1、 msu主控卡的硬件检测和系统加载。加电后,主控板的use,pwr,sysalm,pwralm灯会亮起,待系统正常加载完毕后,use,act,pwr灯常亮,act表示此主控为激活状态,而备用主控act是灭的。pwr:绿色指示灯亮时,表示msu正常上电/熄灭表示msu没上电use:绿色指示灯亮时,表示msu正常工作/熄灭表示不处于工作状态(可能没上电,若上电后不亮则是异常)。

6、act:绿色指示灯亮时,表示msu处于master主控状态/熄灭表示 处于backup主控状态。pwralm:系统电源正常时为熄灭状态,异常时会亮红色灯。fanalm:系统风扇正常时为熄灭状态,异常时会亮红色灯。sysalm:系统工作正常时为熄灭状态,异常时(软硬件问题皆有可能)会亮红色灯。(pc-card)in:绿灯亮时表示flash槽有flash卡插入,空槽则灯为熄灭状态。(pc-card)act:绿灯闪烁表明卡有读写,熄灭则表示flash卡没有读写操作。rst:复位键,用来复位该主控板。swap:热切换键,按下则切换到备用的主控状态,主备间发生倒换。连接主控卡的console口,主控卡硬

7、件检测输出如下信息:system bootstrap, version 0.4.5, serial no:s45000944copyright (c) 2010 s8506 risc processorcurrent time: 2011-1-17 12:09:02sdram fast test.pass!flash fast test.pass!rtc test.pass!硬件检测完毕后,进入系统加载部分:loading flash:switch.bin.start decompress flash:switch.bin#decompress 6634861 byte. please wai

8、t system up.system startup ok2、 业务卡的硬件检测和版本同步。硬件检测和主控的硬件检测在设备加电后同时进行,并当主控卡加载完毕后,检测业务本地是否存有版本,若没有版本,则向主控卡copy版本,如果有版本,则检测主控卡所存储的版本是否和业务线卡本地版本一致,不一致则同步版本,一致则进入业务卡加载步骤。3、 业务卡的系统加载以及与主控的业务同步。检测完毕业务线卡本地版本后,进入系统加载状态,成功加载后,use灯常亮。use:正常工作状态为常亮绿色,若熄灭表示线卡已经不在工作状态了,若已上电则肯定是有异常。alm:为红色时,表示线卡异常,发出告警,正常状态为熄灭。lin

9、k/act:link亮时表示连接已ok,act闪烁表示有数据收发。主控卡console口输出业务线卡加载信息:jan 17 12:09:32 switch system started -jan 17 12:09:36 oir-5-insert: slot 3 online inserted with base mac address 00e0.0fdf.3000, in handling.jan 17 12:09:36 oir-6-create_interface: interfaces of slot 3 are created successful当业务线卡成功加载后,可以通过下面命令检

10、查加载是否正常:s85-pe2#show oir-information slot 2 type ls_12ge_mpls_card(present)1.3 onu启动检测1.3.1 onu1208的启动检测onu1208为双电源、双pon口,可以通过指示灯意义来检测启动是否正常:p1(1)亮起代表接入使用的为电源1。p2(2)亮起表示接入使用的为电源2。sys(4)闪烁表示正常加载系统。reg(2)常亮表示onu成功注册。use(5,8)灯亮表示该pon口正在使用。loss(6,9)灯亮表示该pon口未使用。1.3.2 onu1004a的启动检测onu1004a为单电源,单pon口,通过指示

11、灯状态可以判断启动加载情况:power灯:power:亮表示设备已加电。pon:灭表示注册未完成,周期闪烁已经成功注册和激活链路。los:灭表示onu接受光功率正常,周期闪烁表示接受的光功率低于光接收灵敏度或者未注册。alarm:灭则表示正常加载软件,常亮表示软件加载失败或者错误。二 文件系统85系列olt主要由管理控制板(msu)和所支持的线卡(ls)组成。要使olt正常运行,需要确保ls和msu的版本一致,也就是说ls和msu的版本需要是同一版本才行。由于85olt采用的是文件集中管理方式,所有的线卡ios文件都存储于msu的flash中,并且ls总是以msu上的版本为准。在msu启动之后

12、,msu会向ls同步存储于其flash中的线卡ios文件,同步完成之后ls进行解压运行。此过程会占用一分钟左右的时间,请用户耐心等待。线卡的文件名必须是确定的,每一种线卡类型都有特定的文件名,msu是根据不同的线卡类型把相应文件名的ios文件分发给线卡的,所以管理人员一定要确保相应文件名的ios文件是相应线卡的ios。各种管理控制板及线卡的ios文件名如下:线卡线卡类型线卡所需ios文件名(大小写不限)ls85msu-管理控制板switch.binls85msu-ls85msu-ls12ge业务板ls24ge_binls24gels48gels4tels8ponls16pon_binls8po

13、n-8gels16ponls16pon-8geolt正常运行还需要一个olt_blob的文件,该文件是pon卡上pon芯片的驱动程序。2.1 查看版本信息2.1.1 查看主控版本switch_config#show version /查看olt主控软件版本信息bdcom(tm) msu8506 software, version 11.0.1d build 2795copyright by shanghai baud data communication co. ltd.compiled: 2011-3-4 17:15:11 by sys_2795, image text-base: 0x10

14、000rom: system bootstrap, version 0.4.5, serial num:s45001218system image file is flash:switch.bin(risc) processor with 524288k bytes of memory, 32768k bytes of flashbase ethernet mac address: 00:e0:0f:8e:72:1fboard num:s42000644,e2rom version:1,pcb version:2cpld version:b2,msu type: ii snmp info: p

15、roduct_id:124 switch uptime is 0:00:24:44, the current time: 2011-3-9 9:29:50 reboot history information: no. 1: system is reboot by power-on no. 2: system is rebooted by command at 2011-3-9 9:4:31注:通过查看olt及onu的版本号,以及编译时间来判断ios文件的新旧程度。由show version信息可以看出,主控ios文件的版本号为11.0.1d,编译时间为2011-3-4。2.1.2 查看线卡版

16、本ls16pon的版本信息:switch_config#show slot 3 version /查看3槽位线卡的软件版本信息slot3: internetwork operating system softwarels16pon-b line card series software, version 11.0.1d build 2795, release software compiled: 2011-3-4 17:16:21 by sys_2795, image text-base: 0x10000rom: system bootstrap, version 0.3.5serial nu

17、m:51002461, id num:s51002461system image file is ls16pon.bin ls16pon-b line card risc262144k bytes of memory,8192k bytes of flashbase ethernet mac address: 00:e0:0f:8e:72:1fboard num:s68005394,e2rom version:1,pcb version:2slot3 uptime is 0:00:22:36, the current time: 2011-3-9 9:30:8 reboot history i

18、nformation: no. 1: system is rebooted by watchdog no. 2: system is rebooted by watchdog no. 3: system is rebooted by software at 2011-3-8 13:48:3, flag:00090004 no. 4: system is rebooted by software at 2011-3-9 9:5:5, flag:00090004ls24ge的版本信息:switch_config#show slot 4 version /查看4槽位线卡的软件版本信息slot4: i

19、nternetwork operating system softwarels24ge-tx line card series software, version 11.0.1d build 2795, release software compiled: 2011-3-4 17:16:53 by sys_2795, image text-base: 0x10000rom: system bootstrap, version 0.3.3serial num:s51002452, id num:s51002452system image file is ls24ge.bin ls24ge-tx

20、line card risc262144k bytes of memory,8192k bytes of flashbase ethernet mac address: 00:e0:0f:8e:72:1fboard num:s57055215,e2rom version:1,pcb version:2slot4 uptime is 0:00:33:12, the current time: 2011-3-9 9:40:31 5 times of reboot catched, last 4 times reboot history recorded: no. 1: system is rebo

21、oted by watchdog no. 2: system is rebooted by software at 2011-3-8 13:48:3, flag:00090004 no. 3: system is rebooted by watchdog no. 4: system is rebooted by software at 2011-3-9 9:6:36, flag:000900042.1.3 查看onu版本onu1208的版本信息:switch_config#show epon int e3/1:1 onu ctc basic-info /查看ctc定义的onu基本信息onu v

22、ender id : bdcmonu model id : 1208onu id : 00e0.0fcb.bc77hardware version : 0x45 30 00 00 00 00 00 00software version : 0x31 30 2e 30 2e 32 44 36 00 00 00 00 00 00 00 00firmware version : 0x0100chipset vendor id : opchipset model id : 0x6752chipset revision : 160chipset date : 08/03/27onu type : sfu

23、support multillid : not supportedprotection type : supported c-psgnumber of pon : 2number of slot : 0support 2 types of port: number of fe port : 4 number of serial : 4battery backup : 0也可以通过console登录onu1208本地来查看版本信息。onu# show version /查看onu软件版本信息 vendor name : shanghai baud data communication co. l

24、td. vendor short name : bdcom copyright (c) : shanghai baud data communication co. ltd. product : onu/iep1208-4s-v hw version : e0 release : 10.0.2 (f23-a8) revision : d6 build : 17:46:03, feb 24 2011 mac : 00:e0:0f:cb:bc:77 sn : 002120011482.2 查看flash文件系统switch_config#dir /显示闪存中的文件listing directory

25、 /: switch.bin 6037711 feb 28 09:59:06 2011 ls16pon_bin 6220928 feb 28 10:02:50 2011 olt_blob 598264 feb 28 10:03:46 2011 ls24ge_bin 5237610 feb 28 10:00:50 2011 iep1208_10.0.2d5.bin 2674305 feb 28 10:26:56 2011free space is 12693504 bytes2.3 升级版本2.3.1 olt版本升级步骤一 为olt配置管理地址switch_config#int vlan 1 /

26、创建int vlan 1,并进入int vlan 1的接口模式switch_config#ip address /为int vlan 1 配置ip地址同时确保pc与olt的管理地址之间的互通性。步骤二 在pc上开启tftp服务器,并设置tftp服务器的上传目录步骤三 将pc上的olt ios文件上传至olt flash中switch_config#copy tftp:bdmsu8508_11.0.1d.bin flash:switch.bin /从tftp服务器上把主控ios

27、文件上传至flash中# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # tftp:successfully receive 11793 blocks ,6037711 bytes2.3.2 onu版本升级步骤一 将onu ios文件上传至olt flash中具体方法详见2.3.1步骤二 为onu更新olt flash中的ios文件switch#epon update onu image iep1208_10.0.2d5.bin int e3/1:1 /为int e3/1:1的onu更新软件版本are yo

28、u sure to update the onu image(y/n)?yplease wait for update.switch#feb 28 10:43:59 check slot 3 ios consistency.feb 28 10:43:59 slot 3start update file:onu_image.feb 28 10:43:59 iep1208_10.0.2d5.bin for slot 3 is diffrent with msu, update it.feb 28 10:44:27 successful send 2674305 bytes to slot 3feb

29、 28 10:44:27 slot 3update file onu_image finished!feb 28 10:44:27 slot 3the image is downloading to the onu on e3/1:1, please wait! the onu will reboot when downloading finished, and then you can check the software version after re-registration!feb 28 10:44:28 slot 3 file syn finishedfeb 28 10:44:28

30、 slot 3all files update finished!feb 28 10:44:28 slot 3 update ok,consumed time is 29sswitch#feb 28 10:44:59 %epon-onudereg: onu 00e0.0fcb.bc6a is deregistered on e3/1:1.feb 28 10:44:59 slot 3%epon-onudereg: onu 00e0.0fcb.bc6a is deregistered on e3/1:1.注:onu镜像文件更新完成后会自动重启,并加载新的镜像文件启动。步骤三 确认更新onu ios

31、文件switch#epon commit-onu-image-update int e3/1:1 /更新int e3/1:1onu的映像文件ctc_oam_onu_upgrade_commit_img_reqswitch#feb 28 10:53:04 slot 3commit onu image update successfully on e3/11:3!注:onu更新镜像文件,加载新的镜像文件重启后,需要再进行确认更新镜像,否则下次onu启动会加载运行原来的镜像文件。三、olt的管理3.1 带外ip管理(主控上)带外ip地址指的是设备的带外网口的ip地址,在68、85的主控板上体现为光、

32、电复用端口。默认配置情况下无管理ip地址,需要通过命令行配置。如果设备使用双主控的情况下,只有telnet到master主控上才可以进入配置模式swicth(config)#做配置管理,而telnet到backup主控只能进入特权模式switch#执行查看命令。命令行配置带外管理ipswitch_config#interface gigaethernet 5/0 switch_config_g5/0#ip address 54 switch_config_g5/0#exitswitch_config#write3.2 带内ip管理3.2.1添

33、加/删除vlanswitch_config#vlan 100 /添加vlan 100switch_config_vlan100#no vlan 100 /删除vlan 100switch_config#vlan ? word - vlan ids(1-4094), such as (1,3,5,7) or (1,3-5,7) or (1-7)switch_config#vlan 101,109-111 /添加vlan 101,109,110,1113.2.2 配置olt端口olt端口支持以下几种模式:访问模式、中继模式、vlan隧道模式、vlan翻译型隧道模式和vlan隧道上连口模式。每一个端

34、口都有一个默认的vlan及pvid,端口下接收到的所有的没有vlan标签的数据都是属于该vlan的数据报文。中继模式可以将端口归属于多个vlan,同时也可以配置转发何种报文和所属的vlan的数量,即端口发送的报文时tagged还是untagged,以及端口所属的vlan list。使用如下的命令可以配置olt端口:switch_config_g2/1#switchport pvid 101 /配置olt端口的pvidswitch_config_g2/1#switchport mode ? /配置olt端口的端口模式 access - access mode /访问模式 trunk - trun

35、k mode /中继模式 dot1q-translating-tunnel - dot1q translating tunnel mode /vlan翻译型隧道模式 dot1q-tunnel-uplink - dot1q tunnel uplink mode /vlan隧道上连口模式3.2.3 配置带内ipswitch_config#vlan 100 /添加一个管理vlan100,同时进入config_vlanswitch_config_vlan100#exit /退出config_vlan模式switch_config#int vlan 100 /进入vlan100的接口模式switch_c

36、onfig_v100#ip add /在vlan100的接口下配置一个ip,即带内ip地址如果要删除ip,用no命令:switch_config_v100#no ip addressswitch_config_vlan100#exitswitch_config#ip route /在全局模式下配置缺省路由switch_config#no ip route /删除路由switch_config#show ip route /查看当前设备的路由3.2.

37、4 aaa配置访问控制是用来控制接入olt或网络访问服务器(nas)的用户,并限制他们可使用的服务种类。提供认证、授权和记录(authentication,authorization,accounting)功能,以提高网络安全性能。常规配置如下:switch_config#aaa authentication login default local /配置登陆认证为本地数据库认证switch_config#aaa authentication enable default none /配置enable认证为空switch_config#username admin password bdcom

38、 /配置本地数据库认证账户、密码注:如下图所示,如果不配置以上aaa认证命令,默认telnet方式登陆时会提示认证失败!3.3 snmp网管snmp系统包括下面3个部分:l snmp管理端(nms)l snmp代理(agent)l 管理信息库(mib)snmp是应用层协议,它提供了在snmp管理端和代理之间进行通信的报文格式。常规配置命令如下:switch_config#snmp-server community public ro /配置了对所有mib变量有读权限的团体字符串publicswitch_config#snmp-server community private rw/配置了对所有

39、mib变量有读写权限的团体字符串privateswitch_config#snmp-server host version v3 public authentication config snmp /对主机发送snmp、authentication、configure陷阱消息四、onu的认证和操作4.1 查看onu注册状态 通过命令show epon onu-information查看onu的注册状态,测距等参数。switch_config#show epon onu-information /查看onu注册信息interface epon3/2 has regi

40、stered 2 onus:intf name mac address description bind type status distance(m) rtt(tq) reg time(yyyy.mm.dd.hh:mm:ss)- - - - - - - -epon1/5:1 00e0.0fcb.9980 n/a static deregistered n/a n/a n/aepon1/5:2 00e0.0fcb.a5c6 n/a static auto_configured 288 216 206:38:19intf name:表示onu分配到的llid接口。mac ad

41、dress:onu注册的mac地址。description:onu的描述,需手动配置描述语。bind type:绑定类型,分静态和动态绑定2种形式。status:注册状态,auto_configured表示onu注册成功并可以正常运用,registered表示onu已注册未认证,rejectect register表示onu处于离线状态。distance(m):测距值,根据一定的算法和延迟粗略计算出的olt至onu的光纤距离。rtt(tq):延迟,光信号从olt发出到onu处理再返回至olt的时间差。reg time:onu的注册时间。注册成功的onu将会在pon口配置里面增加一条onu mac地址与llid接口的绑定命令。interface epon3/2 epon bind-onu 00e0.0fcb.9980 1 epon bind-onu 00e0.0fcb.a5c6 24.2 onu的注册和授权olt默认状态为自动注册,只要有onu提出注册请求,则自动让onu注册、分配带宽。因此当onu加电接入olt的光纤后,则可以正常注册并且使用,不需要任何的配置和授权

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论