Opnet Quality of Service - Traffic Shaping - Cswiki



Comments



Description

8/12/13Opnet Quality of Service - Traffic Shaping - Cswiki Opnet Quality of Service - Traffic Shaping From Cswiki Objective: To examine the effects of traffic shaping on router performance. We will examine buffer usage, queuing delay, and queuing delay variation when generating constant bit rate (CBR) traffic, and two varieties of bursty traffic. Overview: The shape of the traffic that is offered to a network can have a large effect on the resulting delay and variation in delay that the traffic experiences. Smooth, regular traffic patterns are generally easier for routers to handle than bursty, irregular patterns. When a large burst of traffic arrives, a router may not have sufficient capacity to immediately forward the packets, and it must place the packets in a queue. The packets will wait there until capacity is available. In the meantime, the packets experience increased delay. In general, for any application, it is desirable to reduce delay. The hope is that smoother patterns will see less delay and less variation in delay. Create Opnet Project: 1) Open Opnet Modeler. 2) File->New->Project. 3) Change the Project Name to QoS_TrafficShaping. 4) Set the Scenario Name to CBR. 5) In the Initial Topology window, select Create Empty Scenario and click on Next. 6) In the Choose Network Scale window, select Office and click on Next. 7) In the Specify Size window, click on Next. 8) In the Select Technologies window, click on Next. 9) In the Review window, click on OK. Configuration: 1) Select an Application Config object from the Object Palette and place it in the project workspace. wiki.cs.unh.edu/wiki/index.php/Opnet_Quality_of_Service_-_Traffic_Shaping 1/11 Edit the Print attribute.0055 second (5. Now expand the Application Definitions item. The application you have now defined will transfer one 1000 byte file every 0.cs. Set the File Size (bytes) attribute to constant(1000).Traffic Shaping . 3) Edit the Application Definitions attribute and set the value to Default.8/12/13 Opnet Quality of Service . Set the name attribute to Profiles. Set the name attribute to Applications.php/Opnet_Quality_of_Service_-_Traffic_Shaping 2/11 . Click on OK to close the window.5 milliseconds) without variation.Cswiki 2) Right click on the object and choose Edit Attributes.0055).unh. 4) Select a Profile Config object from the Object Palette and place it in the project workspace. the row 7 item (which corresponds to the File Print (Heavy) application) and the Description item. wiki.edu/wiki/index. 5) Right click on the object and choose Edit Attributes. Set the Print Interarrival Time (seconds) attribute to constant(0. Traffic Shaping . and set the Name to QoS. Expand the Applications attribute and set the rows attribute to 1. 7) Select a QoS Attribute Config object from the Object Palette and place it in the project workspace.8/12/13 Opnet Quality of Service .unh.edu/wiki/index. Click on OK to close the window. Expand the row 0 attribute and set the Name to File Print (Heavy). Expand the row 0 attribute and set the Profile Name to Data Stream.php/Opnet_Quality_of_Service_-_Traffic_Shaping 3/11 .Cswiki 6) Expand the Profile Configuration attribute and set the rows attribute to 1. 8) Right click on the object.cs. wiki. choose Set Name. 9) Select a ppp_wkstn_adv device from the Object Palette and place it in the project workspace. Expand the Application: Transport Protocol Specification attribute. Set the rows attribute to 1. Now we will build a client-server system based on the file printing application and profile that we just created. Click on Node Models -> Fixed Node Models -> By Name -> ppp* . 11) Edit the Application: Supported Profiles attribute. wiki. Scroll down and choose to include the ppp_server_adv and ppp_wkstn_adv models.edu/wiki/index. and set the Print Transport attribute to UDP.8/12/13 Opnet Quality of Service .Traffic Shaping . Click on OK to close the window. Modify the name attribute of the device to Client. 10) Right click on the workstation and choose Edit Attributes. expand the row 0 attribute. and set the Profile Name to Data Stream.cs.php/Opnet_Quality_of_Service_-_Traffic_Shaping 4/11 .Cswiki The QoS object is necessary as we will be configuring a router to do quality of service monitoring.unh. edu/wiki/index.8/12/13 Opnet Quality of Service . wiki. Set the rows attribute to 1 and expand the row 0 attribute. 13) Right click on the device and choose Edit Attributes.cs.Traffic Shaping .Cswiki By specifying that UDP be used rather than TCP. 14) Edit the Application: Supported Services attribute. we eliminate the TCP connection setup and teardown overhead that would affect our results. Set the Nameto File Print (Heavy).unh. 12) Select a ppp_server_adv device from the Object Palette and place in the project workspace. Click on OK to close the window. Modify the name attribute of the server to Server.php/Opnet_Quality_of_Service_-_Traffic_Shaping 5/11 . Traffic Shaping . Click on the radio button marked Interfaces on selected routers. Our Model is Complete.edu/wiki/index. 19) Left click on the router to select it. and then select the Protocols tab => IP => QoS => Configure QoS. Please verify your model with the below Diagram. The inequality in data rates will help us to see the effects of different traffic-shaping schemes.php/Opnet_Quality_of_Service_-_Traffic_Shaping 6/11 . 18) Select a PPP_DS1 link from the Object Palette and use it to connect the server to the router. Select a PPP_DS3 link from the Object Palette and use it to connect the client to the router.8/12/13 Opnet Quality of Service . and click on OKto finish configuring quality of service on the router.. wiki. 17) Right click on the router and choose Set Name.Cswiki 15) Expand the Application: Transport Protocol Specification attribute. and set the Print Transport attribute to UDP. Set the Name to Router and click on OK to close the window. 16) Select an ethernet4_slip8_gtwy device from the Object Palette and place it in the project workspace.cs. Click on OK to close the window.unh.. Note that the default QoS scheme is FIFO (First-In First-Out). and select the Buffer Usage (bytes).cs.php/Opnet_Quality_of_Service_-_Traffic_Shaping 7/11 .edu/wiki/index. the Queue Delay Variation (sec). 2) Expand the Node Statistics item and the IP Interface item.unh. and the Traffic Dropped (bits/sec) statistics.8/12/13 Opnet Quality of Service . the Queuing Delay (sec).Traffic Shaping .Cswiki Configure and Run the Simulation: 1) Select the DES tab => Choose Individual Statistics. wiki.. Click on OK to close window... and the unit to second(s)..8/12/13 Opnet Quality of Service .edu/wiki/index.. 4) Set the Duration to 250.Traffic Shaping . ( we will run the simulation after creating other scenarios).php/Opnet_Quality_of_Service_-_Traffic_Shaping 8/11 . Click on Apply and close the window. wiki.Cswiki 3) Select DES tab => Configure Discrete Event Simulation.cs.unh. Packets will now be generated at random intervals ranging from 0. which provides extremely variable interarrival times. which provides somewhat variable interarrival times. and Description attributes. however. row 7 (which corresponds to File Print (Heavy)). 2) Right click on the Applications node and choose Edit Attributes. Edit the Print Interarrival Time(seconds) attribute and set the value to Uniform(0. and another based on the exponential distribution. We will create one scenario where the stream interarrivals are based on a uniform distribution. Scenario 2 1) Choose Scenarios => Duplicate Scenario. the average amount of traffic generated per second will be the same.0005.cs. Click on OK to create the scenario.0105).unh. Click on OK twice to close the windows. and name the new scenario Uniform.edu/wiki/index.Traffic Shaping . In all three cases.0.8/12/13 Opnet Quality of Service .5 to 10. This will allow us to compare the effects on the router of traffic which is shaped differently.5 milliseconds.php/Opnet_Quality_of_Service_-_Traffic_Shaping 9/11 . wiki. Expand the Application Definitions.Cswiki Duplicate the Scenarios: We are now going to duplicate the scenario and change the characteristics of the data stream. Run the Simulation: 1) Select the Scenarios tab => Manage Scenarios.edu/wiki/index. Edit the Print Interarrival Time(seconds) attribute and set the value to exp(0. 2) Edit the Results field in all three rows and set the value to <collect> or <recollect>.unh. and name the new scenario Exponential. Packets will now be generated at random intervals with a mean of 5.8/12/13 Opnet Quality of Service . 4) Right click on the Applications node and choose to Edit Attributes. Click on OK to create the scenario.Cswiki Scenario 3 3) Choose Scenarios => Duplicate Scenario.cs. 3) Click on OK to run the scenarios (one after the other). row 7 (corresponding to File Print (Heavy)).Traffic Shaping .. Analyze Results: wiki.5 milliseconds. click on Close to close the window. Expand the Application Definitions. Click on OK twice to close the windows. When the simulation has completed. and Description attributes..php/Opnet_Quality_of_Service_-_Traffic_Shaping 10/11 .00055). php?title=Opnet_Quality_of_Service_-_Traffic_Shaping&oldid=410" This page was last modified on 20 June 2009.cs. at 20:43.unh.edu/wiki/index. wiki.Traffic Shaping .Cswiki Retrieved from "http://wiki.php/Opnet_Quality_of_Service_-_Traffic_Shaping 11/11 .edu/wiki/index.cs.unh.8/12/13 Opnet Quality of Service .
Copyright © 2024 DOKUMEN.SITE Inc.