GEPON培训教材(组网配置).ppt

上传人:max****ui 文档编号:11794734 上传时间:2020-05-02 格式:PPT 页数:41 大小:1.17MB
返回 下载 相关 举报
GEPON培训教材(组网配置).ppt_第1页
第1页 / 共41页
GEPON培训教材(组网配置).ppt_第2页
第2页 / 共41页
GEPON培训教材(组网配置).ppt_第3页
第3页 / 共41页
点击查看更多>>
资源描述
PON全局参数设定DBA配置二层功能配置三层功能配置三层功能+DHCP配置三层功能+组播配置链路聚合配置端口镜像配置ACL配置Radius认证,GEPON配置培训内容,PON全局参数设定,telnetePON(config-t)#pon-sys?local-authentication-Localslaauthenticationlport-strict-binding-Locallogicalportstrictbindingsla-synchronization-Localslasyncwithradiusserverauthenticationvlan-id-base-ConfigurevlanidbaseforSLA例:/ONU的逻辑端口与VLANID,MAC地址进行绑定telnetePON(config-t)#pon-syslport-strict-bindingenabled/设置基础VLANIDtelnetePON(config-t)#pon-sysvlan-id-base101/设置本地认证telnetePON(config-t)#pon-syslocal-authenticationenabled,DBA配置,BBS1000#configureterminalBBS1000(config-t)#interfaceepon-olt1/1/对第1个逻辑端口的ONU进行带宽分配BBS1000(config-t-if-olt-1/1)#onu1telnetePON(config-if-onu-1/1/1)#dba-sla?committed-bandwidth-servicelevelagreementcommittedbandwidthmac-ONUsmacaddressmax-burst-size-Slamaxburstsizemaximum-bandwidth-Servicelevelagreementmaximumbandwidth/设置最大带宽为20MBBS1000(config-if-onu-1/1/1)#dba-slamaximum-bandwidth20/显示ONU的带宽分配和MAC地址BBS1000(config-if-onu-1/1/1)#showinterfaceepon-olt1/1onudba-sla,二层功能配置,二层功能配置步骤,PON全局参数设定启动OLT端口ONU绑定ONU注册配置业务VLAN保存配置,二层功能配置,/PON全局参数设定telnetePON(config)#configterminal/设置逻辑端口与VLANID,MAC地址进行绑定telnetePON(config-t)#pon-syslport-strict-bindingenabled/设置基础VLANIDtelnetePON(config-t)#pon-sysvlan-id-base101(重启生效)telnetePON(config-t)#exittelnetePON(config)#configmanagetelnetePON(config-mgmt)#savetelnetePON(config-mgmt)#rebootAreyousuretorebootsystem?(y/n)y,/启动OLT端口telnetePON(config-t)#interfaceepon-olt1/1telnetePON(config-t-if-olt-1/1)#noshutdown/ONU绑定telnetePON(config-t)#showinterfaceepon-olt1/1mac-address-table/绑定32个ONU的MAC地址telnetePON(config-t-if-olt-1/1)#onu1telnetePON(config-t-if-olt-1/1/1)#dba-slamacA:B:C:D:E:FtelnetePON(config-t-if-olt-1/1/32)#dba-slamacA:B:C:D:E:F,二层功能配置,配置OLTVLAN模式,系统VLAN模式分为:Mixed-tag模式-ONUVLAN自行定义Unique-tag模式-每个ONU一个VLAN(默认为101356)Mixed-tag模式时,OLT的VLAN模式:Transparent透明模式-OLT透明传输所有VLANStack-vlan模式-OLT可以对ONU的收发报文进行添加/删除VLAN,二层功能配置,Transparent透明传输模式:/ONU注册,需要重新启动OLT端口telnetePON(config-t-if-olt-1/1)#noshutdown/配置业务VLAN,将需要通信的端口添加到同一个VLAN中telnetePON(config-t-if-olt-1/1)#vlan-modetransparent/创建vlan100telnetePON(config)#vlan100将ge3/1端口添加到vlan100中,untag进,untag出telnetePON(config-t-vlan-100)#memberge3/1untaggedtelnetePON(config-t-vlan-100)#memberge1/1untaggedtelnetePON(config-t-vlan-100)#pvidge3/1telnetePON(config-t-vlan-100)#pvidge1/1/保存配置telnetePON(config-mgmt)#save,二层功能配置,Stack-vlan传输模式:/ONU注册,需要重新启动OLT端口telnetePON(config-t-if-olt-1/1)#shutdown/配置业务VLAN,将需要通信的端口添加到同一个VLAN中telnetePON(config-t-if-olt-1/1)#vlan-modestack-vlantelnetePON(config-t-if-olt-1/1)#onu-vlan1-4200/创建vlan200telnetePON(config)#vlan200将ge3/1端口添加到vlan200中,untag进,tag出telnetePON(config-t-vlan-200)#memberge3/1taggedtelnetePON(config-t-vlan-200)#memberge1/1tagged/保存配置telnetePON(config-mgmt)#save,三层功能配置,三层功能配置步骤,PON全局数据设定ONU绑定ONU注册配置上联口ge3/X的IP地址配置super-vlan设置静态路由添加静态host-route,三层功能配置,/PON全局数据设定telnetePON(config)#configterminaltelnetePON(config-t)#pon-syslport-strict-bindingenabledtelnetePON(config-t)#pon-sysvlan-id-base101(重启生效)telnetePON(config-t)#interfaceepon-olt1/1telnetePON(config-t-if-olt-1/1)#noshutdown/ONU绑定telnetePON(config-t)#showinterfaceepon-olt1/1mac-address-tabletelnetePON(config-t-if-olt-1/1)#onu1telnetePON(config-t-if-olt-1/1/1)#dba-slamacA:B:C:D:E:F,三层功能配置,/ONU注册,需要重新启动OLT端口telnetePON(config-t-if-olt-1/1)#shutdowntelnetePON(config-t-if-olt-1/1)#noshutdown/配置上联口ge3/1地址为192.168.0.1/24BBS1000(config-t)#interfacegiga-ethernet3/1/将上联口gi3/1配置成三层接口BBS1000(config-t-if-ge-3/1)#noswitchport/设置三层接口的IPADDRESSBBS1000(config-t-if-ge-3/1)#ipaddress192.168.0.1255.255.255.0/激活三层端口BBS1000(config-t-if-ge-3/1)#noshutdown,三层功能配置,/配置super-vlan4094地址为10.0.0.1/8BBS1000(config-t)#vlan4094BBS1000(config-t-vlan-4094)#memberge1/1tagged/设置vlan4094三层接口配置BBS1000(config-t)#interfacevlan4094/设定VLAN4094为超级vlanidBBS1000(config-t-if-vlan-4094)#super-svi/将VLAN101至132添加到此超级VLAN中BBS1000(config-t-if-vlan-4094)#member-vlan101-132/设置三层VLAN的IPADDRESSBBS1000(config-t-if-vlan-4094)#ipaddress10.0.0.1255.0.0.0/激活此三层接口BBS1000(config-t-if-vlan-4094)#noshutdownBBS1000(config-t-if-vlan-4094)#exit,三层功能配置,/设置静态路由BBS1000(config-t)#iproute0.0.0.00.0.0.0192.168.0.2/添加静态host-route,以便使静态ip用户能正常通讯BBS1000(config-t)#host-route10.0.0.11interfacevlan4094sub-vlan101memberge1/1BBS1000(config-t)#host-route10.0.0.132interfacevlan4094sub-vlan132memberge1/1,三层功能+DHCP配置,三层功能+DHCP配置步骤,PON全局数据设定ONU绑定ONU注册配置上联口ge3/X的IP地址配置super-vlan设置静态路由配置dhcp,三层功能+DHCP配置,/PON全局数据设定telnetePON(config)#configterminaltelnetePON(config-t)#pon-syslport-strict-bindingenabledtelnetePON(config-t)#pon-sysvlan-id-base101(重启生效)telnetePON(config-t)#interfaceepon-olt1/1telnetePON(config-t-if-olt-1/1)#noshutdown/ONU绑定telnetePON(config-t)#showinterfaceepon-olt1/1mac-address-tabletelnetePON(config-t-if-olt-1/1)#onu1telnetePON(config-t-if-olt-1/1/1)#dba-slamacA:B:C:D:E:F,三层功能+DHCP配置,/ONU注册,需要重新启动OLT端口telnetePON(config-t-if-olt-1/1)#shutdowntelnetePON(config-t-if-olt-1/1)#noshutdown/配置上联口ge3/1地址为192.168.0.1/24BS1000(config-t)#interfacegiga-ethernet3/1BBS1000(config-t-if-ge-3/1)#noswitchportBBS1000(config-t-if-ge-3/1)#ipaddress192.168.0.1255.255.255.0BBS1000(config-t-if-ge-3/1)#noshutdown,三层功能+DHCP配置,/配置super-vlan4094地址为10.0.0.1/8BBS1000(config-t)#vlan4094BBS1000(config-t-vlan-4094)#memberge1/1taggedBBS1000(config-t)#interfacevlan4094BBS1000(config-t-if-vlan-4094)#super-sviBBS1000(config-t-if-vlan-4094)#member-vlan101-132BBS1000(config-t-if-vlan-4094)#ipaddress10.0.0.1255.0.0.0BBS1000(config-t-if-vlan-4094)#noshutdownBBS1000(config-t-if-vlan-4094)#exit,三层功能+DHCP配置,/设置静态路由BBS1000(config-t)#iproute0.0.0.00.0.0.0192.168.0.2/配置dhcp,启动dhcpserver服务BBS1000(config-t)#servicedhcpserver/为dhcp地址池起一个名字BBS1000(config-t)#ipdhcppoolname/为此地址池设定一个IP网段BBS1000(config-t-dhcp)#network10.0.0.0255.0.0.0/设置缺省的路由BBS1000(config-t-dhcp)#default-router10.0.0.1/设置DNS的IP地址BBS1000(config-t-dhcp)#dns-server202.101.98.54/设置dhcp地址池包括的地址段BBS1000(config-t-dhcp)#included_address10.0.0.1110.0.0.132/设置dhcp动态获取地址BBS1000(config-t-dhcp)#host255.255.255.254vlan-id101BBS1000(config-t-dhcp)#host255.255.255.254vlan-id132,三层功能+组播配置,三层功能+组播配置步骤,PON全局数据设定ONU绑定ONU注册配置上联口ge3/X的IP地址配置super-vlan设置静态路由配置组播,三层功能+组播配置,/PON全局数据设定telnetePON(config)#configterminaltelnetePON(config-t)#pon-syslport-strict-bindingenabledtelnetePON(config-t)#pon-sysvlan-id-base101(重启生效)telnetePON(config-t)#interfaceepon-olt1/1telnetePON(config-t-if-olt-1/1)#noshutdown/ONU绑定telnetePON(config-t)#showinterfaceepon-olt1/1mac-address-tabletelnetePON(config-t-if-olt-1/1)#onu1telnetePON(config-t-if-olt-1/1/1)#dba-slamacA:B:C:D:E:F,三层功能+组播配置,/ONU注册,需要重新启动OLT端口telnetePON(config-t-if-olt-1/1)#shutdowntelnetePON(config-t-if-olt-1/1)#noshutdown/配置上联口ge3/1地址为192.168.0.1/24BBS1000(config-t)#interfacegiga-ethernet3/1BBS1000(config-t-if-ge-3/1)#noswitchportBBS1000(config-t-if-ge-3/1)#ipaddress192.168.0.1255.255.255.0BBS1000(config-t-if-ge-3/1)#noshutdown,三层功能+组播配置,/配置super-vlan4094地址为10.0.0.1/8BBS1000(config-t)#vlan4094BBS1000(config-t-vlan-4094)#memberge1/1taggedBBS1000(config-t)#interfacevlan4094BBS1000(config-t-if-vlan-4094)#super-sviBBS1000(config-t-if-vlan-4094)#member-vlan101-132BBS1000(config-t-if-vlan-4094)#ipaddress10.0.0.1255.0.0.0BBS1000(config-t-if-vlan-4094)#noshutdownBBS1000(config-t-if-vlan-4094)#exit,三层功能+组播配置,/设置静态路由BBS1000(config-t)#iproute0.0.0.00.0.0.0192.168.0.2/添加静态host-route,以便使静态ip用户能正常通讯BBS1000(config-t)#host-route10.0.0.11interfacevlan4094sub-vlan101memberge1/1BBS1000(config-t)#host-route10.0.0.132interfacevlan4094sub-vlan132memberge1/1,三层功能+组播配置,/配置组播/启用组播路由BBS1000(config-t)#ipmulticast-routing/启用igmp-proxy协议BBS1000(config-t)#ipigmp-proxy/设置超级VLAN4094启用组播功能BBS1000(config-t)#ipmulticastvlan4094/在上联口上启用igmp-proxy协议BBS1000(config-t)#interfacegiga-ethernet3/1BBS1000(config-t-if-ge-3/1)#ipigmp-proxyBBS1000(config-t-if-ge-3/1)#ipigmpversion2/在超级VLAN4094上启用igmp第2版本协议BBS1000(config-t)#interfacevlan4094BBS1000(config-t-if-vlan-4094)#ipigmpversion2,链路聚合配置,/设置链路聚合组ID=9telnetePON(config-t)#interfacelink-aggregation9telnetePON(config-t-if-lg-9)#load-balance?dst-ip-destinationipaddressdst-mac-destinationmacaddresssrc-dst-ip-sourceanddestinationipaddresssrc-dst-mac-sourceanddestinationmacaddresssrc-ip-sourceipaddresssrc-mac-sourcemacaddress/设置负载均衡算法telnetePON(config-t-if-lg-9)#load-balancedst-ip/将上联口gi3/1和gi3/2加入到些链路聚合组中telnetePON(config-t-if-lg-9)#memberge3/1-2,端口镜像配置,/设置镜像源端口,以及被镜像的内容(收方向,还是发方向,也可以二者均有)telnetePON(config-t)#monitorsession1sourceinterfacegigabitEthernet1/1-4rxtelnetePON(config-t)#monitorsession1sourceinterfacegigabitEthernet1/1-2tx/设置镜像观测端口telnetePON(config-t)#monitorsession1destinationinterfacegigabitEthernet3/1/激活此镜像功能telnetePON(config-t)#monitorsession1activate,端口镜像配置,/显示端口镜像配置telnetePON(config-t)#showmonitorsessionSession1-Sourcereceiveinterfaces:ge1/1-4Sourcetransmitinterfaces:ge1/1-2Destinationinterfaces:ge3/1bufferedSession1-Sourcereceiveinterfaces:Sourcetransmitinterfaces:Destinationinterfaces:,ACL配置,ACL文件:/下面是一个完整的ACL配置文件,需制成文本文本,导入到flash:/下.profilestarttest_acl_profile:field1QaField1:EtherIIuntagipprotocolsrcPort0 xffffrule1test_rule:protocoltcpsrcPort23actiondenyprofileend#endofprofile,ACL配置,/ACL配置文件中字段的定义field:EtherII|802.3tag|untagvlanpriorityipdscpprotocolsipdipsrcPortdstPort/ACL配置文件中规则的定义rule:vlanipprioritydscpprotocolsipdipsrcPortdstPortactionnew_dscpnew_priority,ACL配置,ACL配置,/如何使用ACLPC上运行ftpserver,并创建用户名和密码为epon和epon把acl.txt文件,通过ftp功能上传到flash:/根目录下:BBS1000(config-mgmt)#ftp192.168.5.100geteponeponflash:/acl.txtacl.txt把acl文件导入到profile中,profile只支持32个BBS1000(config-t)#importflash:/acl.txttoprofile1在端口gi3/1应用此acl规则BBS1000(config-t-if-ge-3/1)#apply-acl-profile1,软件升级,/软件升级步骤PC上运行ftpserver,并创建用户名和密码为epon和epon备份主机软件和配置文件BBS1000(config-mgmt)#ftp10.0.0.2putepon111nvm:/cfgdata/epon.dbepon.dbBBS1000(config-mgmt)#ftp10.0.0.2putepon111flash:/bbs1000.stzls.stz如果原有主机软件达到3套,删除其中一套BBS1000(config-mgmt)#filesystemremoveflash:/bbs1000.stz上传新的主机软件BBS1000(config-mgmt)#ftp10.0.0.2getepon1flash:/2.19.10.stzbbs1000b.stz指定该主机软件为默认启动软件,并重启系统BBS1000(config-mgmt)#bootsystemflash2.19.10.stz,ONU软件升级,/ONU软件升级步骤.可以远程升级如果在flash:/下没有onuImage目录,需要新建一个BBS1000#debugBBS1000(debug)#bBCM.0sh-mkdirflash:/onuImage运行ftpserver,设置用户名和密码为epon及onu软件所在目录指定ONU的HW类型BBS1000(config-t)#interfaceepon-onu-upgradeBBS1000(config-t-if-onu-ugp)#hw-typetype2hw-rev0manualfw-rev2.1.11onu.bin/现有的onu版本为2.1.11指定升级方式为手动telnetePON(config-t-if-onu-ugp)#upgrademanual对指定ONU1进行升级BBS1000(config-t-if-onu-ugp)#fw-upgrade1/1/1manualforce,Radius认证,认证配置内容:radiusserver配置设定ONU的用户名与密码BBS1000配置,Radius认证,/配置RADIUSserver的步骤通过BBS1000的带外网口连接radiusserver设置radiusserver,包括ONU的用户名,密码,关键字通过超级终端配置ONU的用户名与密码(重启生效)首先让ONU正确注册BBS1000#debugBBS1000(debug)#bcm-cliBCM.0sh-uts_set_username_by_ascii1,1,”onu1”-uts_set_password_by_ascii1,1,”admin”,Radius认证,配置BBS1000BBS1000(config-t)#pon-syslocal-authenticationdisabledBBS1000(config-t)#radius-serverprimaryonuauthenticationipaddress192.168.5.100/192.168.5.100是radiusserver的IPBBS1000(config-t)#radius-serverprimaryonuauthenticationport1812/radius的端口固定为1812BBS1000(config-t)#radius-serverprimaryonuauthenticationshared-keyepon/关键字为epon,此关键字要与radiusserver上面的关键字一致重启BBS1000,radius的配置需要重新启动才能生效,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 图纸专区 > 课件教案


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!