基本宽带业务配置 1、组网图 2、组网说明(以下配置过程使用版本MA5680T:V800R105C33B011;MA5620E:V800R305C01B011,如果使用其它版本,配置命令可能不一样) 1、MA5680T使用0/20/0上行到会聚交换机,再到BAS 2、MA5680T使用EPON接口0/15/0下带一个ONT和一个MDU,ONT采用HG813E,MAC=0073-073B-F274,分配ontid为0; MDU 使用MA5620E,MAC=0018-8256-3E47,分配ontid为1。 3、MA5680T和MA5620E的带内网管VLAN使用VLAN=100。MA5680T的带内网管地址为:192.168.100.1/24,MA5620E的带内网管地址为:192.168.100.2/24,网关地址为192.168.100.254/24。 4、PC1、PC2、PC3使用的业务VLAN分别为1001、1002、1003,PC1接在HG813E的第4口,PC2、PC3分别接在MA5620E的0/1/2、0/1/3。 3、业务配置流程 4、系统数据配置 4.1 配置两个针对HG813E、MA5620E的能力集模板并确认 MA5680T(config)#ont-profile { add<K>|modify<K>|delete<K> }:add { epon<K>|gpon<K> }:epon { <cr>|profile-id<K>|profile-name<K> }:profile-id { profile-id<U><17,128> }:20 { <cr>|profile-name<K> }: Command: ont-profile add epon profile-id 20 Press 'Q' or 'q' to quit input > Ont Manage Mode<1-SNMP, 2-SNMP-NOPARA, 3-OAM> [3]:3 > Is UNI configuration concerned?<1-not concern, 2-concern> [2]:2 > ONT FE ports list(format: 1,3-5,7 )<S><0-100> [-]:1-4 > ONT GE ports list(format: 1,3-5,7 )<S><0-100> [-]: > Number of POTS ports<0-16> [0]: > TDM port type<1-E1> [1]: > Number of TDM ports<0-8> [0]: Adding an ONT profile succeeded Profile-ID : 20 Profile-Name : ont-profile_20 //添加Profile-ID=20用来支持HG813E MA5680T(config)#ont-profile add epon profile-id 30 { <cr>|profile-name<K> }: Command: ont-profile add epon profile-id 30 Press 'Q' or 'q' to quit input > Ont Manage Mode<1-SNMP, 2-SNMP-NOPARA, 3-OAM> [3]:1 > Is UNI configuration concerned?<1-not concern, 2-concern> [2]:1 Adding an ONT profile succeeded Profile-ID : 30 Profile-Name : ont-profile_30 //添加Profile-ID=30用来支持MA5620E MA5680T(config)# interface epon 0/15 //进入EPON单板配置模式 MA5680T(config-if-epon-0/15)# port 0 ont-auto-find enable //打开端口自动发现功能 MA5680T(config-if-epon-0/15)# ! EVENT WARNING 2008-04-11 18:06:16 ALARM NAME :ONU in Auto-find state alarm PARAMETERS :FrameID: 0, SlotID: 15, PortID: 0, MAC: 0073-073B-F274, Password: - ! EVENT WARNING 2008-04-11 18:06:41 ALARM NAME :ONU in Auto-find state alarm PARAMETERS :FrameID: 0, SlotID: 15, PortID: 0, MAC: 0018-8256-3E47, Password: - //ONU自动上报设备MAC MA5680T(config-if-epon-0/15)#ont confirm 0 { ontid<K>|all<K> }ntid { ontid<U><0,63> }:0 { password-auth<K>|mac-auth<K> }:mac-auth { mac<S><14,14> }:0073-073B-F274 { profile-id<K>|profile-name<K> }:profile-id { profile-id<U><1,128> }:20 { <cr>|multicast-mode<K>|multicast-fast-leave<K>|description<K>|fec<K>|dba-profi le<K>|encrypt<K>|cir<K> }: //使用profile-id=20确认MAC=0073-073B-F274的HG813E MA5680T(config-if-epon-0/15)# ont confirm { portid<U><0,3> }:0 { ontid<K>|all<K> }ntid { ontid<U><0,63> }:1 { password-auth<K>|mac-auth<K> }:mac-auth { mac<S><14,14> }: 0018-8256-3E47 { profile-id<K>|profile-name<K> }:profile-id { profile-id<U><1,128> }:30 { <cr>|multicast-mode<K>|multicast-fast-leave<K>|description<K>|fec<K>|dba-profi le<K>|encrypt<K>|cir<K> }: //使用profile-id=30确认MAC=0018-8256-3E47的MA5620E MA5680T(config-if-epon-0/15)#display ont info //查看ONT状态 { portid<U><0,3>|remote<K> }:0 { ontid<U><0,63>|all<K> }:all Command: display ont info 0 all ----------------------------------------------------------------------------- F/S/P ONT-ID MAC Control Run Config Match Loopback Flag State State State State ----------------------------------------------------------------------------- 0/15/0 0 0073-073B-F274 active up normal match disable 0/15/0 1 0018-8256-3E47 active up normal match disable ----------------------------------------------------------------------------- In port 0, the total of ONTs are: 2 MA5680T(config-if-epon-0/15)# 4.2 配置MA5680T的带内网管数据 MA5680T(config)#vlan 100 smart //配置带内网管VLAN=100 MA5680T(config)#port vlan 100 0/20 0 //从上行口0/20/0透传VLAN MA5680T(config)#interface vlanif 100 //创建VLAN接口并进入VLAN接口配置模式 MA5680T(config-if-vlanif100)# ip address 192.168.100.1 255.255.255.0 //配置带内网管地址 MA5680T(config)#ip route-static 0.0.0.0 0.0.0.0 192.168.100.254 //配置缺省路由 4.3 配置MA5620E的带内网管数据(MA5620E可以在MA5680T实现远程配置,如果是近端通过串口登录,配置步骤参考MA5680T的带内网管配置,只是上行口不一样,MA5620E上行口固定为0/0/1) MA5680T(config)#interface epon 0/15 MA5680T(config-if-epon-0/15)#ont ipconfig //在单板模式下可以配置MA5620E的带内网管数据 { portid<U><0,3> }:0 { ontid<U><0,63> }:1 { ip-address<K> }:ip-address { ip-address<I><X.X.X.X> }:192.168.100.2 { mask<K> }:mask { mask<I><X.X.X.X> }:255.255.255.0 { gateway<K> }:gateway { gateway<I><X.X.X.X> }:192.168.100.254 { manage-vlan<K> }:manage-vlan { managevlan<U><1,4093> }:100 MA5680T(config-if-epon-0/15)# The ONT IP is configured successfully MA5680T(config-if-epon-0/15)#quit MA5680T(config)#ping 192.168.100.2 //配置完成后,可以通过PING命令来检查 PING 192.168.100.2: 56 data bytes, press CTRL_C to break Reply from 192.168.100.2: bytes=56 Sequence=0 ttl=63 time = 42 ms Reply from 192.168.100.2: bytes=56 Sequence=1 ttl=63 time = 7 ms Reply from 192.168.100.2: bytes=56 Sequence=2 ttl=63 time = 6 ms Reply from 192.168.100.2: bytes=56 Sequence=3 ttl=63 time = 6 ms Reply from 192.168.100.2: bytes=56 Sequence=4 ttl=63 time = 6 ms MA5680T(config)#telnet 192.168.100.2 //如果能ping通,就可以telnet登录配置其它数据 { <cr>|service-port<U><0,4294967295> }: Command: telnet 192.168.100.2 Press CTRL_] to quit telnet mode Trying 192.168.100.2 ... Connected to 192.168.100.2 ... >>User name:root >>User password:mduadmin Huawei Integrated Access Software. Copyright(C) Huawei Technologies Co., Ltd. 1998-2008. All rights reserved. MA5620E> 上网。
|