Enterasys X-Pedition XSR CLI Specifikace Strana 482

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 684
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 481
Policy-Map Commands
12-86 Configuring Quality of Service
Example
Thesecommandscreateclass‐mapclass1anddefineitsmatchcriteria:
XSR(config)#class-map class1
XSR(config-cmap<class1>)#match access-group 136
Thesecommandscreatethepolicymapwhichisdefinedtocontainpolicyspecificationsforclass1
andthedefaultclass:
XSR(config)#policy-map policy1
XSR(config-pmap<policy1>)#class class1
XSR(config-pmap-c<class1>)#bandwidth 2000
XSR(config-pmap-c<class1>)#queue-limit 40
XSR(config-pmap<policy1>)#class class-default
XSR(config-pmap-c<class-default>)#queue-limit 20
bandwidth
Thiscommandspecifiesormodifythebandwidthallocatedforaclassbelongingtoapolicymap.
Itisusedinconjunctionwithaclassdefinedbythe
class-mapcommand.Thebandwidth
commandspecifiesthebandwidthfortrafficinthatclass.Class‐BasedWeightedFairQueueing
(CBWFQ)derivestheweightforpacketsbelongingtotheclassfromthebandwidthallocatedto
theclass.CBWFQthenusestheweighttoensurethatthequeuefortheclassisservicedfairly.
Theamountofbandwidth
canbespecifiedinpercentagesorkilobitspersecond(kbps).When
configuredinkbps,theclassweightiscalculatedasaratioofthebandwidthspecifiedforthatclass
overtheavailablelinkbandwidth.Theavailab lelinkbandwidthisequaltotheinterface
bandwidthminusthesumofallbandwidth
reservedforlowlatencyqueues.Whenconfiguredin
percentages,theclassweightisequaltothebandwidthpercentages.
Configuringbandwidthinpercentagesismostusefulwhentheunderlyinglinkbandwidthis
unknown,changesovertime,ortherelativeclassbandwidthdistributionsareknown.For
interfacesthathaveadaptiveshapingrates,
CBWFQcanbesetbyconfiguringclassbandwidthsin
percentages.
Thefollowingrestrictionsapplytothe
bandwidthcommand:
•Ifthe
percentkeywordisused,thesumofclassbandwidthpercentagescannotexceed100%.
•TheamountofbandwidthsetshouldbelargeenoughtoalsoaccommodateLayer 2overhead.
•Apolicymapcanhavealltheclassbandwidthsspecifiedinkbpsoralltheclassbandwidths
specifiedinpercentages,butnota
mixofboth.But,theunitfortheprioritycommandinthe
priorityclasscanbedifferentfromthebandwidthunitoftheCBWFQ.
Syntax
bandwidth {bandwidth-kbps | percent percent}
Note: When the bandwidth of an interface is insufficient to satisfy the bandwidth of a policy map, the
interface becomes oversubscribed and some CBFWQ classes may become unable to transmit.
bandwidth-kbps
Amountofbandwidth,inkbps,assignedtotheclass.
percent
Availablebandwidthpercentageassignedtotheclass.
Zobrazit stránku 481
1 2 ... 477 478 479 480 481 482 483 484 485 486 487 ... 683 684

Komentáře k této Příručce

Žádné komentáře