下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、新加交换机比较繁琐,涉及到上联设备OLT和BAS需要做的数据也比较多,需要多次操作才能得心应手。虽然在CMDg口也可以操作,但 是 用 SecureCRT 会 更 方 便工具/原料 SecureCRT BatchCmdGen高级命令生成器方法/步骤1. 1首先要和现场施工人员确定新加设备属于哪个区域,判断这台设备接在哪个OLT下面,在OLT上使用displayontautofindall 查看待加设备。然后在OLT选线路模板:displayont-lineprofilegponall,最后还需要知道ont的id和外层vlan,可以通过查看 II 1已有的数据来确定:displaycurrent
2、-configurationport0/2/6或者根据公司台账。'' J 2. 2给交换机一个静态地址,在 bas上可以查看已用地址:displaystatic然后根据台账找到已经用的子接口,来确定该设备子接口displaycurinteth-trunk?| * - ' I/3. 3/ " I l ' '' -1 ; |说了这么多,总结加一台ON成备,需要准备如下:SN号上连OLT端口号设备内外层 VLANont-id静态ip所属子接口0 I ' %, 'f'l4. 4接下来就是无脑模板啦, x 、'卜产
3、/ 4 % 二、第一步:TCON脚定DBA模板,再增加 gemport与TCONT?定A Iont-lineprofilegponprofile-id%dprofile-name0/13/5_ONU-%d''.I!_tcont1dba-profile-id3gemadd0ethtcont1gemadd1ethtcont1gemadd2ethtcont1gemadd3ethtcont1gemadd4ethtcont1gemadd5ethtcont1 gemadd6ethtcont1gemadd7ethtcont1gemadd8ethtcont1gemadd9ethtcont1ge
4、madd10ethtcont1gemadd11ethtcont1gemadd12ethtcont1gemadd13ethtcont1gemadd14ethtcont1gemadd15ethtcont1gemadd16ethtcont1''i '' 1* i, i . i igemadd17ethtcont1gemadd18ethtcont1gemadd19ethtcont1gemadd20ethtcont1gemadd21ethtcont1gemadd22ethtcont1gemadd23ethtcont1gemadd24ethtcont1还记得CRTT具不?这
5、个一大串命令可以用它实现啦!gemadd%dethtcont1%d 是参数5. 5第二:设置 gemport与VLAN的映射gemmapping01vlan12gemmapping11vlan2974 gemmapping21vlan2975 gemmapping31vlan2976 gemmapping41vlan2977 gemmapping51vlan2978 gemmapping61vlan2979 gemmapping71vlan2980 gemmapping81vlan2981 gemmapping91vlan2982 gemmapping101vlan2983 gemmappin
6、g111vlan2984/ ' ' ' i '' 1 ' J I II I I gemmapping121vlan2985 gemmapping131vlan2986 gemmapping141vlan2987 gemmapping151vlan2988 gemmapping161vlan2989 gemmapping171vlan2990 gemmapping181vlan2991 gemmapping191vlan2992 gemmapping201vlan2993 gemmapping211vlan2994 gemmapping221vla
7、n2995 gemmapping231vlan2996来源网络gemmapping241vlan2997commitquit6. 6第三:在pon 口下,添加设备interfacegpon0/13ontsnmp-profile516profile-id1quit7. 7第四:添加 service-portX / ' J I 丁。"'Jservice-portvlan12gpon0/13/5ont16gemport0multi-serviceuser-vlan12tag-transformtranslateservice-portvlan249gpon0/13/5ont
8、16gemport1multi-serviceuser-vlan2974tag-transformtranslate-and-addinner-vlan2974inner-priority0service-portvlan249gpon0/13/5ont16gemport2multi-serviceuser-vlan2975tag-transformtranslate-and-addinner-vlan2975inner-priority0-i service-portvlan249gpon0/13/5ont16gemport3multi-serviceuser-vlan2976tag-tra
9、nsformtranslate-and-addinner-vlan297X i"1" B j -X -6inner-priority0service-portvlan249gpon0/13/5ont16gemport4multi-serviceuser-vlan2977tag-transformtranslate-and-addinner-vlan297x '卜. %寸”/ WJ=:'7inner-priority0寸.、齐熟.I Iservice-portvlan249gpon0/13/5ont16gemport5multi-serviceuser-vla
10、n2978tag-transformtranslate-and-addinner-vlan297' I8inner-priority0service-portvlan249gpon0/13/5ont16gemport6multi-serviceuser-vlan2979tag-transformtranslate-and-addinner-vlan2979inner-priority0service-portvlan249gpon0/13/5ont16gemport7multi-serviceuser-vlan2980tag-transformtranslate-and-addinne
11、r-vlan2980inner-priority0service-portvlan249gpon0/13/5ont16gemport8multi-serviceuser-vlan2981tag-transformtranslate-and-addinner-vlan2981inner-priority0service-portvlan249gpon0/13/5ont16gemport9multi-serviceuser-vlan2982tag-transformtranslate-and-addinner-vlan2982inner-priority0来源网络service-portvlan2
12、49gpon0/13/5ont16gemport10multi-serviceuser-vlan2983tag-transformtranslate-and-addinner-vlan2983inner-priority0service-portvlan249gpon0/13/5ont16gemport11multi-serviceuser-vlan2984tag-transformtranslate-and-addinner-vlan2984inner-priority0service-portvlan249gpon0/13/5ont16gemport12multi-serviceuser-
13、vlan2985tag-transformtranslate-and-addinner-vlan2985inner-priority0service-portvlan249gpon0/13/5ont16gemport13multi-serviceuser-vlan2986tag-transformtranslate-and-addinner-vlan2986inner-priority0service-portvlan249gpon0/13/5ont16gemport14multi-serviceuser-vlan2987tag-transformtranslate-and-addinner-
14、vlan2987inner-priority0service-portvlan249gpon0/13/5ont16gemport15multi-serviceuser-vlan2988tag-transformtranslate-and-addinner-vlan2988inner-priority0service-portvlan249gpon0/13/5ont16gemport16multi-serviceuser-vlan2989tag-transformtranslate-and-addinner-vlan2989inner-priority0service-portvlan249gp
15、on0/13/5ont16gemport17multi-serviceuser-vlan2990tag-transformtranslate-and-addinner-vlan2990inner-priority0service-portvlan249gpon0/13/5ont16gemport18multi-serviceuser-vlan2991tag-transformtranslate-and-addinner-vlan2991inner-priority0service-portvlan249gpon0/13/5ont16gemport19multi-serviceuser-vlan
16、2992tag-transformtranslate-and-addinner-vlan29 I I92inner-priority0service-portvlan249gpon0/13/5ont16gemport20multi-serviceuser-vlan2993tag-transformtranslate-and-addinner-vlan2993inner-priority0service-portvlan249gpon0/13/5ont16gemport21multi-serviceuser-vlan2994tag-transformtranslate-and-addinner-
17、vlan2994inner-priority0service-portvlan249gpon0/13/5ont16gemport22multi-serviceuser-vlan2995tag-transformtranslate-and-addinner-vlan2995inner-priority0service-portvlan249gpon0/13/5ont16gemport23multi-serviceuser-vlan2996tag-transformtranslate-and-addinner-vlan2996inner-priority0service-portvlan249gpon0/13/5ont16gemport24multi-serviceuser-vlan2997tag-transformtranslate-and-addinner-vlan2997inner-priority08. 8好了,剩下的就是在 bas上了:1、确定子接口后在子接口里做数
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
评论
0/150
提交评论