Configure classification at the interface ingress of traffic

Assignment Help Other Subject
Reference no: EM13761518

Task 1 - Enable QoS

Step 1: Access Switch NYCORE1 go to privileged mode

NYCORE1> enable
NYCORE1#
Step 2: Enable QoS on the switch

NYCORE1#config t
Enter configuration , one per line. End with CNTL/Z.
NYCORE1 (config)#mls qos
NYCORE1 (config)#
Step 3: Show that the QoS was enabled

NYCORE1(config)#exit
NYCORE1#show mls QoS
QoS is enabled?QoS ip packet dscp rewrite is enabled

Task 2 - Configure Classification at the Interface Ingress of the Traffic

The classification will be based on the layer 2 classification using COS. The Ethernet header has a 3 bits field that will carry the classification, the same way it carries source or destination mac address.

Step 1: Apply the classification on the interfaces

NYCORE1#Config t
NYCORE1(config-if)#int fa1/0/5
NYCORE1(config-if)#mls qos cos 6
NYCORE1 (config-if)#mls qos cos override
NYCORE1(config-if)#int fa1/0/6
NYCORE1(config-if)#mls qos cos 5
NYCORE1 (config-if)#mls qos cos override
NYCORE1(config-if)#int fa1/0/7
NYCORE1(config-if)#mls qos cos 3
NYCORE1(config-if)#mls qos cos override
NYCORE1(config-if)#int fa1/0/8
NYCORE1(config-if)#mls qos cos 0
NYCORE1 (config-if)#mls qos cos override

Step 2: Verify the configuration using the show run command

NYCORE1# show run
Scroll down using the space bar and you should see the interfaces configured as the following:

interface FastEthernet1/0/5
mls qos cos 6
!
interface FastEthernet1/0/6
mls qos cos 5 !

interface FastEthernet1/0/7
mls qos cos 3
!
interface FastEthernet1/0/8

Note that interface 1/0/8 does not show the COS, that is because the COS that was used for internet was COS 0, and that is the default.

The show command does not show the default configuration on the Cisco switch.

Task 3 - COS-DSCP Mapping

Now that the traffic has been classified, we need to make sure, that the marking is done at the egress of the router toward the IP network, which uses Layer 3 DSCP marking. In production the backbone is based on other technologies and not Ethernet, so the layer 2 COS marking cannot be used. Layer 3 DSCP (Differentiated Services Code Point) is used. DSCP has 64 classes, from 0 to 63. So we need to map the COS marking to DSCP marking before it egress toward the backbone network. Cisco has already a default mapping, we will check it next.

Step 1: Show the default cos-dscp mapping

NYCORE1#show mls qos map cos-dscp
Cos-dscp map:
cos: 01234567 -------------------------------- dscp: 0 8 16 24 32 40 48 56

NYCORE1#show mls qos map cos-dscp
Cos-dscp map:
cos: 01234567 -------------------------------- dscp: 0 8 16 24 32 40 48 56

The output form the show command shows that all the COS classes are mapped, starting from COS 0 mapped to dscp 0 and ending with COS7 mapped to dscp 56.

Everything looks good except that in the case of this service provider you are working for, and as an example, dscp 40 is used from for something else, so you need to change the default mapping to map COS 5 to dscp 46 and not 40 as the default mapping. You will do that next.

Step 2: Change the default cos-dscp mapping

NYCORE1# config t
NYCORE1(config)#mls qos map cos-dscp 0 8 16 24 32 46 48 56
NYCORE1(config)#exit

Step 3: Verify the cos-dscp mapping changes

NYCORE1#show mls qos map cos-dscp
Cos-dscp map:
cos: 01234567 -------------------------------- dscp: 0 8 16 24 32 46 48 56

The output now shows that COS 5 is mapped to dscp 46.

Task 4 - DSCP-COS Mapping

The last switch before the customer connection in a production service provider network has to reverse the mapping from dscp to cos, since the customer is connected using fast Ethernet, which is a layer 2 protocol and does support cos. In the case of our lab NYCORE2 needs to do this mapping. But first let see what is the default Cisco dscp to cos mapping?

Step 1: Check the default dscp-cos mapping

Go to NYCORE2 and issue the following command:

NYCORE2#show mls qos map dscp-cos
Dscp-cos map:
d1: d20 1 2 3 4 5 6 7 8 9 ---------------------------------------

. 0: 00000000

. 1: 01010101

. 2: 02020202

. 3: 03030404

. 4: 05050505

. 5: 06060606

. 6: 07070707

000000000101 010102020202 030303030303 040404040404 050505050606 060607070707

Because now we have to map 64 dscp classes to 8 cos classes, more than one dscp class can be mapped to one cos class.

In the output above d1 column represents the first digit of dscp, and d2 row represents the second digit. The cross point of d1 and d2 is the cos class. So for example dscp 21 is mapped to cos 2. We are interested in dscp 46, we want to make sure is mapped to cos 5, which is the reverse of what we did in TASK 3, Step 3.

So looking at dscp in the above output you can see that dscp 46 is mapped to cos 5, and all the other dscp that we are interested in are mapped to the right cos. Therefore you keep the dscp- cos default mapping.

With this we are sure that QoS classification and marking are kept end to end in the network.

Summary

In this lab you completed the following tasks:

· Task 1 - Enable QoS.

· Task 2 - Configure Classification at the Interface Ingress of the Traffic

· Task 3 - COS-DSCP Mapping

· Task 4 - DSCP-COS Mapping

Configuring Traffic Classification

Name:

Date:

Professor:

Write a paragraph (minimum five college-level sentences) below that summarizes what was accomplished in this lab. What did you learn by performing it?

Answer the following question with short answers, and copy and paste the screenshots or the show output command when it is required, from the configuration.

*Hint* Read and study the instructions and explanations within the lab for assistance.

1. What was accomplished in task 2, step 1?

2. What was accomplished in task 3, step 2?

3. What was accomplished in task 4?

4. Copy and paste the output from the show run that shows the interfaces configured with cos task 2, step 2.

5. In the output of task 2, step 2, why is the cos 0 is not showing?

6. Copy and paste the output from the show command in task 3, step 3.

7. In the output of task 3, step 3, to which cos is dscp 46 mapped?

Reference no: EM13761518

Questions Cloud

Decide to set up a table with the risks and weigh : As a business owner making a final decision regarding the international aspects of a business decision, you may decide to set up a table with the risks and weigh their relative importance against the rate of return you foresee.
Additional web resources for telecommunication & network sec : You may search these questions or part of them on the web resource links available under "Additional Web Resources for Telecommunication & Network Security.pdf".
How young children develop : Understanding the basic theoretical tenants will deepen your professional knowledge of how young children develop and how that relates to your work with children.
The supply of french fries decreases : Determine whether there is correct usage of the terms "demand," "quantity demanded," "supply" and "quantity supplied." Why or why not?
Configure classification at the interface ingress of traffic : Configure Classification at the Interface Ingress of the Traffic. The classification will be based on the layer 2 classification using COS. The Ethernet header has a 3 bits field that will carry the classification, the same way it carries source o..
Device similar to a tri-pod : The roles of the design engineer, materials engineer, manufacturing engineer, and the industrial engineer.
Assignment based on larson-farber : This project will only use the Closing Values. Assume that the closing prices of the stock form a normally distributed data set. This means that you need to use Excel to find the mean and standard deviation and then use those numbers and the metho..
Review on sdlc : Review the steps of the SDLC. Explain why quality service delivery depends on the execution of the service delivery life cycle. Discuss the aspects of the SDLC that are critical to quality service management. Explain your answer.
Write a book review on lee kuan yew hard truths : Write a Book Review on Lee Kuan Yew Hard Truths.

Reviews

Write a Review

Other Subject Questions & Answers

  Reflects experience of women who settled great plains

Which of the following statements most accurately reflects the experience of women who settled the Great Plains after the Civil War?

  Do a thorough search and write a 2- to 3-page analysis plus

for this paper you will do internet research on the gender issue in another country. do a thorough search and write a

  Glycemic index blood insulin and blood glucose

Describe what happens to each type of carbohydrate (simple/complex) as it is consumed and processed. Your answer should contain the terms “glycemic index”, “blood insulin”, and “blood glucose”

  Sleep-inducing drugs are classified

Sleep-inducing drugs are classified as. In order to maximize visual acuity at night, you should. The pathway that researchers believe mediates the perception of pain originates in

  The importance of the ingredients used

Brief history of how each of the styles of beer listed is produced and the importance of the ingredients used.

  Determine counter arguments and provide examples of why

write a one to two 1-2 page outline in which yourestate your thesis statement and its overarching main points.

  Presidential leadership and electoral college

Discuss the relevance of the Electoral College's underlying rationale to contemporary America. What is its impact on presidential leadership capacity?

  Ramifications of higher gasoline taxes

One thing governments do well is collect taxes. Taxes are a policy instrument that raise revenue and can control behavior through economic or market pressures. What would some of the costs be to the public resulting from a higher tax on gasoline?

  Create an evaluation plan

Describe the types of evaluations you would include in your evaluation plan and how each would serve to analyze various processes or intended outcomes.

  What makes a state well ordered in your opinion

What makes a state well ordered in your opinion? Must its members know and accept the same principles of social justice?

  Calculate the wavelength for h-h-eta

Calculate the wavelength for H (H-eta), the spectral line for an electron transition between the n=7 and the n=2 orbits of hydrogen. (b) In what part of the electromagnetic spectrum does this wavelength lie? Use this to explain why figure 5-2 is labe..

  Hypertrophic scar and vast majority of human collagen

hypertrophic scar is? Vast majority of human collagen is. The Edmonton Protocol allowed for the successful transplant of which organ?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd