Chapter4ServiceConguration
Whendatapacketenterstheport,theswitchwilldotheQoSinitialmarkwhichmainly
includestheinitializationofTCQoS.
Inthedirectionofswitchegress,QoSisusedtoputthepacketintothesuitablequeue
accordingtomarkedTCanddothecorrespondingqueueschedulingalgorithmand
congestioncontrolalgorithmaccordingtothecurrentqueuecongurationandmodifyit
accordingto802.1pUserpriorityorIPDscpeldofdatapacket.
ConguringQoS
TheQoScongurationsonZXR102900Eincludesglobal-basedQoScongurationand
port-basedQoSconguration.PartofQoScongurationisrelatedtoACL.TheQoS
congurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setqospriority-mappingport<1-28>default-up<0-7>SetsthedefaultportUPpriority.
zte(cfg)#setqospriority-mappingport<1-28>trust-mode{dscp-priority|
port-profile|user-priority}
Setstheporttrustedmode.
zte(cfg)#setqospriority-mappingport<1-28>{remapping-dscp|remark
{dscp-priority|user-priority}}{enable|disable}
SetspacketUP/DSCP
remark/remappingbasedonport.
zte(cfg)#setqospriority-mappingqos-profiledscp-to-dscp<0-63>to<0-63>
Setsthemappingrelationbetween
DSCPs.
zte(cfg)#setqospriority-mappingport<1-28>port-to-profileqos-profile
<0-127>
Setsthemappingrelationbetweenport
andprole.
zte(cfg)#setqospriority-mappingqos-profile{up-to-profile<0-7>|
dscp-to-profile<0-63>}qos-profile<0-127>
Setsthemappingrelationbetween
DSCP/UPandprole.
zte(cfg)#setqospriority-mappingqos-profile<0-127>{drop-priority{red|
yellow|green}|dscp-priority<0-63>|user-priority<0-7>|traffic-class
<0-7>}
SetstheQoSproletemplate.
zte(cfg)#setqospriority-mappingqos-profiledefault
Sets128QoSprolestorecoverdefault
values.
zte(cfg)#setqosqueue-scheduleenhance{disable|enable}
Setstheoptimizedqueuescheduling
mode.
zte(cfg)#setqosqueue-schedulemode{byte|packet}SetstheQoSqueueschedulingunit.
zte(cfg)#setqosqueue-scheduleport<1-28>{session<1-7>|default}
Setstheschedulingpolicyofeach
queueoftheport.
zte(cfg)#setqosqueue-schedulesession<1-7><0-255><0-255><0-255><0-25
5><0-255><0-255><0-255><0-255>[single-wrrgroup]
Setsschedulingpolicytemplate.
zte(cfg)#setqostraffic-limitmode{byte|packet}
Setsthespeedlimitmodeoftheglobal
Ingressport.
4-51
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential