Upload
phungduong
View
238
Download
0
Embed Size (px)
Citation preview
Test Methodology Journal
ANCPSpirent TestCenterNovember 2008
Inspired Innovation
Spirent Communications Test Methodologies ANCP
1
Dynamic Rate Allocation with ANCP
Associated Standards • draft-wadhwa-gsmp-l2control-configuration-00 • draft-ietf-ancp-protocol-02
Objective Verify the DUT can properly adjust traffic rates based on the DSL Line Profile updated. This test will also demonstrate how to use the ANCP feature, Asymmetric Throughput test and the Command Sequencer.
Overview This test analyzes the performance of dynamic rate allocation of the device. The Device Under Test (DUT) is configured for two DSLAMs, each with unique DSL Line Profiles. Two Spirent TestCenter™ ports are connected to two ports on the DUT: one will serve as the DSLAM ports for the ANCP messaging and traffic, and one will serve as the “destination” port. The ports on the DUT are all 100 Mb Ethernet. The port emulating the DSLAMs will establish an ANCP adjacency with the DUT and send Port Up messages for the subscribers on a specific DSL Line Profile. An asymmetric throughput test will be run to determine the throughput value at specified bandwidth via DSL Line Profile. The DSL Line Profile will then be updated to allocate a different upstream/downstream rate, and the asymmetric test will then be run again to determine optimal throughput rates. This test will use the Command Sequencer to execute the test and save the results.
Setup
Spirent Communications Test Methodologies ANCP
2
1. Launch Spirent TestCenter and reserve the required ports.
2. A couple of protocols need to be enabled. Select the Technologies button to launch the Technology Selector.
Spirent Communications Test Methodologies ANCP
3
3. Enable DHCP and ANCP. Press OK once completed.
4. Select Routers on the first reserved port and then select Add. We will step through the Router Wizard to create two DSLAM routers.
Spirent Communications Test Methodologies ANCP
4
5. Only the first port needs to be checked. Verify that it is and press Next.
Spirent Communications Test Methodologies ANCP
5
6. Enable ANCP and press Next.
Spirent Communications Test Methodologies ANCP
6
7. Enable the Number of VLAN Headers option, the default value of 1 is okay. Press Next to continue.
Spirent Communications Test Methodologies ANCP
7
8. Set the number of “VLANs per port” to a value of 2; this will create two routers on the port – one router per VLAN. Also, configure the VLAN ID and the Step values as needed to work with your DUT’s configuration. Press Next to continue.
Spirent Communications Test Methodologies ANCP
8
9. As the Router ID is not used by ANCP, it is possible to either enable the “Use IPv4 address as router ID” checkbox or leave it disabled. Also, configure the IPv4 address as required to work with your DUT’s configuration. The IPv4 gateway will automatically be configured. As two routers are being configured, the stepping of the IP address might have to be changed. Select the “…” button next to the Step field to make the changes as needed. Press Next once these changes have all been made.
Spirent Communications Test Methodologies ANCP
9
10. The defaults are okay. It is possible to configure the ANCP version using the drop down menu. Currently supported by TestCenter are Draft Version 00 and 02. If a test needs to be performed using both draft versions of ANCP, one can run the wizard twice and create a single router each time. Press Next to continue, as this test uses the default configuration.
Spirent Communications Test Methodologies ANCP
10
11. Verify the configuration. Make changes as needed by clicking the Back button or selecting an area in the wizard navigation panel on the left-hand side. Press Finish once completed.
12. Once the routers have been created, select the ANCP tab. Rename the routers DSLAM 1 and DSLAM 2. Next, press the Access Loop Generator toolbar button. This will launch a wizard that will create subscribers and access loops.
Spirent Communications Test Methodologies ANCP
11
13. Select just DSLAM 1. On DSLAM 1, we will create a Host that uses DHCP. The ANCP Version combo box is for filtering the Router list on the left hand side. This test will use Draft 00, so the default ANCP Version filter will suffice. Press Next to continue.
Spirent Communications Test Methodologies ANCP
12
14. The defaults are okay as DHCP is already enabled. Press Next to continue.
Spirent Communications Test Methodologies ANCP
13
15. Scroll to the right until the Subscriber VLAN ID column is visible. Configure the value as needed. This step creates a single host that is editable under the Host navigation section in the navigation window. Press Next once done.
Spirent Communications Test Methodologies ANCP
14
16. The defaults are okay; however, if additional TLVs are required select Actions Add TLV(s). If no additional TLVs are required, press Next.
Spirent Communications Test Methodologies ANCP
15
17. If no additional TLVs were added, skip this step. Depending on the required TLV, select it from the list and press OK. If the TLV you require is not in the list, select Custom TLV as this provides the ability to enter your own hex string as a TLV. Press Next in the Access Loop Generator when all configuration has been completed.
18. Before we can continue with the configuration, Line Profiles need to be created. Select the Edit Line Profiles button.
Spirent Communications Test Methodologies ANCP
16
19. Select the Add button to start the creation of a Line Profile.
20. With the newly created Line Profile highlighted, select Edit TLVs.
Spirent Communications Test Methodologies ANCP
17
21. It is possible to change the DslType value using the drop down menu. Change this value as necessary. Also, set both Rate values and select Actions Add TLV(s).
Spirent Communications Test Methodologies ANCP
18
22. Select the Maximum Interleaving Delay Upstream TLV and select OK. It is possible to add multiple TLVs as needed, select the required TLV from the list and press OK.
Spirent Communications Test Methodologies ANCP
19
23. Expand the Maximum Interleaving Delay Upstream TLV and configure the Time value. Once completed, press OK.
Spirent Communications Test Methodologies ANCP
20
24. During this test, we will change the Line Profile to a new one. As we are at this location already, let’s create a second Line Profile to be used later on. Repeat the previous five steps, except make sure both Rate values differ.
Spirent Communications Test Methodologies ANCP
21
25. Two Line Profiles should have been created. Press Close to continue.
Spirent Communications Test Methodologies ANCP
22
26. Select the first profile and notice it assigns the Host to that profile. Press Finish. A Host that uses DHCP has now been linked to DSLAM 1. Next, we will create a Host with a static IP that is linked to DSLAM 2.
27. Again, select the Access Route Generator button.
Spirent Communications Test Methodologies ANCP
23
28. Select the DSLAM 2 router this time and press Next.
Spirent Communications Test Methodologies ANCP
24
29. Select None as the Session Protocol and press Next.
30. Scroll to the right and set the correct Subscriber VLAN ID.
Spirent Communications Test Methodologies ANCP
25
31. Scroll more to the right and configure the IPv4 address and gateway so they match the subnet to which the DSLAM is connected. Press Next once completed.
Spirent Communications Test Methodologies ANCP
26
32. The defaults are okay, press Next. Though it is possible to add TLVs as needed.
Spirent Communications Test Methodologies ANCP
27
33. Verify AncpDslLineProfile 1 is selected and there is a single Host assigned to the profile. Press Finish once completed.
Spirent Communications Test Methodologies ANCP
28
34. To test the ANCP protocol, an endpoint needs to be available to transmit traffic across the DUT. A single Host will be used as the endpoint in this test. In the navigation window, select Hosts under the second reserved port and press the Add button.
Spirent Communications Test Methodologies ANCP
29
35. Only the second port should be selected, press Next.
Spirent Communications Test Methodologies ANCP
30
36. The defaults are okay, press Next to continue.
Spirent Communications Test Methodologies ANCP
31
37. Again the defaults are okay, press Next to continue. If your DUT requires the use of a VLAN, enable the “Number of VLAN Headers” and configure appropriately.
Spirent Communications Test Methodologies ANCP
32
38. Configure the correct IPv4 address to match the subnet of the connection. The IPv4 gateway should automatically be configured. Press Next once completed.
Spirent Communications Test Methodologies ANCP
33
39. Verify the Host is configured correctly and press Finish.
40. Select the Wizards button.
Spirent Communications Test Methodologies ANCP
34
41. Select Test Wizards Asymmetric Performance Test Package and press Next.
Spirent Communications Test Methodologies ANCP
35
42. We wish to perform a throughput test, select the Asymmetric Throughput Test option and press Next.
Spirent Communications Test Methodologies ANCP
36
43. Activate both ports. Configure the first port – the one both DSLAM routers are configured on – to be the Downstream. The second port will be the Upstream. Press Next once completed.
Spirent Communications Test Methodologies ANCP
37
44. We previously configured the required items for this wizard section, press Next to continue.
Spirent Communications Test Methodologies ANCP
38
45. Again, this was previously configured, press Next to continue.
Spirent Communications Test Methodologies ANCP
39
46. We are only going to send traffic upstream. Select Traffic Flows Direction Upstream If bidirectional traffic is required, set Traffic Flows Direction Bidirectional and press Next.
Spirent Communications Test Methodologies ANCP
40
47. ln Frame Size Custom, delete the 64-byte frame size. Due to frame size limitations, it is not possible to run this test using a 64-byte frame size, which is why it must be removed from the Custom list for the test to be performed. Press Next .
Spirent Communications Test Methodologies ANCP
41
48. Change the Throughput Search Search mode to Step, or if you require a Binary search you can leave the Search mode at Binary. Press Finish.
Spirent Communications Test Methodologies ANCP
42
49. The Command Sequencer now contains several elements. Changes will be made to add in ANCP into this test. Press the Edit Sequence button to start making changes.
50. Use the Command Category Filter drop down menu and select ANCP.
Spirent Communications Test Methodologies ANCP
43
51. Select ANCP: Initiate Adjacency and select the right arrow. This will add it to the command list on the right side. Make sure this is the first item in the list; you might have to use the Move Up button to do so.
52. Perform the same action with ANCP Wait for Adjacency to Establish. Make sure it follows ANCP: Initiate Adjacency.
Spirent Communications Test Methodologies ANCP
44
53. Continue adding ANCP commands to the command list on the right until your list looks exactly as the below image.
Spirent Communications Test Methodologies ANCP
45
54. Double-click on ANCP: Initiate Adjacency. This will bring up a new window that will let you select the routers you wish to have the adjacency initiated on. Select both DSLAM routers and press OK.
Spirent Communications Test Methodologies ANCP
46
55. Next, double-click ANCP: Wait for Adjacency to Establish. This will bring up a new window. In the “Options to Wait for” row, use the drop down menu and select both DSLAMs. Press OK once completed.
56. Repeat the previous two steps for ANCP: Port Up and ANCP: Wait for All PortUps to be sent.
Spirent Communications Test Methodologies ANCP
47
57. Double-click ANCP: UnMap Subscribers. This will open a new window, where the following steps
will have to be repeated for each DSLAM router. Select the first DSLAM to display the Access Loops associated with the selected DSLAM. Next, select the correct Line Profile and then press Add. In the image below, these steps have already been performed on DSLAM 1 and are being shown for DSLAM 2. Once these steps have been completed for both DSLAMs, select OK.
Spirent Communications Test Methodologies ANCP
48
58. Double-click ANCP: Map Subscribers. This will launch a new window where the following steps will be performed for each DSLAM. Select the first DSLAM under ANCP Nodes. This will display the Access Loops associated with the selected DSLAM. Next, select the second Line Profile and press Add. Repeat for the other DSLAM. Once completed, press OK.
Spirent Communications Test Methodologies ANCP
49
59. For the remaining four ANCP commands, repeat either Step 51 or Step 52 as required.
60. The entire configuration for ANCP is now completed. However, one last command needs to be added to the command list. Change the Command Category Filter to All Commands and scroll down till Learning: Start ArpNd is located. Add this command to the list making sure it is before the DHCPv4 commands.
Spirent Communications Test Methodologies ANCP
50
61. Double-click the newly added Learning: Start ArpNd command. This will open a new window. Verify “Port, Stream Host or Router handle list” is set to a value of Project 1 and Wait for Arp To Finish is set to True. Press OK once completed.
Spirent Communications Test Methodologies ANCP
51
62. Highlight from ANCP: Port Up to ANCP: Map Subscribers. Right-click and select Add Commands To Loop.
63. Double-click the newly added Loop object and change the “Fixed Number of loops” to a value of 2. Press OK once completed.
Spirent Communications Test Methodologies ANCP
52
64. It is possible to leave this step out if you plan to monitor the test closely. Right-click on ANCP: UnMap Subscribers and select Insert Breakpoint. This will allow the ability to make sure the new line policy takes place on the DUT, as the test will take a decent amount of time to run. Inserting the breakpoint here forces you to continue the test once this location has been reached.
Spirent Communications Test Methodologies ANCP
53
65. The Command Sequencer is now configured correctly. It should look very similar to the below image. Press Okay once satisfied with the configuration.
Spirent Communications Test Methodologies ANCP
54
66. In the Command Sequencer, press the green triangle button to start the test.
67. Once the test has been initiated, a dialogue box might appear asking to launch Results Reporter, select Yes.
Spirent Communications Test Methodologies ANCP
55
68. While the test is running, it is still possible to view results. Change the Results view to Port Traffic Basic Traffic Results and Router Protocols ANCP Router Results. Use the Change Result View
to change the views as needed. Also, make sure each DSLAM Router has the Established state for Adjacency State and Subscriber State.
Spirent Communications Test Methodologies ANCP
56
69. Login to the DUT to verify that ANCP is successfully running. The first command shows the correct Line Profiles are in use, while the second command shows everything is established and running correctly.
Spirent Communications Test Methodologies ANCP
57
70. This depends on whether a pause has been placed in the Command Sequencer. If a pause has been placed in the Command Sequencer, eventually it will come to the pause. Once it comes to the pause, press the green triangle button. At this point, all subscribers have been unmapped.
Spirent Communications Test Methodologies ANCP
58
71. After the ANCP: Map Subscribers command has completed, login to the DUT again and verify the Line Profile has been changed and ANCP is successfully running.
Spirent Communications Test Methodologies ANCP
59
72. While the test is running, it is possible to view different results in Results Reporter. Navigate the Results Reporter to view a great deal of information. Two different Rfc2544-Tput-Summary’s will be visible once the test has completed. This is due to running the test with two different Line Profiles. Expand the Trial Results section of each one, and view the different iterations for each frame size to determine what passed and what failed.
Spirent Communications Test Methodologies ANCP
60
73. After the result for each iteration has been viewed, select the Rfc2544 Throughput Port Side Results. This results view provides a quick way to determine the result for each frame size and the Offered Load. The Offered Load is the combined load of both DSLAM routers.
74. Select the Rfc2544 Throughput Stream Block Results. This will provide information about each
Stream Block from each Frame Size. StreamBlock 1 represents DSLAM 1 and StreamBlock 2 represents DSLAM 2 for each frame size. This provides the ability to determine the Offered Load for each DSLAM and to determine if it passed or failed.
Spirent Communications Test Methodologies ANCP
61
75. The Command Sequencer will pause if it has been inserted. Press the green triangle button again to complete the test.
Spirent Communications is a worldwide provider of integrated
performance analysis and service assurance systems for
next-generation network technologies.
Our solutions accelerate the profitable development and
deployment of network equipment and services by emulating
real-world conditions in the lab and assuring end-to-end
performance of large-scale networks.
Spirent performance analysis solutions include instruments and
systems that measure and analyze the performance of network
equipment, particularly the devices that route voice and data
messages to their destination. Our service assurance solutions
include remote test, fault and performance management systems
that let network service providers quickly identify network
faults and monitor real-time performance. Spirent’s integrated
performance analysis and service assurance solutions enable
our customers to more rapidly develop and certify new devices,
lowering the cost of widespread deployment and operation of
new networking services.
© 2008 Spirent Communications, Inc. All of the company names and/or brand names and/or productnames referred to in this document, in particular the name “Spirent” and its logo device, are eitherregistered trademarks or trademarks pending registration in accordance with relevant national laws.All rights reserved. Specifications subject to change without notice.
Spirent Communications
1325 Borregas Avenue Sunnyvale, CA 94089 USA
SALES AND INFORMATION
www.spirent.com
AmericasT: +1 800.SPIRENT
+818 676.2683
Europe, Middle East, AfricaT: +33 1 6137.2250
Asia PacificT: +852 2511.3822
Inspired Innovation