华为olt配置hgu技术指导书

合集下载

华为OLT配置HGU 技术指导书

华为OLT配置HGU 技术指导书

华为OLT配置HGU 技术指导书文档摘要:HGU在华为OLT上的配置,注册以及简单的单播和组播的业务一、登陆OLT使用telnet登陆:telnet 182.125.101.108User: huaweiPassword:huawei123进入配置模式HuaWeiGpon>enableHuaWeiGpon#config二、配置模板(1)建立srvprofile模板Srvprofile模板:相当于中兴OLT的ONU type,可以设置ONU有几个uni口,几个语音pots口等,在建立模板之前我们可以先查看其他人在OLT上建立好的模板,如果没有你想要的模板再自己创建。

查看已有srvprofile模板:HuaWeiGpon(config)#display ont-srvprofile gpon allHuaWeiGpon(config)#display ont-srvprofile gpon profile-id 1 查看具体模板创建srvprofile模板:HuaWeiGpon(config)#ont-srvprofile gpon profile-id 19HuaWeiGpon(config-gpon-srvprofile-19)#ont-port eth 4 pos 2//设置ont有几个uni口HuaWeiGpon(config-gpon-srvprofile-19)#port vlan eth 1 2100//划分ont的端口VLANHuaWeiGpon(config-gpon-srvprofile-19)#commit(2)建立DBA模板HuaWeiGpon(config)#dba-profile add profile-id 40 ? type1 fix 102400(绑定固定带宽100M)---------------------------------------------Command of config Mode:---------------------------------------------profile-name DBA profile nametype1 Fixed bandwidthtype2 Assured bandwidthtype3 Assured bandwidth, Maximum bandwidthtype4 Maximum bandwidthtype5 Fixed bandwidth, Assured bandwidth, Maximum bandwidth可以看到DBA模板有5中type:type1:只绑定固定带宽type2:只绑定保证带宽type3:绑定保证带宽和最大带宽type4:只绑定最大带宽type5:绑定固定带宽、保证带宽、最大带宽(3)建立lineprofile模板Lineprofile模板:创建tcont,gemport,并且绑定DBA模板(带宽)查看lineprofile模板:HuaWeiGpon(config)#display ont-lineprofile gpon allHuaWeiGpon(config)#display ont-lineprofile gpon profile-id 2//查看具体模板信息修改已有的lineprofile模板,把需要的vlan加入模板中:HuaWeiGpon(config)#ont-lineprofile gpon profile-id 25HuaWeiGpon(config-gpon-lineprofile-25)#gem mapping 1 6 vlan 1007//1指的是gem index,0指的是mapping index,一个模板中只能有一个gem index HuaWeiGpon(config-gpon-lineprofile-25)#commit创建lineprofile模板:HuaWeiGpon(config)#ont-lineprofile-gpon profile-id 20HuaWeiGpon(config-gpon-lineprofile-25)#tcont 1 dba-profile-id 20//添加tcont绑定dbaHuaWeiGpon(config-gpon-lineprofile-25)#gem add 1 eth tcont 1//将tcont与gem port 1绑定HuaWeiGpon(config-gpon-lineprofile-25)#gem mapping 1 0 vlan 1003//gem mapping 添加vlan 1 0指的是1号tcont,vlan序号HuaWeiGpon(config-gpon-lineprofile-25)#gem mapping 1 1 vlan 1004//gem mapping 添加vlanHuaWeiGpon(config-gpon-lineprofile-25)#gem mapping 1 2 vlan 2008//gem mapping 添加vlanHuaWeiGpon(config-gpon-lineprofile-25)#commit 注意要存储一个gemport对应一个FE口,hgu只有一个虚端口,所以所有mapping只能都加到一个gemport中(4)注册ONT查看未注册ont:HuaWeiGpon(config)#display ont autofind all注册ont:HuaWeiGpon(config)##interface gpon 0/1//进入1号pon板HuaWeiGpon(config-if-gpon-0/1)#ont confirm 1 (ontid 14) sn-auth 4857544365778904 omci ont-lineprofile-id 20 ont-srvprofile-id 20//1为pon口修改ont绑定的模板:HuaWeiGpon(config-if-gpon-0/1)#ont modify 1 7 ont-lineprofile-id 5 ?//2号pon口7号ONU 修改为ont-lineprofile-id 5删除ont:如果一个ont创建了service-port,要删除这个ont,必须先删除掉这个ont上所有的service-portHuaWeiGpon(config-if-gpon-0/1)#ont delete 1 8//删除2号pon口8号ont(5)vlan加入上联口和虚口HuaWeiGpon(config)#vlan 1003 smart//建立vlan 1003HuaWeiGpon(config)#port vlan 1003 0/7 0//将vlan加入上联口1创建service-port(单播):HuaWeiGpon(config)#service-port vlan 2510 gpon 0/1/1 ont 2 gemport 1 multi-service user-vlan 2510//vlan 加入ont pon 与gemport绑定,其中gpon 0/1/0 指的分别是机框,1号槽位,1号pon 口删除service-port:如果一个ont创建了service-port,要删除这个ont,必须先删除掉这个ont上所有的service-portHuaWeiGpon(config)#undo service-port port 0/1/0 ont 9 gemport 1 user-vlan 1003//删除1号槽位1号pon口9号ONU gemport1中的1003 vlanHuaWeiGpon(config)#undo service-port all//删除所有的olt上所有的service-port(6)组播配置创建业务vlanHuaWeiGpon (config)#vlan 2008 smart上联口加入业务vlanHuaWeiGpon (config)#port vlan 2008 0/7 2//上联口7号板卡2号上联口加入组播vlan创建组播vlanHuaWeiGpon (config)#multicast-vlan 2008//创建组播vlanHuaWeiGpon (config)#multicast-vlan 2008HuaWeiGpon (config-mvlan 2008)#igmp mode proxy//配置olt igmp modeHuaWeiGpon (config-mvlan 2008)#igmp version v2//配置olt igmp versionHuaWeiGpon (config-mvlan 2008)#igmp program add ip 229.1.1.1//建立组播源HuaWeiGpon (config-mvlan 2008)#igmp program add batch 229.1.1.1 to-ip 229.1.1.10//建立一个范围的组播源绑定组播vlan与上联口HuaWeiGpon (config-mvlan 2008)#igmp default uplink-port 0/7/2创建service-portHuaWeiGpon(config)#service-port vlan 2008 gpon 0/1/1 ont 2 gemport 1 multi-serviceuser-vlan 2008//Pon 口、ONT加入vlan(与单播相同)Service-port 加入igmpHuaWeiGpon(config)#display service-port all//查看service-port的indexHuaWeiGpon (config-btv)#igmp user add service-port 100//将单播vlan的index加入到组播中配置组播vlan memberHuaWeiGpon (config)#multicast-vlan 2008HuaWeiGpon (config-mvlan 2008)#igmp multicast-vlan member service-port 100配置ont端口组播vlanHuaWeiGpon (config-gpon-srvprofile-20)#port multicast-vlan eth 1 2008设置ont的组播模式HuaWeiGpon (config-if-gpon-0/1)#ont multicast-mode 3 1 igmp-snooping(7)QOS增加一个ont的流分类规则,precedenceHuaWeiGpon (config)#classification 88HuaWeiGpon (config-classification-profile-88)#rule add precedence 1 queue-mapped 3 ethernet prioritymark 7 condition-num 1绑定QOS规则到ont-srvprofileHuaWeiGpon (config-gpon-srvprofile-20)#port classification eth 1 profile-id 88将traffic table绑定到虚端口上HuaWeiGpon (config)#service-port vlan 1500 gpon 0/2/3 ont 1 multi-service user-vlan 1500 inbound traffic-table index 13 outbound traffic-table index 13。

华为OLT配置

华为OLT配置

MA5683T(config)#MA5683T(config)#MA5683T(config)#DISPLAY CURRent-configuration{ <cr>|ont<K>|port<K>|section<K>|service-port<K>|simple<K>||<K> }:命令:DISPLAY CURRent-configuration[MA5600V800R011: 5800]#[sysmode]<sysmode>switch adsl mode to rfc2662 vdsl mode to tr129xpon mode switch-to profile-modeprotocol support h248system ex-mode backup#[global-config]<global-config>alarm output alarmid 0x64110001alarm output alarmid 0x64120001dba-profile add profile-id 100 profile-name "ceshi" type3 assure 409600 max 1024000ont-srvprofile gpon profile-id 100 profile-name "ceshi"ont-port eth 4commitont-lineprofile gpon profile-id 0 profile-name "line-profile_default_0"tcont 0 dba-profile-id 2tcont 1 dba-profile-id 0commitquitont-lineprofile gpon profile-id 100 profile-name "ceshi"tcont 1 dba-profile-id 100gem add 1 eth tcont 1gem mapping 1 0 vlan 100commitquit#[device-config]<device-config>board add 0/5 H802GPBDboard add 0/9 H801GICKboard add 0/12 H801CITD sub0 BITSBboard add standby sub0 CKMCrack info 0 description "RACK-300" name "RACK-300" manufactured-name "Huawei" #[public-config]<public-config>snmp-agent local-engineid 800007DB0304F9389148000A#[vlan-config]<vlan-config>vlan 100 smartport vlan 100 0/9 0#[vlan-srvprof]<vlan-srvprof>vlan service-profile profile-id 100 profile-name "ceshi"user-bridging enablecommitvlan bind service-profile 100 profile-id 100#[gpon]<gpon-0/5>interface gpon 0/5port 0 ont-auto-find enableport 1 ont-auto-find enableport 2 ont-auto-find enableport 3 ont-auto-find enableport 4 ont-auto-find enableport 5 ont-auto-find enableport 6 ont-auto-find enableport 7 ont-auto-find enableont add 0 1 sn-auth "485754433F52DD9A" omci ont-lineprofile-id 100ont-srvprofile-id 100 desc "ceshi-1"ont add 0 2 sn-auth "485754433F52DE9A" omci ont-lineprofile-id 100ont-srvprofile-id 100 desc "ceshi-1"ont port native-vlan 0 1 eth 1 vlan 100 priority 0ont port native-vlan 0 1 eth 2 vlan 100 priority 0ont port native-vlan 0 1 eth 3 vlan 100 priority 0ont port native-vlan 0 1 eth 4 vlan 100 priority 0ont port native-vlan 0 2 eth 1 vlan 100 priority 0ont port native-vlan 0 2 eth 2 vlan 100 priority 0ont port native-vlan 0 2 eth 3 vlan 100 priority 0ont port native-vlan 0 2 eth 4 vlan 100 priority 0#[giu]<giu-0/12>interface giu 0/12mdi 2 normal#[emu-config]<emu-config>emu add 0 fan 0 1 "H801FCBI"emu add 1 h801citd 0 10 "H801CITD"#[bbs-config]<bbs-config>service-port 1 vlan 100 gpon 0/5/0 ont 1 gemport 1 multi-service user-vlan 100 tag-transform translate inbound traffic-table index 6 outbound traffic-tableindex 6service-port 2 vlan 100 gpon 0/5/0 ont 2 gemport 1 multi-service user-vlan 100 tag-transform translate inbound traffic-table index 6 outbound traffic-tableindex 6#[abs-config]<abs-config>config#[config]<config>mpls label start 8192#[prevlanif]<prevlanif>interface vlanif100#[vlanif]<vlanif100>interface vlanif100ip address 192.168.1.254 255.255.255.0#[meth]<meth0>interface meth0ip address 10.11.104.2 255.255.255.0#[null]<null0>interface null0#[aaa]<aaa>aaaauthentication-scheme "default"#authorization-scheme "default"#accounting-scheme "default"#domain "default"#returnMA5683T(config)#MA5683T(config)#MA5683T(config)#disdev^% 未知的命令,错误位于'^'所指的位置MA5683T(config)#display dev^% 未知的命令,错误位于'^'所指的位置MA5683T(config)#display version{ <cr>|backplane<K>|frameid/slotid<S><Length 1-15> }:命令:display version版本: MA5600V800R011C00补丁: SPC100 SPH102 HP1007 HP1102产品类型: MA5683T主用主控板运行区域信息:-------------------------------------------------- 当前程序运行区: A当前数据运行区: AA区程序的版本: MA5600V800R011C00B区程序的版本: MA5600V800R011C00A区数据的版本: MA5600V800R011C00B区数据的版本: MA5600V800R011C00--------------------------------------------------备用主控板运行区域信息:-------------------------------------------------- 当前程序运行区: A当前数据运行区: AA区程序的版本: MA5600V800R011C00B区程序的版本: MA5600V800R011C00A区数据的版本: MA5600V800R011C00B区数据的版本: MA5600V800R011C00-------------------------------------------------- 已经运行: 0 天, 0 小时, 37 分钟, 38 秒MA5683T(config)#MA5683T(config)#MA5683T(config)#display interface br^% 参数错误,错误位于'^'所指的位置MA5683T(config)#display ip interface{ <cr>|brief<K>|meth<K>|null<K>|vlanif<K> }:命令:display ip interfacemeth0当前状态:DOWN链路层协议当前状态:DOWNMTU是1500字节输入0包, 共0字节, 有0多播包输出0包, 共0字节, 有0多播包本接口地址是10.11.104.2/24广播地址是: 10.11.104.255收到的TTL等于1的报文个数: 0收到的TTL非法的报文个数: 0收到的ICMP报文总数: 0ECHO应答: 0不可达: 0源地址抑止: 0路由重定向: 0ECHO请求: 0 路由广播: 0路由请求: 0时间超期: 0IP头错: 0时间戳请求: 0时间戳响应: 0信息请求: 0信息响应: 0掩码请求: 0掩码响应: 0未知类型: 0null0当前状态:UP链路层协议当前状态:UP (Spoofing)MTU是1500字节输入0包, 共0字节, 有0多播包输出0包, 共0字节, 有0多播包没有配置Internet协议处理广播地址是: 0.0.0.0收到的TTL等于1的报文个数: 0 收到的TTL非法的报文个数: 0 收到的ICMP报文总数: 0 ECHO应答: 0 不可达: 0源地址抑止: 0路由重定向: 0 ECHO请求: 0 路由广播: 0路由请求: 0时间超期: 0IP头错: 0时间戳请求: 0时间戳响应: 0信息请求: 0信息响应: 0掩码请求: 0 MA5683T(config)#interface vlanif 100MA5683T(config-if-vlanif100)#display this^ % 未知的命令,错误位于'^'所指的位置MA5683T(config-if-vlanif100)#MA5683T(config-if-vlanif100)#display curr^% 未知的命令,错误位于'^'所指的位置MA5683T(config-if-vlanif100)# display curr^% 未知的命令,错误位于'^'所指的位置MA5683T(config-if-vlanif100)#?---------------------------------------------vlanif100 模式命令:---------------------------------------------arp 地址解析协议description 设置接口描述信息dhcp DHCP命令组dhcp-client DHCP client 命令dhcp-server 配置此三层接口的DHCP server组dhcpv6-server 配置此三层接口的DHCPv6 server组display 显示相关信息firewall 设定防火墙igmp 设置IGMP参数ip <组>ip命令组ipv6 <组>ipv6命令组isis 配置ISIS协议接口参数mpls <组>mpls命令组mtu <组>MTU命令组ntp-service 指定NTP(网络时间协议)配置信息ospf <组>ospf命令组pim 设置PIM 协议接口参数priority-mark 为本接口发出的报文标记优先级quit 退出当前命令模式进入前一级命令模式,也可以退出配置环境return 退出当前命令模式进入Privilege模式MA5683T(config-if-vlanif100)#MA5683T(config-if-vlanif100)#MA5683T(config-if-vlanif100)#quitMA5683T(config)#display current-configuration{ <cr>|ont<K>|port<K>|section<K>|service-port<K>|simple<K>||<K> }:命令:display current-configuration[MA5600V800R011: 5800]#[sysmode]<sysmode>switch adsl mode to rfc2662 vdsl mode to tr129xpon mode switch-to profile-modeprotocol support h248system ex-mode backup#[global-config]<global-config>alarm output alarmid 0x64110001alarm output alarmid 0x64120001dba-profile add profile-id 100 profile-name "ceshi" type3 assure 409600 max 1024000ont-srvprofile gpon profile-id 100 profile-name "ceshi"ont-port eth 4commitont-lineprofile gpon profile-id 0 profile-name "line-profile_default_0"tcont 0 dba-profile-id 2tcont 1 dba-profile-id 0commitquitont-lineprofile gpon profile-id 100 profile-name "ceshi"tcont 1 dba-profile-id 100gem add 1 eth tcont 1gem mapping 1 0 vlan 100commitquit#[device-config]<device-config>board add 0/5 H802GPBDboard add 0/9 H801GICKboard add 0/12 H801CITD sub0 BITSBboard add standby sub0 CKMCrack info 0 description "RACK-300" name "RACK-300" manufactured-name "Huawei" #[public-config]<public-config>snmp-agent local-engineid 800007DB0304F9389148000A#[vlan-config]<vlan-config>vlan 100 smartport vlan 100 0/9 0#[vlan-srvprof]<vlan-srvprof>vlan service-profile profile-id 100 profile-name "ceshi"user-bridging enablecommitvlan bind service-profile 100 profile-id 100#[gpon]<gpon-0/5>interface gpon 0/5port 0 ont-auto-find enableport 1 ont-auto-find enableport 2 ont-auto-find enableport 3 ont-auto-find enableport 4 ont-auto-find enableport 5 ont-auto-find enableport 6 ont-auto-find enableport 7 ont-auto-find enableont add 0 1 sn-auth "485754433F52DD9A" omci ont-lineprofile-id 100 ont-srvprofile-id 100 desc "ceshi-1"ont add 0 2 sn-auth "485754433F52DE9A" omci ont-lineprofile-id 100 ont-srvprofile-id 100 desc "ceshi-1"ont port native-vlan 0 1 eth 1 vlan 100 priority 0ont port native-vlan 0 1 eth 2 vlan 100 priority 0ont port native-vlan 0 1 eth 3 vlan 100 priority 0ont port native-vlan 0 1 eth 4 vlan 100 priority 0ont port native-vlan 0 2 eth 1 vlan 100 priority 0ont port native-vlan 0 2 eth 2 vlan 100 priority 0ont port native-vlan 0 2 eth 3 vlan 100 priority 0ont port native-vlan 0 2 eth 4 vlan 100 priority 0#[giu]<giu-0/12>interface giu 0/12mdi 2 normal#[emu-config]<emu-config>emu add 0 fan 0 1 "H801FCBI"emu add 1 h801citd 0 10 "H801CITD"#[bbs-config]<bbs-config>service-port 1 vlan 100 gpon 0/5/0 ont 1 gemport 1 multi-service user-vlan 100 tag-transform translate inbound traffic-table index 6 outbound traffic-tableindex 6service-port 2 vlan 100 gpon 0/5/0 ont 2 gemport 1 multi-service user-vlan 100 tag-transform translate inbound traffic-table index 6 outbound traffic-tableindex 6#[abs-config]<abs-config>config#[config]<config>mpls label start 8192#[prevlanif]<prevlanif>interface vlanif100#[vlanif]<vlanif100>interface vlanif100ip address 192.168.1.254 255.255.255.0#[meth]<meth0>interface meth0ip address 10.11.104.2 255.255.255.0#[null]<null0>interface null0#MA5683T(config)#interface vlanif 100MA5683T(config-if-vlanif100)#ip address 192.168.88.254 24{ <cr>|description<K>|sub<K> }:命令:ip address 192.168.88.254 24MA5683T(config-if-vlanif100)#MA5683T(config-if-vlanif100)#MA5683T(config-if-vlanif100)#quitMA5683T(config)#display current-configuration{ <cr>|ont<K>|port<K>|section<K>|service-port<K>|simple<K>||<K> }:命令:display current-configuration[MA5600V800R011: 5800]#[sysmode]<sysmode>switch adsl mode to rfc2662 vdsl mode to tr129xpon mode switch-to profile-modeprotocol support h248system ex-mode backup#[global-config]<global-config>alarm output alarmid 0x64110001alarm output alarmid 0x64120001dba-profile add profile-id 100 profile-name "ceshi" type3 assure 409600 max 1024000ont-srvprofile gpon profile-id 100 profile-name "ceshi"ont-port eth 4commitont-lineprofile gpon profile-id 0 profile-name "line-profile_default_0"tcont 0 dba-profile-id 2tcont 1 dba-profile-id 0commitquitont-lineprofile gpon profile-id 100 profile-name "ceshi"tcont 1 dba-profile-id 100gem add 1 eth tcont 1gem mapping 1 0 vlan 100commitquit#[device-config]<device-config>board add 0/5 H802GPBDboard add 0/9 H801GICKboard add 0/12 H801CITD sub0 BITSBboard add standby sub0 CKMCrack info 0 description "RACK-300" name "RACK-300" manufactured-name "Huawei" #[public-config]<public-config>snmp-agent local-engineid 800007DB0304F9389148000A#[vlan-config]<vlan-config>vlan 100 smartport vlan 100 0/9 0#[vlan-srvprof]<vlan-srvprof>vlan service-profile profile-id 100 profile-name "ceshi"user-bridging enablecommitvlan bind service-profile 100 profile-id 100#[gpon]<gpon-0/5>interface gpon 0/5port 0 ont-auto-find enableport 1 ont-auto-find enableport 2 ont-auto-find enableport 3 ont-auto-find enableport 4 ont-auto-find enableport 5 ont-auto-find enableport 6 ont-auto-find enableport 7 ont-auto-find enableont add 0 1 sn-auth "485754433F52DD9A" omci ont-lineprofile-id 100ont-srvprofile-id 100 desc "ceshi-1"ont add 0 2 sn-auth "485754433F52DE9A" omci ont-lineprofile-id 100ont-srvprofile-id 100 desc "ceshi-1"ont port native-vlan 0 1 eth 1 vlan 100 priority 0ont port native-vlan 0 1 eth 2 vlan 100 priority 0ont port native-vlan 0 1 eth 3 vlan 100 priority 0ont port native-vlan 0 1 eth 4 vlan 100 priority 0ont port native-vlan 0 2 eth 1 vlan 100 priority 0ont port native-vlan 0 2 eth 2 vlan 100 priority 0ont port native-vlan 0 2 eth 3 vlan 100 priority 0ont port native-vlan 0 2 eth 4 vlan 100 priority 0#[giu]<giu-0/12>interface giu 0/12mdi 2 normal#[emu-config]<emu-config>emu add 0 fan 0 1 "H801FCBI"emu add 1 h801citd 0 10 "H801CITD"#[bbs-config]<bbs-config>service-port 1 vlan 100 gpon 0/5/0 ont 1 gemport 1 multi-service user-vlan 100 tag-transform translate inbound traffic-table index 6 outbound traffic-tableindex 6service-port 2 vlan 100 gpon 0/5/0 ont 2 gemport 1 multi-service user-vlan 100 tag-transform translate inbound traffic-table index 6 outbound traffic-tableindex 6#[abs-config]<abs-config>config#[config]<config>mpls label start 8192#[prevlanif]<prevlanif>interface vlanif100#[vlanif]<vlanif100>interface vlanif100ip address 192.168.88.254 255.255.255.0#[meth]<meth0>interface meth0ip address 10.11.104.2 255.255.255.0#[null]<null0>MA5683T(config)#MA5683T(config)#save{ <cr>|configuration<K>|data<K> }:命令:saveMA5683T(config)#保存配置文件操作需要一段时间,请稍候...MA5683T(config)#MA5683T(config)#MA5683T(config)#Warning: There is a risk on the user-interface which you login through. Please change the configuration of the user-interface as soon as possible.<switch-ceshi><switch-ceshi><switch-ceshi>sysEnter system view, return user view with Ctrl+Z.[switch-ceshi]inter vla n100^Error: Wrong parameter found at '^' position.[switch-ceshi]inter vlan 100[switch-ceshi-Vlanif100]ip add 192^Error: Wrong parameter found at '^' position.[switch-ceshi-Vlanif100]168^Error: Unrecognized command found at '^' position.[switch-ceshi-Vlanif100]88^Error: Unrecognized command found at '^' position.[switch-ceshi-Vlanif100]ip add 192.168.88.1 24[switch-ceshi-Vlanif100]Apr 2 2000 00:25:37 switch-ceshi %%01RM/4/ROUTERID_CHANGE(l)[0]:The router ID is 0.0.0.0. (InstanceID=0)Apr 2 2000 00:25:37 switch-ceshi %%01RM/4/ROUTERID_CHANGE(l)[1]:The router ID is 192.168.88.1. (InstanceID=0)[switch-ceshi-Vlanif100]dis this#interface Vlanif100ip address 192.168.88.1 255.255.255.0#return[switch-ceshi-Vlanif100][switch-ceshi-Vlanif100][switch-ceshi-Vlanif100][switch-ceshi-Vlanif100]q[switch-ceshi]q<switch-ceshi>savThe current configuration (excluding the configurations of unregistered boards or cards) will be written to flash:/vrpcfg.zip.Are you sure to continue?[Y/N]Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:yNow saving the current configuration to the slot 0..Apr 2 2000 00:25:40 switch-ceshi %%01CFM/4/SAVE(s)[2]:The user chose Y when deciding whether to save the configuration to the device..Save the configuration successfully.<switch-ceshi><switch-ceshi>Apr 2 2000 00:25:46 switch-ceshi DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 1, the change loop count is 0, and the maximum number of records is 4095.<switch-ceshi><switch-ceshi><switch-ceshi>sysEnter system view, return user view with Ctrl+Z.[switch-ceshi]inter vlan 100[switch-ceshi-Vlanif100]ip add 192.168.88.100 24[switch-ceshi-Vlanif100]Apr 2 2000 00:26:20 switch-ceshi %%01RM/4/ROUTERID_CHANGE(l)[3]:The router ID is 0.0.0.0. (InstanceID=0)Apr 2 2000 00:26:20 switch-ceshi %%01RM/4/ROUTERID_CHANGE(l)[4]:The router ID is 192.168.88.100. (InstanceID=0)[switch-ceshi-Vlanif100][switch-ceshi-Vlanif100][switch-ceshi-Vlanif100]dis this#interface Vlanif100ip address 192.168.88.100 255.255.255.0#return[switch-ceshi-Vlanif100][switch-ceshi-Vlanif100][switch-ceshi-Vlanif100][switch-ceshi-Vlanif100]q[switch-ceshi]q<switch-ceshi>savThe current configuration (excluding the configurations of unregistered boards or cards) will be written to flash:/vrpcfg.zip.Are you sure to continue?[Y/N]yNow saving the current configuration to the slot 0..Apr 2 2000 00:26:24 switch-ceshi %%01CFM/4/SAVE(s)[5]:The user chose Y when deciding whether to save the configuration to the device...Save the configuration successfully.<switch-ceshi><switch-ceshi>Apr 2 2000 00:26:26 switch-ceshi DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 2, the change loop count is 0, and the maximum number of records is 4095.<switch-ceshi><switch-ceshi><switch-ceshi>ping 192.168.88.1PING 192.168.88.1: 56 data bytes, press CTRL_C to breakRequest time outRequest time outRequest time outRequest time outRequest time out--- 192.168.88.1 ping statistics ---5 packet(s) transmitted0 packet(s) received100.00% packet loss<switch-ceshi>ping 192.168.88.254PING 192.168.88.254: 56 data bytes, press CTRL_C to breakReply from 192.168.88.254: bytes=56 Sequence=1 ttl=255 time=4 msReply from 192.168.88.254: bytes=56 Sequence=2 ttl=255 time=1 msReply from 192.168.88.254: bytes=56 Sequence=3 ttl=255 time=1 msReply from 192.168.88.254: bytes=56 Sequence=4 ttl=255 time=1 msReply from 192.168.88.254: bytes=56 Sequence=5 ttl=255 time=1 ms--- 192.168.88.254 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 1/1/4 ms<switch-ceshi>ping 192.168.88.11PING 192.168.88.11: 56 data bytes, press CTRL_C to breakReply from 192.168.88.11: bytes=56 Sequence=1 ttl=64 time=4 msReply from 192.168.88.11: bytes=56 Sequence=2 ttl=64 time=1 msReply from 192.168.88.11: bytes=56 Sequence=3 ttl=64 time=1 msReply from 192.168.88.11: bytes=56 Sequence=4 ttl=64 time=1 msReply from 192.168.88.11: bytes=56 Sequence=5 ttl=64 time=1 ms--- 192.168.88.11 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 1/1/4 ms<switch-ceshi>Apr 2 2000 00:30:55 switch-ceshi %%01IFPDT/4/IF_STATE(l)[6]:Interface GigabitEthernet0/0/4 has turned into UP state.<switch-ceshi><switch-ceshi>dis mac-ade^Error: Unrecognized command found at '^' position.<switch-ceshi>dis mac-add------------------------------------------------------------------------------- MAC Address VLAN/VSI Learned-From Type------------------------------------------------------------------------------- 000c-296e-ed9a 100/- GE0/0/4 dynamic04f9-3891-4805 100/- GE0/0/28 dynamic 0800-0699-4ae5 100/- GE0/0/28 dynamic 28d2-44c8-1c31 100/- GE0/0/28 dynamica01d-48b7-59c8 100/- GE0/0/4 dynamice0dc-a08b-d21d 100/- GE0/0/28 dynamic------------------------------------------------------------------------------- Total items displayed = 6<switch-ceshi>dis arpIP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCEVLAN------------------------------------------------------------------------------ 192.168.88.100 c4ff-1f4c-1c30 I - Vlanif100192.168.88.254 04f9-3891-4805 16 D-0 GE0/0/28100192.168.88.11 28d2-44c8-1c31 17 D-0 GE0/0/28100------------------------------------------------------------------------------ Total:3 Dynamic:2 Static:0 Interface:1<switch-ceshi>ping 192.168.88.345Error: Unknown host 192.168.88.345.<switch-ceshi>ping 192.168.88.35PING 192.168.88.35: 56 data bytes, press CTRL_C to breakReply from 192.168.88.35: bytes=56 Sequence=1 ttl=64 time=1 msReply from 192.168.88.35: bytes=56 Sequence=2 ttl=64 time=1 msReply from 192.168.88.35: bytes=56 Sequence=3 ttl=64 time=1 msReply from 192.168.88.35: bytes=56 Sequence=4 ttl=64 time=1 msReply from 192.168.88.35: bytes=56 Sequence=5 ttl=64 time=1 ms--- 192.168.88.35 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 1/1/1 ms<switch-ceshi>ping 192.168.88.1PING 192.168.88.1: 56 data bytes, press CTRL_C to breakReply from 192.168.88.1: bytes=56 Sequence=1 ttl=30 time=3 msReply from 192.168.88.1: bytes=56 Sequence=2 ttl=30 time=1 msReply from 192.168.88.1: bytes=56 Sequence=3 ttl=30 time=1 msReply from 192.168.88.1: bytes=56 Sequence=4 ttl=30 time=3 msReply from 192.168.88.1: bytes=56 Sequence=5 ttl=30 time=1 ms--- 192.168.88.1 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 1/1/3 ms<switch-ceshi>ping 192.168.88.2PING 192.168.88.2: 56 data bytes, press CTRL_C to breakReply from 192.168.88.2: bytes=56 Sequence=1 ttl=30 time=3 msReply from 192.168.88.2: bytes=56 Sequence=2 ttl=30 time=3 msReply from 192.168.88.2: bytes=56 Sequence=3 ttl=30 time=2 msReply from 192.168.88.2: bytes=56 Sequence=4 ttl=30 time=2 msReply from 192.168.88.2: bytes=56 Sequence=5 ttl=30 time=2 ms--- 192.168.88.2 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 2/2/3 ms<switch-ceshi>Apr 2 2000 00:37:43 switch-ceshi %%01IFADP/4/PORTDOWNINFO(l)[7]:Interface GigabitEthernet0/0/4 has turned into DOWN state. (Information=Physical state: DOWN, Negotiation: ENABLE, Negotiation complete: No, Local full-duplex(10M: Yes, 100M: Yes, 1000M: Yes, 2.5G: No, 10G: No), Local half-duplex(10M: Yes, 100M: Yes, 1000M: No, 2.5G: No, 10G: No), Remote full-duplex(10M: No, 100M: No, 1000M: No, 2.5G: No, 10G: No), Remote half-duplex(10M: No, 100M: No, 1000M: No, 2.5G: No, 10G: No))Apr 2 2000 00:37:43 switch-ceshi %%01IFPDT/4/IF_STATE(l)[8]:Interface GigabitEthernet0/0/4 has turned into DOWN state.<switch-ceshi>Apr 2 2000 00:38:19 switch-ceshi %%01IFPDT/4/IF_STATE(l)[9]:Interface GigabitEthernet0/0/6 has turned into UP state.<switch-ceshi>Apr 2 2000 00:38:49 switch-ceshi %%01IFADP/4/PORTDOWNINFO(l)[10]:Interface GigabitEthernet0/0/6 has turned into DOWN state. (Information=Physical state: DOWN, Negotiation: ENABLE, Negotiation complete: No, Local full-duplex(10M: Yes, 100M: Yes, 1000M: Yes, 2.5G: No, 10G: No), Local half-duplex(10M: Yes, 100M: Yes, 1000M: No, 2.5G: No, 10G: No), Remote full-duplex(10M: No, 100M: No, 1000M: No, 2.5G: No, 10G: No), Remote half-duplex(10M: No, 100M: No, 1000M: No, 2.5G: No, 10G: No))Apr 2 2000 00:38:49 switch-ceshi %%01IFPDT/4/IF_STATE(l)[11]:Interface GigabitEthernet0/0/6 has turned into DOWN state.<switch-ceshi>Apr 2 2000 00:39:14 switch-ceshi %%01IFPDT/4/IF_STATE(l)[12]:Interface GigabitEthernet0/0/6 has turned into UP state.<switch-ceshi>Apr 2 2000 00:39:28 switch-ceshi %%01IFADP/4/PORTDOWNINFO(l)[13]:Interface GigabitEthernet0/0/6 has turned into DOWN state. (Information=Physical state: DOWN, Negotiation: ENABLE, Negotiation complete: No, Local full-duplex(10M: Yes, 100M: Yes, 1000M: Yes, 2.5G: No, 10G: No), Local half-duplex(10M: Yes, 100M: Yes, 1000M: No, 2.5G: No, 10G: No), Remote full-duplex(10M: No, 100M: No, 1000M: No, 2.5G: No, 10G: No), Remote half-duplex(10M: No, 100M: No, 1000M: No, 2.5G: No, 10G: No))Apr 2 2000 00:39:28 switch-ceshi %%01IFPDT/4/IF_STATE(l)[14]:Interface GigabitEthernet0/0/6 has turned into DOWN state.<switch-ceshi><switch-ceshi><switch-ceshi>ping 192.168.88.2PING 192.168.88.2: 56 data bytes, press CTRL_C to breakReply from 192.168.88.2: bytes=56 Sequence=1 ttl=30 time=5 msReply from 192.168.88.2: bytes=56 Sequence=2 ttl=30 time=2 msReply from 192.168.88.2: bytes=56 Sequence=3 ttl=30 time=3 msReply from 192.168.88.2: bytes=56 Sequence=4 ttl=30 time=2 msReply from 192.168.88.2: bytes=56 Sequence=5 ttl=30 time=2 ms--- 192.168.88.2 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 2/2/5 ms<switch-ceshi>\^Error: Unrecognized command found at '^' position.<switch-ceshi><switch-ceshi>dis port vlan actT=TAG U=UNTAG------------------------------------------------------------------------------- Port Link Type PVID VLAN List------------------------------------------------------------------------------- GE0/0/1 access 100 U: 100GE0/0/2 access 100 U: 100GE0/0/3 access 100 U: 100GE0/0/4 access 100 U: 100GE0/0/5 access 100 U: 100GE0/0/6 access 100 U: 100GE0/0/7 access 100 U: 100GE0/0/8 access 100 U: 100GE0/0/9 access 100 U: 100GE0/0/10 access 100 U: 100GE0/0/11 access 100 U: 100GE0/0/12 access 100 U: 100GE0/0/13 access 100 U: 100GE0/0/14 access 100 U: 100GE0/0/15 access 100 U: 100GE0/0/16 access 100 U: 100GE0/0/17 access 100 U: 100GE0/0/18 access 100 U: 100GE0/0/19 access 100 U: 100GE0/0/20 access 100 U: 100GE0/0/21 access 100 U: 100GE0/0/22 access 100 U: 100GE0/0/23 access 100 U: 100GE0/0/24 trunk 1 T: 100GE0/0/25 access 1 U: 1GE0/0/26 access 1 U: 1GE0/0/27 access 1 U: 1GE0/0/28 trunk 1 T: 100<switch-ceshi><switch-ceshi><switch-ceshi><switch-ceshi><switch-ceshi><switch-ceshi><switch-ceshi>dis mac-add------------------------------------------------------------------------------- MAC Address VLAN/VSI Learned-From Type------------------------------------------------------------------------------- 04f9-3891-4805 100/- GE0/0/28 dynamic 0800-0699-4ae5 100/- GE0/0/28 dynamice0dc-a08b-d21d 100/- GE0/0/28 dynamic------------------------------------------------------------------------------- Total items displayed = 3<switch-ceshi>dis arpIP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCEVLAN------------------------------------------------------------------------------ 192.168.88.100 c4ff-1f4c-1c30 I - Vlanif100192.168.88.254 04f9-3891-4805 20 D-0 GE0/0/28100192.168.88.11 28d2-44c8-1c31 6 D-0 GE0/0/28100192.168.88.1 0800-0699-4ae5 10 D-0 GE0/0/28100192.168.88.2 e0dc-a08b-d21d 19 D-0 GE0/0/28100------------------------------------------------------------------------------ Total:5 Dynamic:4 Static:0 Interface:1<switch-ceshi>Apr 2 2000 00:43:07 switch-ceshi %%01IFPDT/4/IF_STATE(l)[15]:Interface GigabitEthernet0/0/4 has turned into UP state.<switch-ceshi>。

华为OLT和光猫iptv配置方式

华为OLT和光猫iptv配置方式

华为OLT部署iptv业务方案
华为OLT部署iptv业务方案 (1)
1.华为OLT组播和QOS部署 (1)
部署组播(GPON) (1)
部署组播(EPON) (5)
QOS的部署 (8)
2.IPTV业务组网 (9)
3.光猫的配置实例(华为、中兴、海信等) (9)
以华为HG8321R的光猫为例 (9)
1.华为OLT组播和QOS部署
部署组播(GPON)
1,华为olt部署组播首先创建光猫的线路模板、服务模板、DBA模板
ont-srvprofile gpon profile-id 50 profile-name "IPTV-G"
猫的配置实例(华为、中兴、海信等)
以华为HG8321R的光猫为例1,用超级账号登陆,新建2个链接
2,新建一个宽带拨号的连接
3,新建一个iptv的连接
3,把LAN1口和LAN2口打勾。

5,使能DHCP功能取消,iptv机顶盒的IP地址是在城域网上自动获取,不需要光猫分配。

6,把QOS使能打开
7,使能IGMP够功能。

华为OLT配置说明学习资料

华为OLT配置说明学习资料
注意:MAX值一定要大于assure值。
10/14/2019 Page No. 07
DBA profile配置
显示所有配置的DBA profile:
MA5600T(config)#display dba-profile all
----------------------------------------------------------------------------
10/14/2019 Page No. 09
线路模板:gpon-lineprofile
1,一个TCONT对应一个GEM配置:
创建gpon-lineprofile ID
MA5600T(config)#ont-lineprofile gpon profile-id 10 profile-name wxf_1
---------------------------------------------
Command of config Mode:
---------------------------------------------
add
Add a DBA profile
delete
Delete a DBA profile
WuXiaofang
System Test Enginner
华为OLT配置业务说明
10/14/2019 Page No. 01
摘要
1,Vlan配置 2,DBA profile 配置 3,线路模板:gpon-lineprofile配置 4,业务模板:ont-srvprofile配置 5,ONT注册 6,流量模板配置 7,service port配置 8,vlan与上联口关联 9,组播配置 10,删除业务

华为OLT配置的具体操作-李倩1

华为OLT配置的具体操作-李倩1

OLT业务配置一、华为OLT操作EPON1、开局配置(暂时不用管)2、查看上联口的VLANDisplay port vlan 0/8/13、创建DBA (动态带宽分配)模版①在创建DBA模版之前,先用命令display dba-profile all查看哪些Profile-ID已经被占用,我们创建新DBA时要避开这些已经创建好的DBAo②d ba-profile add profile-id 21 profile-name "Li” type3 assure 4096 max10240…-创建新的DBA模版也可以先不指定profile-id,设置为缺省值,有系统自动分配其ID号dba-profile add profile-name qian type3 assure 1024 max 10240---缺省值③display dba-profile profile-id 21---查看新建的DBA 模版dba-profile delete profile-id 21删除新建的DBA 模版dba-profile modify profile-id 21・・■修改新建的DBA 模版2、创建线路模版display ont-lineprofile epon all—首先用命令查看现有的线路板模型<ont-lineprofile epon profile-id 22 profile-name "Li"—创建新的线路板模型2 PON接口绑定VLANZXAN(config)#interface epon-onu_ 1/4/8:15ZXAN(config-if)#switchport mode trunkZXAN(config-if)#switchport vlan 666 tag查询PON-ON U接口的vlan信息:ZXAN(config・if)#show vlan port epon-onu_l/4/8:153 ONU端口VLAN配置在ONU远程管理模式下,配置用户端口vlanZXAN(config)#pon-onu-mng epon-onu_ 1/4/8:15ZXAN(epon-onu-mng)#vlan port eth_O/l mode tag vlan 666 priority 0 ZXAN(gpon-onu-mng)#end组播测试:SFU与HGU方法相同1.在ONU接口配置模式下,配置ONU带宽。

华为OLT和光猫iptv配置方式

华为OLT和光猫iptv配置方式

华为OLT部署iptv业务方案华为OLT部署iptv业务方案.................................................................... 错误!未指定书签。

1.华为OLT组播和QOS部署 ........................................................... 错误!未指定书签。

1.1部署组播(GPON) .................................................................... 错误!未指定书签。

1.2部署组播(EPON) ..................................................................... 错误!未指定书签。

1.3QOS的部署 ................................................................................... 错误!未指定书签。

2.IPTV业务组网 ................................................................................ 错误!未指定书签。

3.光猫的配置实例(华为、中兴、海信等) ..................................... 错误!未指定书签。

3.1以华为HG8321R的光猫为例 ..................................................... 错误!未指定书签。

1.华为OLT组播和QOS部署1.1部署组播(GPON)1,华为olt部署组播首先创建光猫的线路模板、服务模板、DBA模板ont-srvprofilegponprofile-id50profile-name"IPTV-G"//iptv业务的服务模板ont-portpotsadaptiveethadaptivemulticast-forwarduntagcommitquitont-lineprofilegponprofile-id50profile-name"IPTV-G"//iptv业务的线路模板tr069-managementip-index0mapping-modeprioritytcont1dba-profile-id12gemadd0ethtcont1gemmapping00priority0gemmapping04priority4gemmapping05priority5gemmapping06priority6gemmapping07priority7commitquitdba-profileaddprofile-id12profile-name"IPTV-G"type3assure10240max15072//iptv业务的DBA模板2,配置点播和组播VLANvlan3001to3016//点播的业务VLAN,根据现网VLAN规划改变VLAN配置。

华为OLT界面化操作指导书

华为OLT界面化操作指导书

目录DBA模板 (1)流量模板 (1)线路模板 (1)业务模板 (1)创建外层VLAN (1)配置FTTH-ONU业务 (3)配置FTTB-ONU业务 (12)界面化添加FTTB-ONU (12)DBA模板流量模板线路模板业务模板创建外层VLAN在创建VLAN之前必须确保该VLAN在OLT上不存在,并查看OLT上联端口详细步骤:第一步:在OLT上选择VLAN界面,右键选择“增加”第二步:配置VLAN基本信息,VLAN ID=见工单,类型=Smart VLAN,属性=QinQ,再下一步。

第三步:配置VLAN,即在OLT上联口透传VLAN,选择OLT上联口,添加的从属端口,然后完成。

配置FTTH-ONU业务在配置业务之前必须保证OLT已建立所需引用的相关模板(线路模板、业务模板、DBA模板、流量模板)一、宽带业务详细步骤:第一步:在端口的ONU界面中,右键选择增加第二步:在跳转出的“增加ONU”界面中,配置ONU的基本信息:名称=工单名称、ONU 类型=ONT、ONU ID=自动分配,基本参数选项下填写ONU注册参数:线路模板,业务模板,认证方式,认证值。

第三步:选择线路模板=line-profile_default_0(高亮的那条)第四步:选择业务模板=srv-profile_default_0(高亮的那条)第五步:开通业务,增加ServicePort业务流方法一:在ONU详细信息面板中,选择开通业务功能开通业务,仅保留需要开通的业务选项,多余选项需关闭“点击X”填写VLAN并选择需开通的端口,绑定业务流。

备注:外层vlan属性为Stacking,需在弹出的面板中填写层VLAN在业务流右键选择连接属性,修改绑定的接口方法二:在增加的ONU下,ServicePort信息栏增加业务流第六步:在“增加Service Port”面板中,填写VLAN和端口信息说明:需先查看VLAN是否已创建及其属性,如果没有该VLAN,需在OLT上创建QinQ VLAN,并在该处选择QinQ VLAN上下行流量=见工单,按规设置第七步:确定,完成。

大视频业务华为OLT局数据配置文档

大视频业务华为OLT局数据配置文档

大视频业务华为OLT局数据配置文档本指导书只适用于华为OLT部署组播,操作时注意事项如下:1)山西移动规划IPTV业务(含魔百盒)外层VLAN范围为:3900~3949,组播VLAN为2106。

2)配置时检查VLAN为3900~3949是否已经创建,如果已创建则不用重复操作;检查VLAN 2106是否已经创建,如果已创建则不用重复操作。

3)IPTV外层VLAN 3900~3949属性只能为stacking,组播VLAN 2016属性只能为common。

4)各地市在现网部署时,务必提前找一台OLT进行测试,确保对现网已开通的魔百盒业务无影响后再进行批量部署。

OLT组播复制点下移数据配置指导:第一步:增加组播VLANvlan 2106 smart//增加组播VLAN 2106,全省组播VLAN统一规划为2106。

port vlan 2106 0/18 0//在OLT上行口透传组播VLAN,注意上行端口信息必须核实准确。

第二步:增加IPTV外层VLANvlan 3900 to 3949 smart//增加IPTV外层VLAN 3900~3949。

vlan attrib 3900 to 3949 stacking//配置IPTV外层VLAN属性为stacking。

port vlan 3900 to 3949 0/18 0//在OLT上行口透传IPTV外层VLAN,注意上行端口信息必须核实准确。

第三步:配置组播参数btvigmp query-offline-user enableigmp encapsulation ipbtvmulticast-vlan 2106igmp version v2igmp mode proxyigmp program add batch ip 224.30.30.1 to-ip 224.30.30.254igmp program add batch ip 224.30.31.1 to-ip 224.30.31.254igmp uplink-port 0/18/0//配置组播上行口,注意上行端口务必要配置正确。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

华为OLT配置HGU 技术指导书文档摘要:HGU在华为OLT上的配置,注册以及简单的单播和组播的业务一、登陆OLT使用telnet登陆:telnet huaweiPassword:huawei123进入配置模式HuaWeiGpon>enableHuaWeiGpon#config二、配置模板Srvprofile模板:相当于中兴OLT的ONU type,可以设置ONU有几个uni口,几个语音pots口等,在建立模板之前我们可以先查看其他人在OLT上建立好的模板,如果没有你想要的模板再自己创建。

查看已有srvprofile模板:HuaWeiGpon(config)#display ont-srvprofile gpon allHuaWeiGpon(config)#display ont-srvprofile gpon profile-id 1 查看具体模板创建srvprofile模板:HuaWeiGpon(config)#ont-srvprofile gpon profile-id 19HuaWeiGpon(config-gpon-srvprofile-19)#ont-port eth 4 pos 2//设置ont有几个uni口HuaWeiGpon(config-gpon-srvprofile-19)#port vlan eth 1 2100//划分ont的端口VLANHuaWeiGpon(config-gpon-srvprofile-19)#commit(2)建立DBA模板HuaWeiGpon(config)#dba-profile add profile-id 40 type1 fix 102400(绑定固定带宽100M)---------------------------------------------Command of config Mode:---------------------------------------------profile-name DBA profile nametype1 Fixed bandwidthtype2 Assured bandwidthtype3 Assured bandwidth, Maximum bandwidthtype4 Maximum bandwidthtype5 Fixed bandwidth, Assured bandwidth, Maximum bandwidth可以看到DBA模板有5中type:type1:只绑定固定带宽type2:只绑定保证带宽type3:绑定保证带宽和最大带宽type4:只绑定最大带宽type5:绑定固定带宽、保证带宽、最大带宽Lineprofile模板:创建tcont,gemport,并且绑定DBA模板(带宽)查看lineprofile模板:HuaWeiGpon(config)#display ont-lineprofile gpon allHuaWeiGpon(config)#display ont-lineprofile gpon profile-id 2//查看具体模板信息修改已有的lineprofile模板,把需要的vlan加入模板中:HuaWeiGpon(config)#ont-lineprofile gpon profile-id 25HuaWeiGpon(config-gpon-lineprofile-25)#gem mapping 1 6 vlan 1007//1指的是gem index,0指的是mapping index,一个模板中只能有一个gem index HuaWeiGpon(config-gpon-lineprofile-25)#commit创建lineprofile模板:HuaWeiGpon(config)#ont-lineprofile-gpon profile-id 20HuaWeiGpon(config-gpon-lineprofile-25)#tcont 1 dba-profile-id 20//添加tcont绑定dbaHuaWeiGpon(config-gpon-lineprofile-25)#gem add 1 eth tcont 1//将tcont与gem port 1绑定HuaWeiGpon(config-gpon-lineprofile-25)#gem mapping 1 0 vlan 1003//gem mapping 添加 vlan 1 0指的是1号tcont,vlan序号HuaWeiGpon(config-gpon-lineprofile-25)#gem mapping 1 1 vlan 1004//gem mapping 添加 vlanHuaWeiGpon(config-gpon-lineprofile-25)#gem mapping 1 2 vlan 2008//gem mapping 添加 vlanHuaWeiGpon(config-gpon-lineprofile-25)#commit 注意要存储一个gemport对应一个FE口,hgu只有一个虚端口,所以所有mapping只能都加到一个gemport中(4)注册ONT查看未注册ont:HuaWeiGpon(config)#display ont autofind all注册ont:HuaWeiGpon(config)##interface gpon 0/1//进入1号pon板HuaWeiGpon(config-if-gpon-0/1)#ont confirm 1 (ontid 14) sn-auth omci ont-lineprofile-id 20 ont-srvprofile-id 20//1为pon口修改ont绑定的模板:HuaWeiGpon(config-if-gpon-0/1)#ont modify 1 7 ont-lineprofile-id 5//2号pon口7号ONU 修改为ont-lineprofile-id 5删除ont:如果一个ont创建了service-port,要删除这个ont,必须先删除掉这个ont上所有的service-portHuaWeiGpon(config-if-gpon-0/1)#ont delete 1 8//删除2号pon口8号ont(5)vlan加入上联口和虚口HuaWeiGpon(config)#vlan 1003 smart//建立vlan 1003HuaWeiGpon(config)#port vlan 1003 0/7 0//将vlan加入上联口1创建service-port(单播):HuaWeiGpon(config)#service-port vlan 2510 gpon 0/1/1 ont 2 gemport 1 multi-service user-vlan 2510//vlan 加入ont pon 与gemport绑定,其中gpon 0/1/0 指的分别是机框,1号槽位,1号pon口删除service-port:如果一个ont创建了service-port,要删除这个ont,必须先删除掉这个ont上所有的service-portHuaWeiGpon(config)#undo service-port port 0/1/0 ont 9 gemport 1 user-vlan 1003 //删除1号槽位1号pon口9号ONU gemport1中的1003 vlanHuaWeiGpon(config)#undo service-port all//删除所有的olt上所有的service-port(6)组播配置创建业务vlanHuaWeiGpon (config)#vlan 2008 smart上联口加入业务vlanHuaWeiGpon (config)#port vlan 2008 0/7 2//上联口7号板卡2号上联口加入组播vlan创建组播vlanHuaWeiGpon (config)#multicast-vlan 2008//创建组播vlanHuaWeiGpon (config)#multicast-vlan 2008HuaWeiGpon (config-mvlan 2008)#igmp mode proxy//配置olt igmp modeHuaWeiGpon (config-mvlan 2008)#igmp version v2//配置olt igmp versionHuaWeiGpon (config-mvlan 2008)#igmp program add ip 建立组播源HuaWeiGpon (config-mvlan 2008)#igmp program add batch to-ip 建立一个范围的组播源绑定组播vlan与上联口HuaWeiGpon (config-mvlan 2008)#igmp default uplink-port 0/7/2创建service-portHuaWeiGpon(config)#service-port vlan 2008 gpon 0/1/1 ont 2 gemport 1 multi-serviceuser-vlan 2008//Pon 口、ONT加入vlan(与单播相同)Service-port 加入igmpHuaWeiGpon(config)#display service-port all//查看service-port的indexHuaWeiGpon (config-btv)#igmp user add service-port 100//将单播vlan的index加入到组播中配置组播vlan memberHuaWeiGpon (config)#multicast-vlan 2008HuaWeiGpon (config-mvlan 2008)#igmp multicast-vlan member service-port 100配置ont端口组播vlanHuaWeiGpon (config-gpon-srvprofile-20)#port multicast-vlan eth 1 2008设置ont的组播模式HuaWeiGpon (config-if-gpon-0/1)#ont multicast-mode 3 1 igmp-snooping(7)QOS增加一个ont的流分类规则,precedenceHuaWeiGpon (config)#classification 88HuaWeiGpon (config-classification-profile-88)#rule add precedence 1 queue-mapped 3 ethernet prioritymark 7 condition-num 1绑定QOS规则到ont-srvprofileHuaWeiGpon (config-gpon-srvprofile-20)#port classification eth 1 profile-id 88将traffic table绑定到虚端口上HuaWeiGpon (config)#service-port vlan 1500 gpon 0/2/3 ont 1 multi-service user-vlan 1500 inbound traffic-table index 13 outbound traffic-table index 13。

相关文档
最新文档