Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
DQOS Exam Certification Guide - Cisco press.pdf
Скачиваний:
73
Добавлен:
24.05.2014
Размер:
12.7 Mб
Скачать

796 Appendix A: Answers to the “Do I Know This Already?” Quizzes and Q&A Sections

12Which of the traffic-shaping tools can be enabled on each VC on a Frame Relay multipoint subinterface?

FRTS.

Q&A

Shaping and Policing Concepts

1Explain the points during the process of a single router receiving and forwarding traffic at which shaping and policing can be enabled on a router.

Shaping can be enabled for packets exiting an interface, subinterface, or individual VC. Policing can be performed both on packets entering an interface or exiting an interface.

2Compare and contrast the actions that shaping and policing take when a packet exceeds a traffic contract.

Shaping queues packets when the shaping rate is exceeded. Policing either discards the packet, just transmits the packet, or it re-marks a QoS field before transmitting the packet.

3Compare and contrast the effects that shaping and policing have on bandwidth, delay, jitter, and loss.

Shaping places packets into queues when the actual traffic rate exceeds the traffic contract, which causes more delay, and more jitter. Policing when making a simple decision to either discard or forward each packet causes more packet loss, but less delay and jitter for the packets that do make it through the network.

4Describe the typical locations to enable shaping and policing in an internetwork.

Shaping is typically performed before sending packets into a network that is under some other administrative control. For instance, shaping is typically performed before sending packets from an enterprise into a service provider’s Frame Relay network. Policing, although supported as both an input and output function, is typically performed at ingress points, once again at the edge between two administrative domains.

Chapter 5 797

5Describe the reasons behind egress blocking in a Frame Relay network with a T1 access link at the main site, 128-kbps access links at each of 20 remote sites, with 64-kbps CIR VCs from the main site to each remote site.

Egress blocking can occur for frames leaving the Frame Relay network going to the main site, because the sum of the access rates of the 20 sites exceeds the access rate at the main site. Egress blocking occurs for packets leaving the Frame Relay network going to an individual remote site, because the access rate at the main site exceeds the access rate at each remote site.

6If a router has a shaping tool configured, with a shaping rate of 256 kbps, and a Bc of 16,000 bits, what Tc value does the shaping tool use?

Because Tc = Bc/CIR, the answer is 16,000/256,000, or 62.5 ms.

If a router has a shaping tool configured, with a shaping rate of 512 kbps, and a Be of 16,000 bits, what Tc value does the shaping tool use?

Tc is not calculated based on Be, so you cannot know the answer with this limited amount of information. The formula to calculate Tc is as follows: Tc = Bc/CIR, where CIR is the shaping rate. If you know Bc and CIR, you can calculate the Tc value.

7Define the terms Tc, Bc, Be, and CIR.

Tc: Time interval, measured in milliseconds, over which the committed burst (Bc) can be sent.

Bc: committed burst size, measured in bits. This is the amount of traffic that can be sent during every interval Tc. Typically also defined in the traffic contract.

Be: Excess burst size, in bits. This is the number of bits beyond Bc that can be sent in the first Tc after a period of inactivity.

CIR: committed information rate, in bits per second, defines the amount of bandwidth that the provider has agree to provide as defined in the traffic contract.

8Explain the goal of the Da and Dc debt processes when using CAR.

CAR attempts to reduce congestion by getting the senders of the traffic to slow down, similar to WRED.

9Describe the concept of traffic-shaping adaption, explaining the two triggers that cause shaping to adapt.

Adaption causes the shaper to reduce the shaping rate during congestion. Shaping can react to frames with the BECN bit set, or to Cisco Foresight congestion messages.

798 Appendix A: Answers to the “Do I Know This Already?” Quizzes and Q&A Sections

10Describe the difference between interface output queues and shaping queues, and explain where the queues could exist on a router with 1 physical interface and 20 subinterfaces.

Output queues exist on the physical interface, and can be controlled with queuing tools such as CBWFQ, CAR, and WFQ. Shaping queues exist when traffic shaping is enabled; the shaping queue is associated with the particular instance of shaping. If shaping has been enabled on 20 subinterfaces on a single physical interface, for instance, 20 sets of shaping queues exist, all feeding into the single set of physical interface output queues.

Traffic Shaping

11What do the following intialisms stand for? FRTS, GTS, DTS, and CB shaping

Frame Relay traffic shaping, generic traffic shaping, distributed traffic shaping, and class-based shaping.

12List the command, with the correct syntax, that sets a shaped rate of 128 kbps, a Bc of 8000, and a Be of 8000, when using GTS. Do not assume any defaults; explicitly set the values in the command.

traffic-shape rate 128000 8000 8000

13Along with the class-map, policy-map, and service-policy commands, CB shaping requires one specific command that actually sets values used for the shaping function. List the command, with the correct syntax, that sets a shaped rate of 128 kbps, a Bc of 8000, and a Be of 8000, when using CB shaping. Do not assume any defaults; explicitly set the values in the command.

shape 128000 8000 8000

14Along with the class-map, policy-map, and service-policy commands, DTS requires one specific command that actually sets values used for the shaping function. List the command, with the correct syntax, that sets a shaped rate of 128 kbps, a Bc of 8000, and a Be of 8000, when using DTS. Do not assume any defaults; explicitly set the values in the command.

shape 128000 8000 8000

15Many commands are needed to configure FRTS, but the actual shaping parameters, such as CIR and Bc, are set under the map-class frame-relay command. List the map-class subcommands, with the correct syntax, that sets a shaped rate of 128 kbps, a Bc of 8000, and a Be of 8000, when using FRTS, and using multiple commands. Do not assume any defaults; explicitly set the values in the commands.

frame-relay bc 8000 frame-relay be 8000 frame-relay cir 128000

Chapter 5 799

16Compare and contrast the use of the class-map and map-class commands in terms of how each is used by FRTS and CB shaping.

FRTS uses map-class to create a common set of shaping parameters, which are then applied to an interface, subinterface, or VC. FRTS does not use the class-map command for shaping. Likewise, CB shaping does not use the map-class command. It does, however, use the class-map command for defining classification options. Interestingly, FRTS can use the class-map command indirectly, when using CBWFQ or LLQ. (Example 5-9 shows a sample configuration.)

17Describe the context inside the configuration mode under which the service-policy command can be used to enable LLQ on an FRTS shaping queue. (“Context” means what part of configuration mode—for instance, global-configuration mode, interface configuration mode, and so on.)

You can use the service-policy command inside map-class configuration mode.

18Explain the context inside the configuration mode under which the service-policy command can be used to enable LLQ on a CB shaping queue. (“Context” means what part of configuration mode—for instance, global-configuration mode, interface configuration mode, and so on.)

CB shaping requires a policy map, with class commands inside the policy map. Inside class configuration mode inside the CB shaping policy map, the service-policy command can refer to another policy map, which could enable LLQ for the class.

19Explain the context inside the configuration mode under which the service-policy command can be used to enable LLQ on a GTS shaping queue. (“Context” means what part of configuration mode—for instance, global-configuration mode, interface configuration mode, and so on.)

GTS does not support LLQ as one of its shaping queues.

20GTS has been configured under subinterface s0/0.1. What show command lists statistics for GTS behavior just for that subinterface?

show traffic-shape statistics interface s0/0.1

21DTS has been configured under subinterface s0/0.1. What show command lists statistics for DTS behavior just for that subinterface?

show policy-map interface s0/0.1

22CB shaping has been configured under subinterface s0/0.1. What show command lists statistics for CB shaping behavior just for that subinterface?

show policy-map interface s0/0.1

800 Appendix A: Answers to the “Do I Know This Already?” Quizzes and Q&A Sections

23FRTS has been configured under subinterface s0/0.1. What show command lists statistics for FRTS behavior just for that subinterface?

show traffic-shape statistics interface s0/0.1

24Which of the traffic-shaping tools can be enabled on PPP interfaces?

GTS, DTS, and CB shaping.

25Which of the traffic-shaping tools can be enabled on each VC on a Frame Relay multipoint subinterface?

FRTS.

26Which of the traffic-shaping tools support adaptive shaping?

FRTS, GTS, DTS, and CB shaping.

27For which of the traffic-shaping tools does IOS perform shaping processing on 7500 VIP cards?

DTS.

28Which of the traffic-shaping tools can classify traffic to shape subsets of the traffic on a subinterface?

GTS, DTS, and CB shaping.

29Which shaping tools do not support WFQ and PQ to be used for the shaping queues?

GTS, CB shaping, DTS.

30Which shaping tools do not allow WFQ or LLQ to be used for the interface output queuing at the same time as the shaping tool is enabled on the same interface?

FRTS.

Traffic-Policing Tools

31Explain the use of the continue keyword as part of CAR policing actions, and the feature CAR provides through the keyword.

CAR allows nested, or cascaded, rate-limit commands. A single packet can match the classification logic of a rate-limit command, but if the action includes the continue keyword, the packet is compared to any additional rate-limit commands, until another one is matched. CAR supports the ability to police a superset of the traffic, and then police a subset of the traffic at a different rate, using the continue keyword.

32CAR has been configured under subinterface s0/0.1. What show command lists statistics for CAR behavior just for that subinterface?

show interfaces s 0/0.1 rate-limit