Chapter 24 Configuring QoS

Understanding QoS

Router(config-pmap-c)# exit

Router(config-pmap)# class out-class2

Router(config-pmap-c)#bandwidth remaining percent 50

Router(config-pmap-c)# exit

Router(config-pmap)# class out-class3

Router(config-pmap-c)#bandwidth remaining percent 20

Router(config-pmap-c)# exit

Router(config-pmap)# exit

Router(config)# interface gigabitethernet 0/1

Router(config-if)#service-policy output policy1

Router(config-if)# exit

This example shows how to use the priority with percent commands to configure out-class1as the priority queue, with traffic going to the queue limited to 20000000 bps so that the priority queue will never use more than that. Traffic above that rate is dropped. The other traffic queues are configured to use 50 and 20 percent of the bandwidth that is left, as in the previous example.

Router(config)# policy-map policy1

Router(config-pmap)# class out-class1

Router(config-pmap-c)# priority percent 20

Router(config-pmap-c)# exit

Router(config-pmap)# class out-class2

Router(config-pmap-c)# bandwidth percent 50

Router(config-pmap-c)# exit

Router(config-pmap)# class out-class3

Router(config-pmap-c)# bandwidth percent 20

Router(config-pmap-c)# exit

Router(config-pmap)# exit

Router(config)# interface gigabitethernet 0/1

Router(config-if)#service-policy output policy1

Router(config-if)# exit

The following example shows how to use the priority with percent commands to configure multiple traffic classes:

Router(config)# policy-map pmap_bckbone

Router(config-pmap)# class VOICE_GRP

Router(config-pmap-c)# priority percent 50

Router(config-pmap-c)# exit

Router(config-pmap)# class CTRL_GRP

Router(config-pmap-c)# priority percent 5

Router(config-pmap-c)# exit

Router(config-pmap)# class E1_GRP

Router(config-pmap-c)# priority percent 55

Router(config-pmap-c)# exit

Router(config-pmap)# class class-default

Router(config-pmap-c)# bandwidth percent 10

Router(config-pmap-c)# exit

Router(config-pmap)# exit

Ingress and Egress QoS Functions

This section lists the supported and unsupported qos functions for ingress and egress.

Ingress QoS Functions

In Cisco ASR 901 router:

Interfaces support ingress classification.

Ethernet interfaces support ingress policing.

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

24-24

OL-23826-09

Page 460
Image 460
Cisco Systems A9014CFD manual Ingress and Egress QoS Functions, Ingress QoS Functions, 24-24