《CISCO官方配置手册NBAR.docx》由会员分享,可在线阅读,更多相关《CISCO官方配置手册NBAR.docx(10页珍藏版)》请在第壹文秘上搜索。
1、ConfiguringNetwork-BasedApp1.icationRecognitionThischapterdescribesthetasksforconfiguringtheNetwork-BasedApp1.icationRecognition(NBARfeature.Forcomp1.eteconceptua1.information,seetheScction4fcNetwork-BasedApp1.icaiionRecognitionintheC1.assification()verfiew,chapterinthisbook.Foracomp1.etedescription
2、oftheNBRcommandsmentionedinthischapter,refertotheCiscoIOSQua1.ityofServiceSo1.utionsCommandReference.To1.ocatedocuIiwntationofothercommandsthatappearinthischapter,usethecommandreferencemasterindexorsearchon1.ine.Toidentif),thehardwarep1.a1.fornorsoftwareimageinformationassociatedwithafeature,usetheF
3、eatureNavigatoronCtosearchforinformationaboutthefeatureorrefertothesoftwarere1.easenotesforaspecificre1.ease.Formoreinformation,seethc,wIdcntifyingSupportedP1.atforms*sectioninIhewUsingCiscoIOSSoftwarechapterinthisbook.NBARConfigurationTask1.istYourinterfaceIoNBARisthroughtheM1.u1.arQOSCommand-1.ine
4、Interface(Modu1.ai-QoSC1.Ifeaure.11eModu1.arQOSC1.Iprovidesamode1.forQoSconfigurationunderCiscoIOSsoftware.heModu1.arQoSC1.1.providesac1.eanseparationbetweenthespecificationofac1.assificationpo1.icyandthespecificationofotherpo1.iciesthatactbasedontheresu1.tsoftheapp1.iedc1.assification.ConfiguringaQ
5、OSpo1.icytypica1.1.yrequirestheconfigurationoftrafficc1.asses,theconfigurationofpo1.iciesthatwi1.1.beapp1.iedtothosetrafficc1.asses,andtheattachingofpo1.iciestointerfacesusingthefo1.1.owingcommands:c1.ass-mappo1.icy-mapservice-po1.icyUseIhec1.ass-mapcommandtodefineoneormoretrafficc1.assesbyspecifyin
6、gthecriteriabywhichtrafficisc1.assified.Usethepo1.icy-mapcommandtodefineoneormoreQoSPo1.iC沁S(SUChasshaping,po1.icing.andsoontoapp1.ytotrafficdefinedbyac1.assmap.Usetheservice-po1.icycommandtoattachatrafficIoanin1.erfaceonthemuter.Foradditiona1.informationontheModu1.arQOSCI.I,seeIhe44ModuIarQua1.ityo
7、fServiceCommand-1.ineInterface()verviewchapterinthisbook.ConfiguringNetwork-Based.app1.icationRecognitionNBARConfigurationTask1.istToconfigureNBR.performthe(asksdescribedinthefo1.1.owingsections.Thetasksinthefirstthreesectionsarcrequired;(hetasksintheremainingtwosectionsarcoptiona1.ConfiguringaTra1.
8、TicC1.ass(RequiredConfiguringaTrafficPo1.icy(RequiredAttachingaTrafficPo1.icytoanInterface(RequiredVerifyingTrafficPo1.icyConfiguration(Optiona1.MonitoringandMaintainingNBAR(Optiona1.NoteYoumustenab1.eCiscoExpressForwarding(CEFontherouierpriortoconfiguringtheNBRfeature.Forinformationonhowtoenab1.eCE
9、ErefertotheCiscoIOSSwitchingServicesConfigurationGuide.ScctheendofthischapterforthesectionfcfcNBARConfigurationExamp1.e.ConfiguringaTrafficCkissToconfigureatruff1.ec1.assandIhematchcriteriathatwi1.1.beusedtoidentifytrafficasbe1.ongingIo(hatc1.ass.usethec1.ass-mapg1.oba1.configurationcommand.Formorei
10、nformationabou1.matchcriteria.seethesectionCreatingaTrafficC1.asSintheChapter44ConfiguringtheModu1.arQua1.ityofServiceCommand-1.ineInterIhCeinthisbook.Todefinethematchcriteria,usethefo1.1.owingcommandsbeginninging1.oba1.configurationmic.Inthefo1.1.owingprcedurc,a1.1.trafficmatchingaspecifiedproi(o1.
11、wi1.1.bec1.assifiedasbe1.ongingIothetrafficc1.ass.Thetrafficc1.asswi1.1.c1.assifytrafficwhi1.ethetrafficpo1.icyhowtotreatthetraffic.Forinstance,ifyouwanteda1.1.FTPtraffictobemarkedwiththeQoSgroupva1.ueof1.youwou1.dusethematchprotoco1.ftpcommandinc1.ass-mapconfigurationmode,andusethesetqos-groupIcomm
12、andinpo1.icy-mapc1.assconfiguration111.c(assumingthetrafficpo1.icyusesthespecifiedc1.ass.Therefbrejhec1.assificationpuSe(CIaSSifyingFTPIrafficwou1.dbehand1.edinthetrafficc1.ass.whi1.etheQoSfeature(markingtheQoSgroupva1.ueto1wou1.dbehand1.edinthetrafficpo1.icy.CommandPurposeStep1.Router(configttc1.as
13、s-mapmatch-a1.1.matchanyc1.ass-nameSpecifiestheuser-definednameofthec1.assmap.Thcmatch-a1.1.optionspecificsthata1.1.matchcriteriainthec1.assmapmustbematched.Themutch-anyoptionspecifiesthatonetrmorematchcriterianuMmatch.Sep2Router(config-cnanatchprotoco1.protoco1.-nameSpecifiesaprotoco1.SUPPOrtedbyNB
14、ARasamatchingcriterion.ConfiguringNetwork-BasedApp1.icationRecognitionNBARConfigurationTask1.istTosecifj,heQOSpo1.iciestoapp1.ytotratTicc1.assesdefinedbyatrafficc1.ass,usethefo1.1.owingcommandsbeginninging1.oba1.configurationmode:CommandPurposeStepIRoucer(config#po1.icy-inappo1.icy-nanwSpecifiesthet
15、rafficpo!icyIKUneenteredbytheuser.Stcp2Routcr(config-pmap#c1.assc1.ass-nameSpecifiesthenameofaprevious1.ydefinedIrafficc1.ass.S1.ep3Rou1.er(cong-pmap-cEn1.erspo1.icy-mapc1.assconfigurationmode,aprerequisiteforenteringQoSpo1.icies.AttachingaTrafficPo1.icytoanIntertaceToattachatrafficpo1.icytoaninterfaceandtospecifythedirectioninwhichthetrafficpo1.icyshou1.dbeapp1.ied(oneitherpacketscomingintoIheinterfaceorpackets1.eavingtheintcrfacc.uscthefo1.1.owingcommandsininterfaceconfigurationmode,asneeded:CommandPurposeRoutcr(confg-ifscrvicc-po1.icyoutputpo1.icy-map-namcSpecificsthenameofth