Commands

Modules: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | CS1 | CS2 | All |

Module 8: Quality of Service

8.2.6

Using the class-map command to define traffic classes

> Switch(config)#class-map map-name
> Switch(config-cmap)#match access-group name ACL-name
> Switch(config)#class-map match-any map-name
> Switch(config-cmap)#match interface fastethernet interface-id

8.2.8

Defining the QoS policy – the policy-map

> Switch(config)#policy-map policy-map-name
> Switch(config-pmap)#class map-name
> Switch(config-pmap-c)#bandwidth kbps
> Switch(config-pmap)#class class-default

8.2.9

Applying the policy to an interface – the service-policy

> Switch(config-if)#service-policy output policy-map-name

8.3.3

Configuring CoS trust using the IOS

> switch(config-if)#mls qos trust cos
> switch(config-if)#mls qos cos default-cos

8.3.5

Re-writing the CoS

> Router(config-if)#mls qos cos override

8.3.6

Using a MAC ACL to assign a DSCP value

> Switch(config)#mac access-list extended access-list-name
> Switch(config)#{deny | permit} {any | host source MAC address} {any | host destination MAC address} [aarp | amber | appletalk | dec-spanning | decnet-iv | diagnostic | dsm | etype-6000 | etype-8042 | lat | lavc-sca | mop-console | mop-dump | msdos | mumps | netbios | vines-echo |vines-ip | xns-idp]
> Switch#show access-lists [number | name]

8.3.7

Configuring DSCP using a MAC ACL

> Switch(config)#class-map match-all access-list-name
> Switch#show class-map
> Switch(config)#policy-map inbound-accesslayer
> Switch(config-pmap)#class access-list-name
> Switch(config-pmap-c)#set ip dscp number
> Switch#show policy-map
> Switch(config)#int range FastEthernet start-inteface-id - end-inteface-id
> Switch(config-if-range)#service-policy input inbound-accesslayer
> Switch#show mls qos interface
> Switch#show mls qos interface inteface-id

8.3.8

Using an IP ACL to define the DSCP or Precedence

> Switch(config)#ip access-list extended ACL-number
> Switch(config-pmap-c)#set ip precedence number

8.4.2

Individual Policers

> Router(config-pmap-c)#police rate-bps burst-byte [exceed-action {drop|policed-dscp-transmit}]

8.4.3

Aggregate Policers

> Switch(config)#mls qos aggregate-police aggregate-policer-name rate-bps burst-byte exceed-action {drop | policed-dscp-transmit}

8.4.4

Token Bucket

> Switch(config-pmap-c)#police rate-bps burst-byte [exceed-action {drop | policed-dscp-transmit}]

8.4.6

Configuring the policed DSCP map

> Switch(config)#mls qos map policed-dscp dscp-list to mark-down-dscp
> Switch#show mls qos maps policed-dscp

8.4.7

Configuring Classification using CAR

> Switch(config)#access-list 1 permit 10.1.0.0 0.0.255.255
> Switch(config)#class-map ipclass1
> Switch(config-pmap-c)#trust dscp
> Switch(config-if)#service-policy input policy-map-name

8.4.8

Configuring policing using CAR

> Switch(config)#access-list 1 permit 10.1.0.0 0.0.255.255
> Switch(config)#interface gigabitethernet0/1

8.5.3

Weighted Fair Queuing (WFQ)

> Router(config-if)#fair-queue

8.5.6

Configuring CBWFQ

> Router(conf)#mls qos
> Router(conf)#class-map prioritytraffic
> Router(conf)#match dscp 50
> Router(config-if)#service-policy output service-policy-name
> Router#show policy-map policy-map class class-name
> Router#show policy-map interface interface-name
> Router#show queue interface-type interface-number
> Router#show policy-map interface

8.5.7

CBWFQ bandwidth allocation

> Router(config-if)#max-reserved-bandwidth percent

8.6.3

Configuring WRED on a physical interface

> Router(config-if)#random-detect
> Router(config-if)#random-detect exponential-weighting-constant exponent min-threshold max-threshold mark-prob-denominator
> Router(config-if)#random-detect precedence precedence min-threshold max-threshold mark-prob-denominator

8.6.4

Verifying WRED configuration

> Router#show interfaces [type slot|port-adapter|port]
> Router#show queueing random-detect

8.6.7

Configuring LLQ

> Router(config-pmap-c)#priority bandwidth
> Router#debug priority
> Router#debug
> Router#show queue

8.7.3

Configuring GTS for an interface

> Router(config-if)#traffic-shape rate bit-rate [burst-size [excess-burst-size]]
> Router(config-if)#traffic-shape group access-list-number bit-rate [burst-size [excess-burst-size]]

8.7.5

Configuring GTS for Frame Relay networks

> Router(config-if)#traffic-shape adaptive[bit-rate]
> Router(config-if)#traffic-shape fecn-adapt

8.7.6

Verifying GTS configuration

> Router#show traffic-shape
> Router#show traffic-shape statistics

8.8.6

Configuring cRTP

> Router(config-if)#ip rtp header-compression [passive]
> Router(config-if)#ip tcp header-compression [passive]

| Close Window |

| All contents copyright © 2003 Cisco Systems, Inc. All rights reserved.