>|cir}:
Command:
ontconfirm0ontid0mac-auth0018-0000-0001profile-id30dba-profile10
zhongxinjun_MA5680T(config-if-epon-0/1)#quit
zhongxinjun_MA5680T(config)#vlan37smart//网管VLAN
zhongxinjun_MA5680T(config)#vlan174smart//宽带业务VLAN
zhongxinjun_MA5680T(config)#vlan2800smart//voip业务
zhongxinjun_MA5680T(config)#vlanattrib174q-in-q//设置VLAN174属性为q-in-q
zhongxinjun_MA5680T(config)#bpdutunnelvlan174enable
zhongxinjun_MA5680T(config)#
zhongxinjun_MA5680T(config)#portvlan370/200
zhongxinjun_MA5680T(config)#portvlan1740/200
zhongxinjun_MA5680T(config)#portvlan28000/200
zhongxinjun_MA5680T(config)#
zhongxinjun_MA5680T(config)#
zhongxinjun_MA5680T(config)#service-portvlan37
{adsl|shdsl|vdsl|atm|eth|gpon|epon}:
epon
{frameid/slotid/portid<1,15>}:
0/1/0
{ont}:
ont
{ontid<0,63>}:
0
{|multi-service}:
multi-service
{user-vlan}:
user-vlan
{user-vlanid<1,4094>|untagged}:
37
Command:
service-portvlan37epon0/1/0ont0multi-serviceuser-vlan37
zhongxinjun_MA5680T(config)#
zhongxinjun_MA5680T(config)#
zhongxinjun_MA5680T(config)#service-port
{index<0,16383>|vlan|desc}:
vlan
{vlanid<1,4093>|aoe}:
174
{adsl|shdsl|vdsl|atm|eth|gpon|epon}:
epon
{frameid/slotid/portid<1,15>}:
0/1/0
{ont}:
ont
{ontid<0,63>}:
0
{|multi-service}:
multi-service
{user-vlan}:
user-vlan
{user-vlanid<1,4094>|untagged}:
501
Command:
service-portvlan174epon0/1/0ont0multi-serviceuser-vlan501
zhongxinjun_MA5680T(config)#service-portvlan174epon0/1/0ont0multi-serviceuser-vlan502
zhongxinjun_MA5680T(config)#service-portvlan174epon0/1/0ont0multi-serviceuser-vlan503
zhongxinjun_MA5680T(config)#service-portvlan174epon0/1/0ont0multi-serviceuser-vlan504
zhongxinjun_MA5680T(config)#service-portvlan174epon0/1/0ont0multi-serviceuser-vlan505
zhongxinjun_MA5680T(config)#service-portvlan174epon0/1/0ont0multi-serviceuser-vlan506
zhongxinjun_MA5680T(config)#service-portvlan174epon0/1/0ont0multi-serviceuser-vlan507
zhongxinjun_MA5680T(config)#service-portvlan174epon0/1/0ont0multi-serviceuser-vlan508
zhongxinjun_MA5680T(config)#service-portvlan2800epon0/1/0ont0multi-serviceuser-vlan2800
zhongxinjun_MA5680T(config)#displayservice-portall
{|||sort-by}:
Command:
displayservice-portall
--------------------------------------------------------------------------
INDEXVLANVLANPORTF/S/PVPIVCIFLOWFLOWRXTXSTATE
IDATTRTYPETYPEPARA
--------------------------------------------------------------------------
037commonepon0/1/00-vlan37--up
1174QinQepon0/1/00-vlan501--up
2174QinQepon0/1/00-vlan502--up
3174QinQepon0/1/00-vlan503--up
4174QinQepon0/1/00-vlan504--up
5174QinQepon0/1/00-vlan505--up
6174QinQepon0/1/00-vlan506--up
7174QinQepon0/1/00-vlan507--up
8174QinQepon0/1/00-vlan508--up
92800commonepon0/1/00-vlan2800--up
--------------------------------------------------------------------------
Total:
10(Up/Down:
10/0)
Note:
F--Frame,S--Slot,P--Port,VPIindicatesGEMPortIDforGPON
orONTIDforEPON,pri-tagindicatespriority-tagged
zhongxinjun_MA5680T(config)#
zhongxinjun_MA5680T(config)#
zhongxinjun_MA5680T(config)#
zhongxinjun_MA5680T(config)#
//在olt上远程配置5620E网管数据
zhongxinjun_MA5680T(config)#interfaceepon0/1
zhongxinjun_MA5680T(config-if-epon-0/1)#ontipconfig
{portid<0,3>}:
0
{ontid<0,63>}:
0
{ip-address}:
ip-address
{ip-address}:
10.5.2.7
{mask}:
mask
{mask}:
255.255.255.0
{gateway}:
gateway
{gateway}:
10.5.2.1
{manage-vlan}:
manage-vlan
{managevlan<1,4093>}:
37
Command:
ontipconfig00ip-address10.5.2.7mask255.255.255.0gateway10.5.2.1manage-vlan37
zhongxinjun_MA5680T(config-if-epon-0/1)#
TheONTIPisconfiguredsuccessfully
zhongxinjun_MA5680T(config-if-epon-0/1)#quit
zhongxinjun_MA5680T(config)#ping10.5.2.7
PING10.5.2.7:
56databytes,pressCTRL_Ctobreak
Replyfrom10.5.2.7:
bytes=56Sequence=0ttl=63time=13ms
zhongxinjun_MA5680T(config)#telnet10.5.2.7//登陆到5620E上配置业务
{|service-port<0,4294967295>}:
Command:
telnet10.5.2.7
PressCTRL_]toquittelnetmode
Trying10.5.2.7...
Connectedto10.5.2.7...
配置5620E数据:
(5620E密码为mduadmin)
>>Username:
root
>>Userpassword:
HuaweiIntegratedAccessSoftware.
Copyright(C)HuaweiTechnologiesCo.,Ltd.1998-2008.Allrightsreserved.
-----------------------------------------------------------------------------
Userlastlogininformation:
-----------------------------------------------------------------------------
AccessType:
Telnet
IP-Address:
61.178.177.99
Time:
2000-01-1203:
53:
33
-----------------------------------------------------------------------------
MA5620E>enable
MA5620E#time2008-10-13//修改系统时间
{|timemm:
ss>}:
13:
00:
00
Command:
time2008-10-1313:
00:
00
MA5620E#config
MA5620E(config)#sysnameceshi_5620e//修改系统名
ceshi_5620e(config)#vlan501to508//宽带业务内层VLAN
AreyousuretoaddVLANs?
(y/n)[n]:
y
ceshi_5620e(config)#vlan2800//voipvlan
Command:
vlan2800
ceshi_5620e(config)#portvlan28000/01
ceshi_5620e(config)#portvlan501to5080/01
Areyousuretoaddstandardport(s)?
(y/n)[n]:
y
ceshi_5620e(config)#undoservice-portall//删除原来的service-port
Itwilltakeseveralminutes,andconsolemaytimeout,pleaseusecommandidle
-timeouttosettimelimit
Areyousuretoreleaseservicevirtualport(s)?
(y/n)[n]:
y
显示流量表模板:
ceshi_5620e(config)#displaytraffictableipfrom-index0
{|to-index}:
命令:
displaytraffictableipfrom-index0
------------------------------------------------------------------------------
流量CIR(kbps)CBS(bytes)PIR(kbps)PBS(bytes)Color优先级拷贝策略调度策略
索引Mode
------------------------------------------------------------------------------
051218384102436768Blind6-tag-pri
1102434768204869536Blind0-tag-pri
22048675364096135072Blind0-tag-pri
340961330728192266144Blind4-tag-pri
4819226414416384528288Blind4-tag-pri
516384526288327681024000Blind4-tag-pri
6offoffoffoff-0-tag-pri
------------------------------------------------------------------------------
总数:
7
缺省情况下,系统启动后有7个流量表项,索引号为0-6。
这7个缺省的流量表项可以被删除。
在下面增加业务流时根据实际情况引用
ceshi_5620e(config)#service-port
{desc|index<0,255>|vlan}:
vlan
{transparent|vlanid<1,4093>}:
501
{eth}:
eth
{frameid/slotid/portid}:
0/1/1
{other-all|user-encap|user-vlan}:
user-vlan
{untagged|user-vlanid<1,4094>}:
untagged
{rx-cttr}:
rx-cttr6
{tx-cttr}:
tx-cttr6
Command:
service-portvlan501eth0/1/1user-vlanuntaggedrx-cttr6tx-cttr6
ceshi_5620e(config)#service-portvlan502eth0/1/2user-vlanuntaggedrx-cttr6tx-cttr6
ceshi_5620e(config)#service-portvlan503eth0/1/3user-vlanuntaggedrx-cttr6tx-cttr6
ceshi_5620e(config)#service-portvlan504eth0/1/4user-vlanuntaggedrx-cttr6tx-cttr6
ceshi_5620e(config)#service-portvlan505eth0/1/5user-vlanuntaggedrx-cttr6tx-cttr6
ceshi_5620e(config)#service-portvlan506eth0/1/6user-vlanuntaggedrx-cttr6tx-cttr6
ceshi_5620e(config)#service-portvlan507eth0/1/7user-vlanuntaggedrx-cttr6tx-cttr6
ceshi_5620e(config)#service-portvlan508eth0/1/8user-vlanuntaggedrx-cttr6tx-cttr6
ceshi_5620e(config)#
//在5620E上配置语音业务:
(voip)
ceshi_5620e(config)#
ceshi_5620e(config)#
ceshi_5620e(config)#interfacevlanif2800//配AG(5620E)语音业务ip地址
ceshi_5620e(config-if-vlanif2800)#ipaddress
{ip_addr}:
10.208.180.2
{integer<0,32>|ip_mask}:
24
Command:
ipaddress10.208.180.224
ceshi_5620e(config-if-vlanif2800)#quit
ces