Sunteți pe pagina 1din 5

22/5/2015

Catalyst2950SeriesSwitchesQualityofService(QoS)FAQCisco

LANQualityofService

Catalyst2950SeriesSwitchesQualityofService(QoS)FAQ
HOME

Contents

SUPPORT
TECHNOLOGYSUPPORT
LANSWITCHING
LANQUALITYOFSERVICE
TECHNOLOGYINFORMATION
TECHNOLOGYQ&A
Catalyst2950SeriesSwitches
QualityofService(QoS)FAQ

Introduction
WhatisthesoftwareversionrequirementfortheQoSfeatureson
Catalyst2950seriesswitches?
WhatQoSfeaturesdoesthe2950standardimage(SI)support?
WhatQoSfeaturesdoesthe2950enhancedimage(EI)support?
DotheCatalyst2950seriesswitchessupportratelimitingorpolicingon
portsorVLANs?
CantheCatalyst2950seriesswitchesmarkorrewriteIPprecedence
(typeofservice[ToS])bitsinanIPpacket?
DotheCatalyst2950seriesswitchesprovidepriorityschedulinginthe
input/ingressport?
DotheCatalyst2950seriesswitcheshonortheincomingclassof
service(CoS)valuesinIEEE802.1p(dot1p)tagsfromIPphones?
MyserverorIPphone/devicecannottagclassofservice(CoS)values.
CantheCatalyst2950seriesswitchestagthetrafficfromthe
server/deviceforaspecificCoSvalue?
CanIoverridetheincomingclassofservice(CoS)toaspecificCoS
value?
Whatispassthroughmode?
CanIreclassifytheclassofservice(CoS)valueofdatathatare
generatedfromaPCthatconnectstoanIPphone?TheIPphone
attachestoaCatalyst2950seriesswitch.
WhatkindofoutputschedulingdotheCatalyst2950seriesswitches
provide?
CanIuseaccesscontrollists(ACLs)todefinetrafficfortheapplication
ofQoSfeatures?
HowdoIconfiguretheCatalyst2950seriesswitcheswithvoiceVLANs
forCiscoIPphoneconnections?
HowdoIverifytheQoSconfigurationontheCatalyst2950series
switches?
Whatistheshowcommandtocheckonthepolicermetricsona
Catalyst2950seriesswitch?
RelatedInformation
RelatedCiscoSupportCommunityDiscussions

Introduction
ThisdocumentaddressestheFrequentlyAskedQuestions(FAQs)ontheQualityofService(QoS)features
oftheCiscoCatalyst2950seriesswitches.

Q.WhatisthesoftwareversionrequirementfortheQoSfeaturesonCatalyst2950series
switches?
A.The2950supportsegressqueuingandschedulingbasedonIEEE802.1pclassofservice
(CoS)valueswithCiscoIOSSoftwareRelease12.0(5)WC(1)andlater.Eachportonthe
switchgetsadefaultpriorityvalue.Framesthatarereceiveduntaggedareassignedthisvalue.
Forthoseframesthatarereceivedtagged,the2950usesthevalueinthetag.The2950
queuesframesattheegressportintooneoffourpriorityqueues.Theswitchmakesthequeue
assignmentsonthebasisofthepriorityorCoSvaluethatisassignedtotheframeatingress.
Youcanconfigureegressschedulingaseitherstrictpriorityorweightedroundrobin(WRR)
scheduling.TheCatalyst2950seriesswitchesruntwofeaturesetsofCiscoIOSSoftware,a
standardimage(SI)andanenhancedimage(EI).Severalfeaturedifferencesexistbetween
theSIversionandtheEIversion.TheSIonlysupportstheoutputschedulingQoSfeatures,
whereastheEIaddssupportforclassification,marking,andpolicing.RefertotheRelease
NotesfortheCatalyst2955,Catalyst2950,andCatalyst2940Switches,CiscoIOSRelease
12.1(22)EA4forhardwareandsoftwarecompatibility.

Q.WhatQoSfeaturesdoesthe2950standardimage(SI)support?
A.The2950withtheSIsupportsqueuingandschedulingategress.The2950withSIsupports
ingressclassificationwithuseofporttruststatesinCiscoIOSSoftwareRelease12.1(11)EA1
andlater.Youcanconfiguretheingressporttotrusteitherclassofservice(CoS)or
differentiatedservicescodepoint(DSCP),wherethedefaultporttruststateisuntrusted.You
canconfigureegressschedulingaseitherstrictpriorityschedulingorweightedroundrobin
(WRR)scheduling.
InCiscoIOSSoftwareReleases12.0,SIonlysupportsconfigurationonCoSprioritiesand
WRR.InCiscoIOSSoftwareReleases12.1andlater,SIaddedthesefeatures:
Classification
ClassificationonthebasisofCiscoDiscoveryProtocol(CDP)fromaCiscoIP
phone
Outputqueuingandscheduling
Strictpriorityscheduling

http://www.cisco.com/c/en/us/support/docs/lanswitching/lanqualityofservice/465232950qosfaq.html#qa2

1/5

22/5/2015

Catalyst2950SeriesSwitchesQualityofService(QoS)FAQCisco
WRRscheduling

Q.WhatQoSfeaturesdoesthe2950enhancedimage(EI)support?
A.The2950withtheEIsupportsLayer2(L2)Layer4(L4)classificationatingresswithuseof:
Porttruststates
QoSaccesscontrollists(ACLs)
Classmapsandpolicymaps
The2950withEIalsosupportspolicingandmarkingatingressaswellasqueuingand
schedulingategress.Youcanconfigureegressschedulingaseitherstrictpriorityschedulingor
weightedroundrobin(WRR)scheduling.RefertotheReleaseNotesfortheCatalyst2955,
Catalyst2950,andCatalyst2940Switches,CiscoIOSRelease12.1(22)EA4forhardwareand
softwarecompatibility.
InCiscoIOSSoftwareReleases12.0,EIonlysupportsconfigurationonclassofservice(CoS)
prioritiesandWRR.InCiscoIOSSoftwareReleases12.1,EIaddedthesefeatures:
Classification
Classificationonthebasisof:
Porttruststate
Accesscontrollists(ACLs)
Policymaps
CiscoDiscoveryProtocol(CDP)fromaCiscoIPphone
TrustofCoS/differentiatedservicescodepoint(DSCP)
PortsCoSconfiguration
Marking
Policing
Ingresspolicing
Configurationofthemappingtable
CoStoDSCP
DSCPtoCoS
Outputqueuingandscheduling
Strictpriorityscheduling
WRRscheduling

Q.DotheCatalyst2950seriesswitchessupportratelimitingorpolicingonportsor
VLANs?
A.Catalyst2950seriesswitchesthatruntheenhancedimage(EI)supportingresspolicingon
physicalinterfacesonly.PolicersdonothavesupportonVLANinterfaces.Catalyst2950series
switchesthatrunthestandardimage(SI)donotsupportpolicing.Theminimumreleasewith
supportisCiscoIOSSoftwareRelease12.1.

Q.CantheCatalyst2950seriesswitchesmarkorrewriteIPprecedence(typeofservice
[ToS])bitsinanIPpacket?
A.Yes,theCatalyst2950seriesswitchesthatruntheenhancedimage(EI)canmarkor
rewriteToSbitsintheheaderofanIPversion4(IPv4)packet.Useapolicymapthatcontains
thesetipdscpstatement.Orconfigureapolicertomarkdownorrewritethedifferentiated
servicescodepoint(DSCP)valueonframesthatdonotconformtotherulesinthepolicer.
Note:TheCatalyst2950onlysupportsingresspolicing.

Q.DotheCatalyst2950seriesswitchesprovidepriorityschedulingintheinput/ingress
port?
A.Catalyst2950seriesswitchesdonotprovideanyingressscheduling,buttheydosupport
egressqueuingandscheduling.Usethewrrqueuebandwidthcommand.Thedefaultisto
useFIFO.

Q.DotheCatalyst2950seriesswitcheshonortheincomingclassofservice(CoS)values
inIEEE802.1p(dot1p)tagsfromIPphones?
A.TheCatalyst2950seriesswitchesprovideQoSbased802.1pCoSvalues.InCiscoIOS
SoftwareRelease12.0(5)WC1andlater,the2950seriesswitcheshonortheCoSvalueofan
incomingframebydefault.
Note:Foruntaggedframesthatarereceivedontrustedanduntrustedports,QoSassignsthe
CoSvaluethatthemlsqoscosinterfaceconfigurationcommandspecifies.Bydefault,this
valueiszero,whichistrusted.

Q.MyserverorIPphone/devicecannottagclassofservice(CoS)values.Canthe
Catalyst2950seriesswitchestagthetrafficfromtheserver/deviceforaspecificCoS
value?
http://www.cisco.com/c/en/us/support/docs/lanswitching/lanqualityofservice/465232950qosfaq.html#qa2

2/5

22/5/2015

Catalyst2950SeriesSwitchesQualityofService(QoS)FAQCisco
A.Yes,theswitchcantagthetraffic.Butyoumustconfiguretheportasatrunkportand
configuremlsqoscosvalue,aswell.Inthissampleconfiguration,interfaceFastEthernet0/1
connectstoanIPphonethatcannottagCoSvalues:
interfacefastethernet0/1
switchportmodetrunk
mlsqoscos7

ForIEEE802.1Qframeswithtaginformation,thepriorityvaluefromtheheaderframeis
used.ForframesthatarereceivedonthenativeVLAN,thedefaultpriorityoftheinputportis
used.

Q.CanIoverridetheincomingclassofservice(CoS)toaspecificCoSvalue?
A.Yes,youcanoverridetheCoS.Issuethemlsqoscos{defaultcos|override}command.
Thecommandoverridesthepreviouslyconfiguredtruststateoftheincomingpacketsand
appliesthedefaultportCoSvaluetoallincomingpackets.CiscoIOSSoftwareRelease12.1
andlatersupportthiscommand.

Q.Whatispassthroughmode?
A.Inpassthroughmode,theswitchusestheclassofservice(CoS)valueofincomingpackets
withoutamodificationofthedifferentiatedservicescodepoint(DSCP)value.Theframecan
passthroughtheswitchwithboththeincomingCoSandDSCPvaluesintact.Whenyou
disablepassthroughmodeandconfiguretheswitchporttotrustCoS,theDSCPvalueis
derivedfromtheCoStoDSCPmap.Inthiscase,theDSCPusuallychangesasaresult.In
CiscoIOSSoftwarereleasesearlierthanCiscoIOSSoftwareRelease12.1(11)EA1,this
derivationoftheDSCPvalueisonbydefaultandyoucannotchangeit.InCiscoIOS
SoftwareRelease12.1(11)EA1andlater,youcanconfigurethiswiththeenablementofpass
throughmodeontheport.
Hereisasampleconfiguration:
interfacefastethernet0/1
switchportmodeaccess
mlsqostrustcospassthroughdscp

Q.CanIreclassifytheclassofservice(CoS)valueofdatathataregeneratedfromaPC
thatconnectstoanIPphone?TheIPphoneattachestoaCatalyst2950seriesswitch.
A.Yes,youcanreclassifytheCoSvalueofthedata.Issuetheswitchportpriorityextend
cosinterfaceconfigurationcommand.ThecommandconfigurestheIPphonetooverridethe
priorityofthetrafficthatcomesfromthePC.

Q.WhatkindofoutputschedulingdotheCatalyst2950seriesswitchesprovide?
A.The2950seriesswitchessupportfourclassofservice(CoS)queuesforeachegress
port.ForCiscoIOSSoftwarereleasesearlierthanCiscoIOSSoftwareRelease
12.1(12c)EA1,thereissupportforCoSpriorityqueueandweightedroundrobin(WRR)
scheduling.Hereisasampleconfiguration:
wrrqueuecosmap101
wrrqueuecosmap223
wrrqueuecosmap345
wrrqueuecosmap467
wrrqueuebandwidth1234

Note:1isthelowestCoSpriorityqueue,and4isthehighest.
InCiscoIOSSoftwareRelease12.1(12c)EA1andlater,thereissupportforexpeditequeue
andWRRschedulinginstead.Thisschedulingusesoneofthefouregressqueues(queue4)as
anexpeditequeue.WRRschedulingisperformedonthethreeegressqueuesthatremain.The
expeditequeueisastrictpriorityqueue.Beforetheserviceoftheotherthreequeues,this
expeditequeuealwaysreceivesservicefirst,untilitisempty.Forallreleases,strictpriority
schedulingisthedefault.Hereisasampleconfiguration:
wrrqueuecosmap10124
wrrqueuecosmap3367
wrrqueuecosmap45
wrrqueuebandwidth201800

Note:CoS5ismappedtoqueue4.Queue4istheexpeditequeue,withbandwidthassigned
to0.

Q.CanIuseaccesscontrollists(ACLs)todefinetrafficfortheapplicationofQoS
features?
A.Yes,youcanuseIPstandard,IPextended,andLayer2(L2)MACACLsinordertodefine
agroupofpacketswiththesamecharacteristics.Thisdefinitionofagroupofpacketsclassifies
thepackets.However,configurationofadenyactionisnotsupportedinQoSACLsonthe
switch.Also,ifthereisamatchwithapermitaction,theswitchtakesthespecifiedaction
thatrelatestoQoSandexitsthelist.Ifthereisnomatchwithallentriesinthelist,thenthe
QoSprocessingdoesnotoccuronthepacket.ForallCiscoIOSSoftwarereleases,this
processhassupportinenhancedimage(EI)only.CiscoIOSSoftwareRelease12.1(11)EA1
andlatersupportthematchonthebasisofthedifferentiatedservicescodepoint(DSCP)
value.

Q.HowdoIconfiguretheCatalyst2950seriesswitcheswithvoiceVLANsforCiscoIP
phoneconnections?
A.ForCiscoIOSSoftwareRelease12.1(12c)EA1andlater,whenyouconfigurethe2950as
anaccesslayerswitchforvoice,firstmodifythedefaultclassofservice(CoS)todifferentiated
servicescodepoint(DSCP)mappingtablesothat:
CoS3mapstoDSCP26

http://www.cisco.com/c/en/us/support/docs/lanswitching/lanqualityofservice/465232950qosfaq.html#qa2

3/5

22/5/2015

Catalyst2950SeriesSwitchesQualityofService(QoS)FAQCisco
CoS4mapstoDSCP34
CoS5mapstoDSCP46
Next,enablevoiceanddataVLANsonthephoneportandsettheIPphonetrustboundary.
IssuethemlsqostrustcoscommandfromtheIPphone.Finally,modifytheCoStoegress
queuemappingandenabletheexpeditequeue.Withenablementoftheexpeditequeue,voice
packetsalwaysreceiveservicebeforeallotherpackets.Hereisasampleconfiguration:
c2950(config)#mlsqosmapcosdscp08162634464856
c2950(config)#mlsqosbandwidth1020700
c2950(config)#interfacefastethernet0/1
c2950(configif)#mlsqostrustcos
c2950(configif)#switchportvoicevlan100
c2950(configif)#switchportaccessvlan10
c2950(configif)#switchportpriorityextendcos0

Also,theautoQoSfeaturehassupportinCiscoIOSSoftwareRelease12.1(12c)EA1and
later.YoucanusetheautoQoSfeaturetosimplifythedeploymentofexistingQoSfeatures.
AutoQoSmakesassumptionsaboutthenetworkdesign.Asaresult,theswitchcanprioritize
differenttrafficflowsandappropriatelyusetheegressqueuesinsteadofthedefaultQoS
behavior.Theswitchoffersbesteffortservicetoeachpacket,regardlessofthepacketcontents
orsize,andsendsthepacketfromasinglequeue.WhenyouenableautoQoS,thefeature
automaticallyclassifiestrafficonthebasisoftraffictypeandingresspacketlabel.Theswitch
usestheclassificationinordertochoosetheappropriateegressqueue.YouuseautoQoS
commandsinordertoidentifyportsthatconnecttoCiscoIPphones.Youcanalsoidentify
portsthatreceivetrustedVoIPtrafficthroughanuplink.AutoQoSthenperformsthese
functions:
DetectsthepresenceorabsenceofIPphones
ConfiguresQoSclassification
Configuresegressqueues

Q.HowdoIverifytheQoSconfigurationontheCatalyst2950seriesswitches?
A.UsethecommandsinthistableinordertoverifyyourQoSconfiguration:
Command

Purpose

showclass
map[class
mapname] 1

TodisplayQoSclassmaps,which
definethematchcriteriatoclassify
traffic.

showpolicy
map[policy
mapname
[classclass
name]] 1

TodisplayQoSpolicymaps,which
defineclassificationcriteriafor
incomingtraffic.

showmlsqos
maps[cos
dscp|dscp
cos] 1

TodisplayQoSmappinginformation.
Mapsenablethegenerationofan
internalDSCP 2value,which
representsthepriorityofthetraffic.
TodisplayQoSinformationatthe
interfacelevel.Thisinformation
includes:
Theconfigurationofthe
egressqueuesandtheCoS 3
toegressqueuemap

showmlsqos
interface
[interfaceid]
[policers] 1

Whichinterfaceshave
configuredpolicers
Ingressandegressstatistics,
whichincludesthenumberof
bytesthathavebeendropped

showwrr
queuecos
map

TodisplaythemappingoftheCoS
priorityqueues.

showwrr
queue
bandwidth

TodisplaytheWRR4bandwidth
allocationfortheCoSpriority
queues.

1Thiscommandisavailableonlyonaswitchthatrunstheenhancedimage(EI).
2DSCP=differentiatedservicescodepoint
3CoS=classofservice
4WRR=weightedroundrobin

Q.WhatistheshowcommandtocheckonthepolicermetricsonaCatalyst2950series
switch?
A.OnaCatalyst2950seriesswitch,therearenotanyshowcommandstodisplaythepolicer
conform/exceed/droprates,orthenumberofpacketsmatchingtheACLsinthepolicer.Asa
workaround,measureasingleconstantbitrateflowwiththeinputrateontheingressinterface
andtheoutputrateontheegressinterface.Then,verifyifthepolicerdidthejobasexpected.

http://www.cisco.com/c/en/us/support/docs/lanswitching/lanqualityofservice/465232950qosfaq.html#qa2

4/5

22/5/2015

Catalyst2950SeriesSwitchesQualityofService(QoS)FAQCisco

RelatedInformation
ConfiguringQoS
LANProductSupport
LANSwitchingTechnologySupport
TechnicalSupport&DocumentationCiscoSystems

Wasthisdocumenthelpful?

OpenaSupportCase

Yes

No

(RequiresaCiscoServiceContract.)

RelatedCiscoSupportCommunityDiscussions
Sorrytherearenodiscussionsmatchingthesearchcriteria'lanqualityofservice'

TheCiscoSupportCommunityisaforumforyoutoaskandanswerquestions,sharesuggestions,and
collaboratewithyourpeers.
RefertoCiscoTechnicalTipsConventionsforinformationonconventionsusedinthisdocument.

Updated:Sep01,2005

DocumentID:46523

InformationFor

News&Alerts

Support

AboutCisco

SmallBusiness

Newsroom

Downloads

InvestorRelations

MidsizeBusiness

Blogs

Documentation

CorporateSocialResponsibility

ServiceProvider

FieldNotices

Executives

SecurityAdvisories

Industries

TechnologyTrends

LearningNetwork

Cloud

SupportCommunity

Marketplace

InternetofThings(IoT)

Contacts

Mobility

ContactCisco

SoftwareDefinedNetworking(SDN)

Communities
DevNet

VideoPortal

FindaPartner

EnvironmentalSustainability
TomorrowStartsHere
OurPeople

Careers
SearchJobs
LifeatCisco

Programs
CiscoDesignatedVIPProgram
CiscoPowered
FinancingOptions

Contacts |

Feedback | Help | SiteMap | Terms&Conditions | PrivacyStatement | CookiePolicy | Trademarks

http://www.cisco.com/c/en/us/support/docs/lanswitching/lanqualityofservice/465232950qosfaq.html#qa2

5/5

S-ar putea să vă placă și