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

上传人:牧羊曲112 文档编号:6506296 上传时间:2023-11-07 格式:PPT 页数:41 大小:1.10MB
返回 下载 相关 举报
GEPON培训教材(组网配置).ppt_第1页
第1页 / 共41页
GEPON培训教材(组网配置).ppt_第2页
第2页 / 共41页
GEPON培训教材(组网配置).ppt_第3页
第3页 / 共41页
GEPON培训教材(组网配置).ppt_第4页
第4页 / 共41页
GEPON培训教材(组网配置).ppt_第5页
第5页 / 共41页
点击查看更多>>
资源描述

《GEPON培训教材(组网配置).ppt》由会员分享,可在线阅读,更多相关《GEPON培训教材(组网配置).ppt(41页珍藏版)》请在三一办公上搜索。

1、PON全局参数设定DBA配置二层功能配置三层功能配置三层功能+DHCP配置 三层功能+组播配置 链路聚合配置端口镜像配置ACL配置Radius认证,GEPON配置培训内容,PON全局参数设定,telnetePON(config-t)#pon-sys?local-authentication-Local sla authentication lport-strict-binding-Local logical port strict binding sla-synchronization-Local sla sync with radius server authentication vlan-

2、id-base-Configure vlan id base for SLA例:/ONU的逻辑端口与VLAN ID,MAC地址进行绑定telnetePON(config-t)#pon-sys lport-strict-binding enabled/设置基础VLAN IDtelnetePON(config-t)#pon-sys vlan-id-base 101/设置本地认证telnetePON(config-t)#pon-sys local-authentication enabled,DBA配置,BBS1000#configure terminal BBS1000(config-t)#int

3、erface epon-olt 1/1/对第1个逻辑端口的ONU进行带宽分配BBS1000(config-t-if-olt-1/1)#onu 1telnetePON(config-if-onu-1/1/1)#dba-sla?committed-bandwidth-service level agreement committed bandwidth mac-ONUs mac address max-burst-size-Sla max burst size maximum-bandwidth-Service level agreement maximum bandwidth/设置最大带宽为20

4、MBBS1000(config-if-onu-1/1/1)#dba-sla maximum-bandwidth 20/显示ONU的带宽分配和MAC地址BBS1000(config-if-onu-1/1/1)#show interface epon-olt 1/1 onu dba-sla,二层功能配置,二层功能配置步骤,PON全局参数设定启动OLT端口ONU绑定ONU注册配置业务VLAN保存配置,二层功能配置,/PON全局参数设定telnetePON(config)#config terminal/设置逻辑端口与VLAN ID,MAC地址进行绑定telnetePON(config-t)#pon-

5、sys lport-strict-binding enabled/设置基础VLAN ID telnetePON(config-t)#pon-sys vlan-id-base 101(重启生效)telnetePON(config-t)#exittelnetePON(config)#config managetelnetePON(config-mgmt)#savetelnetePON(config-mgmt)#rebootAre you sure to reboot system?(y/n)y,/启动OLT端口telnetePON(config-t)#interface epon-olt 1/1

6、telnetePON(config-t-if-olt-1/1)#no shutdown/ONU绑定telnetePON(config-t)#show interface epon-olt 1/1 mac-address-table/绑定32个ONU的MAC地址telnetePON(config-t-if-olt-1/1)#onu 1telnetePON(config-t-if-olt-1/1/1)#dba-sla mac A:B:C:D:E:FtelnetePON(config-t-if-olt-1/1/32)#dba-sla mac A:B:C:D:E:F,二层功能配置,配置OLT VLAN

7、 模式,系统VLAN模式分为:Mixed-tag 模式-ONU VLAN自行定义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)#no shutdown/配置业务VLAN,将需要通信的端口添加到同一个VLAN中telnetePON(config

8、-t-if-olt-1/1)#vlan-mode transparent/创建vlan 100telnetePON(config)#vlan 100将ge 3/1端口添加到vlan 100中,untag 进,untag出telnetePON(config-t-vlan-100)#member ge3/1 untaggedtelnetePON(config-t-vlan-100)#member ge1/1 untaggedtelnetePON(config-t-vlan-100)#pvid ge3/1telnetePON(config-t-vlan-100)#pvid ge1/1/保存配置tel

9、netePON(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-mode stack-vlantelnetePON(config-t-if-olt-1/1)#onu-vlan 1-4 200/创建vlan 200telnetePON(config)#vlan 200将ge 3/1端口添加到vlan 200中,untag

10、进,tag出telnetePON(config-t-vlan-200)#member ge3/1 taggedtelnetePON(config-t-vlan-200)#member ge1/1 tagged/保存配置telnetePON(config-mgmt)#save,三层功能配置,三层功能配置步骤,PON全局数据设定ONU绑定ONU注册配置上联口ge3/X的IP地址配置super-vlan 设置静态路由添加静态host-route,三层功能配置,/PON全局数据设定telnetePON(config)#config terminaltelnetePON(config-t)#pon-sy

11、s lport-strict-binding enabled telnetePON(config-t)#pon-sys vlan-id-base 101(重启生效)telnetePON(config-t)#interface epon-olt 1/1 telnetePON(config-t-if-olt-1/1)#no shutdown/ONU绑定telnetePON(config-t)#show interface epon-olt 1/1 mac-address-tabletelnetePON(config-t-if-olt-1/1)#onu 1telnetePON(config-t-if

12、-olt-1/1/1)#dba-sla mac A:B:C:D:E:F,三层功能配置,/ONU注册,需要重新启动OLT端口telnetePON(config-t-if-olt-1/1)#shutdowntelnetePON(config-t-if-olt-1/1)#no shutdown/配置上联口ge3/1地址为BBS1000(config-t)#interface giga-ethernet 3/1/将上联口gi 3/1配置成三层接口BBS1000(config-t-if-ge-3/1)#no switchport/设置三层接口的IP ADDRESS BBS1000(config-t-if

13、-ge-3/1)#ip/激活三层端口BBS1000(config-t-if-ge-3/1)#no shut down,三层功能配置,/配置super-vlan 4094地址为BBS1000(config-t)#vlan 4094BBS1000(config-t-vlan-4094)#member ge1/1 tagged/设置vlan 4094三层接口配置BBS1000(config-t)#interface vlan 4094/设定VLAN 4094为超级vlan idBBS1000(config-t-if-vlan-4094)#super-svi/将VLAN 101至132添加到此超级VL

14、AN中BBS1000(config-t-if-vlan-4094)#member-vlan 101-132/设置三层VLAN的IP ADDRESS BBS1000(config-t-if-vlan-4094)#ip address 10.0.0.1 255.0.0.0/激活此三层接口BBS1000(config-t-if-vlan-4094)#no shutdown BBS1000(config-t-if-vlan-4094)#exit,三层功能配置,/设置静态路由 BBS1000(config-t)#ip route 0.0.0.0/添加静态host-route,以便使静态ip用户能正常通讯

15、 BBS1000(config-t)#host-route 10.0.0.11 interface vlan 4094 sub-vlan 101 member ge1/1BBS1000(config-t)#host-route 10.0.0.132 interface vlan 4094 sub-vlan 132 member ge1/1,三层功能+DHCP配置,三层功能+DHCP配置步骤,PON全局数据设定ONU绑定ONU注册配置上联口ge3/X的IP地址配置super-vlan 设置静态路由配置dhcp,三层功能+DHCP配置,/PON全局数据设定telnetePON(config)#co

16、nfig terminaltelnetePON(config-t)#pon-sys lport-strict-binding enabled telnetePON(config-t)#pon-sys vlan-id-base 101(重启生效)telnetePON(config-t)#interface epon-olt 1/1 telnetePON(config-t-if-olt-1/1)#no shutdown/ONU绑定telnetePON(config-t)#show interface epon-olt 1/1 mac-address-tabletelnetePON(config-t

17、-if-olt-1/1)#onu 1telnetePON(config-t-if-olt-1/1/1)#dba-sla mac A:B:C:D:E:F,三层功能+DHCP配置,/ONU注册,需要重新启动OLT端口telnetePON(config-t-if-olt-1/1)#shutdowntelnetePON(config-t-if-olt-1/1)#no shutdown/配置上联口ge3/1地址为BS1000(config-t)#interface giga-ethernet 3/1BBS1000(config-t-if-ge-3/1)#no switchport BBS1000(con

18、fig-t-if-ge-3/1)#ipBBS1000(config-t-if-ge-3/1)#no shut down,三层功能+DHCP配置,/配置super-vlan 4094地址为BBS1000(config-t)#vlan 4094BBS1000(config-t-vlan-4094)#member ge1/1 tagged BBS1000(config-t)#interface vlan 4094 BBS1000(config-t-if-vlan-4094)#super-svi BBS1000(config-t-if-vlan-4094)#member-vlan 101-132 BB

19、S1000(config-t-if-vlan-4094)#ip address 10.0.0.1 255.0.0.0 BBS1000(config-t-if-vlan-4094)#no shutdown BBS1000(config-t-if-vlan-4094)#exit,三层功能+DHCP配置,/设置静态路由 BBS1000(config-t)#ip route 0.0.0.0/配置dhcp,启动dhcp server服务BBS1000(config-t)#service dhcp server/为dhcp地址池起一个名字 BBS1000(config-t)#ip dhcp pool na

20、me/为此地址池设定一个IP网段 BBS1000(config-t-dhcp)#network 10.0.0.0 255.0.0.0/设置缺省的路由BBS1000(config-t-dhcp)#default-router 10.0.0.1/设置DNS的IP地址BBS1000(config-t-dhcp)#dns-server 202.101.98.54/设置dhcp地址池包括的地址段BBS1000(config-t-dhcp)#included_address/设置dhcp动态获取地址BBS1000(config-t-dhcp)#host 255.255.255.254 vlan-id 10

21、1BBS1000(config-t-dhcp)#host 255.255.255.254 vlan-id 132,三层功能+组播配置,三层功能+组播配置步骤,PON全局数据设定ONU绑定ONU注册配置上联口ge3/X的IP地址配置super-vlan 设置静态路由配置组播,三层功能+组播配置,/PON全局数据设定telnetePON(config)#config terminaltelnetePON(config-t)#pon-sys lport-strict-binding enabled telnetePON(config-t)#pon-sys vlan-id-base 101(重启生效)

22、telnetePON(config-t)#interface epon-olt 1/1 telnetePON(config-t-if-olt-1/1)#no shutdown/ONU绑定telnetePON(config-t)#show interface epon-olt 1/1 mac-address-tabletelnetePON(config-t-if-olt-1/1)#onu 1telnetePON(config-t-if-olt-1/1/1)#dba-sla mac A:B:C:D:E:F,三层功能+组播配置,/ONU注册,需要重新启动OLT端口telnetePON(config-

23、t-if-olt-1/1)#shutdowntelnetePON(config-t-if-olt-1/1)#no shutdown/配置上联口ge3/1地址为BBS1000(config-t)#interface giga-ethernet 3/1BBS1000(config-t-if-ge-3/1)#no switchport BBS1000(config-t-if-ge-3/1)#ipBBS1000(config-t-if-ge-3/1)#no shut down,三层功能+组播配置,/配置super-vlan 4094地址为BBS1000(config-t)#vlan 4094BBS10

24、00(config-t-vlan-4094)#member ge1/1 tagged BBS1000(config-t)#interface vlan 4094 BBS1000(config-t-if-vlan-4094)#super-svi BBS1000(config-t-if-vlan-4094)#member-vlan 101-132 BBS1000(config-t-if-vlan-4094)#ip address 10.0.0.1 255.0.0.0 BBS1000(config-t-if-vlan-4094)#no shutdown BBS1000(config-t-if-vla

25、n-4094)#exit,三层功能+组播配置,/设置静态路由 BBS1000(config-t)#ip route 0.0.0.0/添加静态host-route,以便使静态ip用户能正常通讯 BBS1000(config-t)#host-route 10.0.0.11 interface vlan 4094 sub-vlan 101 member ge1/1BBS1000(config-t)#host-route 10.0.0.132 interface vlan 4094 sub-vlan 132 member ge1/1,三层功能+组播配置,/配置组播/启用组播路由BBS1000(conf

26、ig-t)#ip multicast-routing/启用igmp-proxy协议BBS1000(config-t)#ip igmp-proxy/设置超级VLAN 4094启用组播功能BBS1000(config-t)#ip multicast vlan 4094/在上联口上启用igmp-proxy协议BBS1000(config-t)#interface giga-ethernet 3/1BBS1000(config-t-if-ge-3/1)#ip igmp-proxy BBS1000(config-t-if-ge-3/1)#ip igmp version 2/在超级VLAN 4094上启用

27、igmp第2版本协议BBS1000(config-t)#interface vlan 4094 BBS1000(config-t-if-vlan-4094)#ip igmp version 2,链路聚合配置,/设置链路聚合组ID=9telnetePON(config-t)#interface link-aggregation 9telnetePON(config-t-if-lg-9)#load-balance?dst-ip-destination ip address dst-mac-destination mac address src-dst-ip-source and destinati

28、on ip address src-dst-mac-source and destination mac address src-ip-source ip address src-mac-source mac address/设置负载均衡算法telnetePON(config-t-if-lg-9)#load-balance dst-ip/将上联口gi 3/1和gi 3/2加入到些链路聚合组中telnetePON(config-t-if-lg-9)#member ge3/1-2,端口镜像配置,/设置镜像源端口,以及被镜像的内容(收方向,还是发方向,也可以二者均有)telnetePON(confi

29、g-t)#monitor session 1 source interface gigabitEthernet 1/1-4 rxtelnetePON(config-t)#monitor session 1 source interface gigabitEthernet 1/1-2 tx/设置镜像观测端口telnetePON(config-t)#monitor session 1 destination interface gigabitEthernet 3/1/激活此镜像功能telnetePON(config-t)#monitor session 1 activate,端口镜像配置,/显示端

30、口镜像配置telnetePON(config-t)#show monitor sessionSession 1-Source receive interfaces:ge1/1-4 Source transmit interfaces:ge1/1-2 Destination interfaces:ge3/1buffered Session 1-Source receive interfaces:Source transmit interfaces:Destination interfaces:,ACL配置,ACL文件:/下面是一个完整的ACL配置文件,需制成文本文本,导入到flash:/下.pr

31、ofile start test_acl_profile:field 1 QaField1:EtherII untag ip protocol srcPort 0 xffff rule 1 test_rule:protocol tcp srcPort 23 action denyprofile end#end of profile,ACL配置,/ACL配置文件中字段的定义field:EtherII|802.3 tag|untag vlan priority ip dscp protocol sip dip srcPort dstPort/ACL配置文件中规则的定义rule:vlan ip pr

32、iority dscp protocol sip dip srcPort dstPort action new_dscp new_priority,ACL配置,ACL配置,/如何使用ACLPC上运行ftp server,并创建用户名和密码为epon和epon 把acl.txt文件,通过ftp功能上传到flash:/根目录下:BBS1000(config-mgmt)#ftp 192.168.5.100 get epon epon flash:/acl.txt acl.txt把acl文件导入到profile中,profile只支持32个 BBS1000(config-t)#import flash

33、:/acl.txt to profile 1在端口gi3/1应用此acl规则BBS1000(config-t-if-ge-3/1)#apply-acl-profile 1,软件升级,/软件升级步骤PC上运行ftp server,并创建用户名和密码为epon和epon备份主机软件和配置文件 BBS1000(config-mgmt)#ftp 10.0.0.2 put epon 111 nvm:/cfgdata/epon.db epon.dbBBS1000(config-mgmt)#ftp 10.0.0.2 put epon 111 flash:/bbs1000.stz ls.stz 如果原有主机软

34、件达到3套,删除其中一套BBS1000(config-mgmt)#filesystem remove flash:/bbs1000.stz 上传新的主机软件BBS1000(config-mgmt)#ftp 10.0.0.2 get epon 1 flash:/2.19.10.stz bbs1000b.stz指定该主机软件为默认启动软件,并重启系统 BBS1000(config-mgmt)#boot system flash 2.19.10.stz,ONU软件升级,/ONU软件升级步骤.可以远程升级如果在flash:/下没有onuImage目录,需要新建一个BBS1000#debug BBS10

35、00(debug)#b BCM.0 sh-mkdir flash:/onuImage 运行ftp server,设置用户名和密码为epon及onu软件所在目录指定ONU的HW类型 BBS1000(config-t)#interface epon-onu-upgrade BBS1000(config-t-if-onu-ugp)#hw-type type 2 hw-rev 0 manual fw-rev 2.1.11 onu.bin/现有的onu版本为2.1.11 指定升级方式为手动telnetePON(config-t-if-onu-ugp)#upgrade manual 对指定ONU 1 进行

36、升级BBS1000(config-t-if-onu-ugp)#fw-upgrade 1/1/1 manual force,Radius认证,认证配置内容:radius server配置设定ONU的用户名与密码BBS1000配置,Radius认证,/配置RADIUS server的步骤通过BBS1000的带外网口连接radius server设置radius server,包括ONU的用户名,密码,关键字 通过超级终端配置ONU的用户名与密码(重启生效)首先让ONU正确注册BBS1000#debug BBS1000(debug)#bcm-cliBCM.0 sh-uts_set_username_

37、by_ascii 1,1,”onu1”-uts_set_password_by_ascii 1,1,”admin”,Radius认证,配置BBS1000BBS1000(config-t)#pon-sys local-authentication disabledBBS1000(config-t)#radius-server primary onu authentication ip是radius server的IPBBS1000(config-t)#radius-server primary onu authentication port 1812/radius的端口固定为1812BBS1000(config-t)#radius-server primary onu authentication shared-key epon/关键字为epon,此关键字要与radius server上面的关键字一致 重启BBS1000,radius的配置需要重新启动才能生效,

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号