Company Address: Flat 6, Bldg 4,South 2 of Honghualing Industrial Zone,Liuxian Road, Xili Town, Shenzhen, Guangdong, China(518055)
Tel: +86-755-26014509/4710/4711 Fax:+86-755-26014506
Website: www.cdatatec.com
52
Settingge1asedgeport.
OLT(interface‐ge)#spanning‐treeedged‐port1enable
10.7spanning‐treecost
【Command】
spanning‐treecostport‐idcost
【View】viewge;viewEPON;viewxge;viewlink‐aggregation.
【Parameter】
port‐id:To‐be‐setportlist.
cost
:
The portpath cost. The costis a ports quantity,which reflectthat the cost of port related
withnetwork ,lowerthevalueis,bettertheconnectionofport.range:1‐200000000。
【Description】
spanning‐treecostcommandisusedtosetspanning‐treecostofportpresently,aftersettingthe
cost,Maycausethechange
oftopology,spanningtreerecalculate.
【Example】
Settingthespanning‐treecostofportofge1as500.
OLT(interface‐ge)#spanning‐treecos t1500
10.8spanning‐treemcheck
【Command】
spanning‐treemcheckport‐idswitch
【View】viewge;viewEPON;viewxge;viewlink‐aggregation.
【Parameter】
port‐id:To‐be‐setportlist.
switch
:
mcheckswitch。value:enable、disable。
【Description】
STOmcheckcommandisusedtoexecutemCheckoperationattheglobalorport.Ondevicesof
runningtheRSTP,ifaportisconnectedtothedevice,theportisautomaticallymigratedtothe
STP‐compatiblemode
【Example】
Openingthe
mcheckofge1.
OLT(interface‐ge)#spanning‐treemcheck1enable
10.9spanning‐treepoint‐to‐point
【Command】
spanning‐treepoint‐to‐pointport‐idmode