Configuring QoS on the Wireless Edge Services Module
-
Upload
khangminh22 -
Category
Documents
-
view
2 -
download
0
Transcript of Configuring QoS on the Wireless Edge Services Module
Rev. 8.21 L6.1 – 1
Configuring QoS on the Wireless Edge Services Module
Module 6—Lab 1
Objectives After completing this lab, you should be able to configure quality of service (QoS) features on the ProCurve Wireless Edge Services zl Module.
Requirements For this lab, you and your partner need the following:
One ProCurve Wireless Edge Services zl Module
One ProCurve Switch 5400zl Series
One ProCurve Radio Port (RP): RP 210, RP 220, or RP 230
One serial cable (5184-1894)
Three unshielded twisted pair (UTP) cables
One Microsoft Windows Server 2003 or Microsoft Windows XP Pro with the following components:
• TFTP server such as Tftpd32
• Console terminal software such as Tera Term
• Microsoft Internet Explorer 5.5 or above (or equivalent) with support for Java applets
• Video-streaming server such as VLC Media Player
• Video file
• Traffic generator such as TfGen
One laptop that has a wireless network interface card (NIC) and is running:
• Microsoft Windows XP or 2000 and Service Pack 2 for Windows XP or Service Pack 3 for Windows 2000
• Windows Wireless Zero Configuration client utility (hereafter referred to as the Windows wireless utility)
• Traffic generator such as TfGen
• Video-streaming client such as VLC Media Player
Sampl
e
ProCurve Mobility
L6.1 – 2 Rev. 8.21
Special Instructions This lab demonstrates one way to configure QoS on the Wireless Module.
In this lab, you will simulate a network with converged traffic. You will connect your Windows XP station to the PCU-x WLAN. The wireless station will receive two types of traffic from the Windows Server 2003—normal data traffic and time-sensitive multimedia traffic. You will use a traffic generator to generate the data traffic. A video stream between the Windows Server 2003 and the station will simulate the time-sensitive multimedia traffic.
You will first simulate a network that does not provide QoS. Next, you will next configure your Switch 5400zl to assign a higher priority to the video traffic. You will then configure the Wireless Module to use WMM to grant the high-priority traffic better QoS.
Configuring QoS on the Wireless Module
Rev. 8.21 L6.1 – 3
In the Mobility labs, the devices should be configured to use the following IP addresses.
Device
IP address
Subnet mask
Address assignment
5400zl Switch 10.x.1.1 255.255.255.0 Static
Wireless Edge Services zl Module 10.x.1.30 255.255.255.0 Static
Windows Server 2003 10.x.10.10 255.255.255.0 Static
Windows XP Station Dynamic 255.255.255.0 DHCP
Replace x with the number your instructor assigned you and your partner.
Initial Setup Checklist Complete the following setup steps:
Power up the 5400zl Switch.
Power up the Windows Server 2003 and connect it to port A1 on the 5400zl Switch.
Verify that the Windows Server 2003 is using the correct IP settings:
IP address: 10.x.10.10
Subnet mask: 255.255.255.0
Default gateway: 10.x.10.1
Replace x with the number your instructor assigned you and your partner.
You can verify the server’s IP settings by accessing the command prompt and typing ipconfig.
Verify that the 5400zl Switch is running the configuration for the Mobility labs.
Power up the Windows XP or 2000 laptop with the wireless NIC. If you are using an add-on wireless NIC, ensure that it is inserted into the laptop.
Connect an RP to port A4 on the 5400zl Switch.
Task 1: Assess Performance in a Network Without QoS
In this task, you will simulate a network that does not provide QoS; the infrastructure devices have not been configured to prioritize the video traffic.
Note Ensure that the RP is the only wireless device that is connected to the switch. If the station connects to the AP 530, you will not see the difference in QoS when you configure WMM on the Wireless Module.
ProCurve Mobility
L6.1 – 4 Rev. 8.21
1. Connect your Windows XP station to the PCU-x WLAN. If prompted to enter your credentials, type the login credentials that you created for a user on the Wireless Module in Module 4—Configuring WLAN Security.
2. Access the command prompt for the station and type ipconfig to view the IP address that is assigned to this laptop.
__________________________________________________________
3. On the Windows Server 2003, start the TfGen traffic generator. Then complete these steps:
a. Under Option, select Destination. Type the IP address that has been assigned to the station and click OK. (This station should have an IP address on the 10.x.8.0/24 subnet or the 10.x.24.0/24 subnet, depending on whether you logged in as a faculty member or as a student.)
b. Click OK.
c. Under Option, select Utilization. You should set the utilization to approximately 5000 Kbps.
d. Click OK.
e. Click Start.
4. On the Windows XP station, start the TfGen traffic generator. Then, complete these steps:
a. Under Option, select Destination. Type the IP address of the Windows Server 2003 and click OK.
b. Under Option, select Utilization. You should set the utilization to approximately 7000 Kbps.
c. Click OK.
d. Click Start.
Configuring QoS on the Wireless Module
Rev. 8.21 L6.1 – 5
5. On the Windows Server 2003, start a videostream to the station. Open the VLC Media Player and then follow these steps to start a video stream:
a. Under File, select Wizard.
b. Select Stream to Network and click Next.
ProCurve Mobility
L6.1 – 6 Rev. 8.21
c. In the Input window, make sure the Select a stream option is selected and click Choose.
Configuring QoS on the Wireless Module
Rev. 8.21 L6.1 – 7
d. Select Browse, navigate to the video file stored on the Windows Server 2003, and select the file.
e. Click Open.
f. In the Open window, click OK.
g. In the Input window, click Next.
h. Select RTP Unicast. Type the IP address of the Windows XP station.
i. Click Next
j. Accept the default encapsulation and click Next.
k. For Time-To-Live, type 15.
l. Click Finish.
m. Loop the file so that it plays continuously. Under View, select Playlist.
n. Click the button in the top bar for Repeat One.
ProCurve Mobility
L6.1 – 8 Rev. 8.21
6. On the Windows XP station, open the VLC Media Player and follow these steps to configure it as a video client:
a. Under File, select Open Network Stream.
b. Select UDP/RTP.
c. For Port, keep the default: 1234.
d. Click OK.
The video file should begin to play on the station.
7. What is the quality of the video?
______________________________________________________________
Does the video experience any lags? Y/N
Does the video break up? Y/N
If the video is not experiencing lays or breakups, increase the utilization in the traffic generators.
8. Keep the traffic generators and the video running.
Task 2: Configure the Switch to Mark the Video Stream for High Priority
In this task, you will configure your Switch 5400zl to mark traffic that is destined to UDP port 1234 (the port used by the video stream) with an 802.1p value of 7. The switch will mark traffic destined to UDP port 7 (the port used by TfGen) with an 802.1p value of 1. Note that these values are selected for the purposes of illustrating QoS in this lab.
1. On the Windows XP station, use TeraTerm to open a terminal session to the Switch 5400zl.
2. Move to the global configuration mode context.
3. Enter this command to mark the video stream for high-priority handling: ProCurve Switch(config)# qos udp-port 1234 priority 7
4. Enter this command to mark the TfGen traffic for low-priority: ProCurve Switch(config)# qos udp-port 7 priority 1
5. Save the configuration.
Task 3: Enable WMM on the Wireless Module
In this task, you will enable WMM for the PCU-x WLAN. The Wireless Module when then use 802.1p values to select traffic for better QoS. Because you configured a high 802.1p value for video traffic, the Wireless Module will now prioritize the video traffic over the traffic produced by the traffic generator.
1. On the Window Server 2003, open a Web browser interface management session with the Wireless Module.
2. Select Network Setup > WLAN Setup and click the Configuration tab.
Configuring QoS on the Wireless Module
Rev. 8.21 L6.1 – 9
3. Select the PCU-x WLAN and click the Edit button. The Edit window is displayed.
4. For Access Category under Advanced, select Automatic/WMM.
ProCurve Mobility
L6.1 – 10 Rev. 8.21
5. Click OK.
6. Click Save in the upper right corner of the window.
Task 4: View the Effects of Enabling QoS
On the Windows XP station, look for signs of improvement to the video quality. Be patient; it might take a minute or two for the prioritization to take effect.
1. What is the quality of the video?
______________________________________________________________
Does the video experience any lags? Y/N
Does the video break up? Y/N
You have successfully completed this lab.
Configuring QoS on the Wireless Module
Rev. 8.21 L6.1 – 11
Configurations for This Lab For your reference, this section contains the configurations for:
5400zl Switch
Wireless Edge Services zl Module
Startup-Config for the 5400zl Switch ; J8697A Configuration Editor; Created on release #K.12.51
hostname "ProCurve Switch 5406zl"
module 1 type J8702A
module 2 type
module 3 type J9051A
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged A2-A24,B1-B2
ip helper-address 10.x.1.30
ip address 10.x.1.1 255.255.255.0
tagged CUP
no untagged A1,CDP
exit
lldp auto-provision radio-ports auto-vlan 2100 auto
vlan 2100
name "VLAN2100"
tagged CDP
no ip address
exit
vlan 10
name "VLAN10"
untagged A1
ip address 10.x.10.1 255.255.255.0
exit
vlan 8
name "VLAN8"
ip helper-address 10.x.1.30
ProCurve Mobility
L6.1 – 12 Rev. 8.21
ip address 10.x.8.1 255.255.255.0
tagged A2,CUP
exit
vlan 24
name "VLAN24"
ip helper-address 10.x.1.30
ip address 10.x.24.1 255.255.255.0
tagged A2,CUP
exit
qos udp-port 7 priority 1
qos udp-port 1234 priority 7
; Encoded configuration data follows.
; Modifying this data makes the configuration unusable for restores.
wireless-services C config "02f0nh4ig7hYb6Da+c9gg46SGU1BR0lDAGM5ZWU"
wireless-services C config "zYmRjZTRmNDBlYTIxZWUxYmU4ZTMwMjAwOTkxAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAABAAAAAAoBAR7///8AAAAAAAAAAAAKAQE"
wireless-services C config "BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
Configuring QoS on the Wireless Module
Rev. 8.21 L6.1 – 13
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
wireless-services C config "AAAAAAAAAAAAAAA"
; End of configuration data.
Startup-Config for the Wireless Edge Services zl Module !
! configuration of ProCurveXLRWLANModule Wireless Services version WT.01.03
!
version 1.0
!
username manager password 1 7cf5ddcd54d4926deca3230083a01a31a8825e73
username manager privilege superuser
username operator password 1 fe96dd39756ac41b74283a9292652d366d73931f
!
!
!
ip routing
country-code us
snmp-server sysname Wireless Services
snmp-server manager v2
snmp-server manager v3
snmp-server user manager v3 encrypted auth md5 0x0e3f0ca5de97bb14edb6be0d7de4d282
snmp-server user operator v3 encrypted auth md5 0x49c451c7c6893ffcede0491bbd0a12c4
ProCurve Mobility
L6.1 – 14 Rev. 8.21
snmp-server user snmptrap v3 encrypted auth md5 0xe798bd6a7b8505ea71549c2586bd82f0
fallback enable
ip web-management
ip http secure-trustpoint default-trustpoint
ip secure-web-management
!
wireless
wlan 1 enable
wlan 1 ssid PCU-1
wlan 1 vlan 24
wlan 1 encryption-type tkip-aes
wlan 1 authentication-type eap
wlan 1 qos classification wmm
wlan 1 radius server primary 127.0.0.1
wlan 1 radius server primary radius-key 0 secret
wlan 2 enable
wlan 2 ssid Admins-1
wlan 2 encryption-type tkip-aes
wlan 2 closed-system
wlan 2 dot11i phrase 0 !@ProCurve
wlan 2 dot11i key-rotation enable
radio add 1 00-14-C2-A0-3B-A0 11bg
radio 1 channel-power indoor random 8
radio add 2 00-14-C2-A0-3B-A0 11a
radio 2 channel-power indoor random 8
radio add 3 00-14-C2-A0-2B-0D 11bg
radio 3 channel-power indoor random 8
radio add 4 00-14-C2-A0-2B-0D 11a
radio 4 channel-power indoor random 8
!
radius-server local
authentication eap-auth-type peap-mschapv2
client 10.1.1.10/31 key 0 secret
client 127.0.0.1/31 key 0 secret
rad-user Stan password 0 procurve
Configuring QoS on the Wireless Module
Rev. 8.21 L6.1 – 15
rad-user Miriam password 0 procurve
group Students
rad-user Miriam
!
group Faculty
rad-user Stan
policy vlan 8
!
!
interface vlan1
ip address 10.1.1.30/24
!
interface vlan24
ip address 10.1.24.2/24
!
interface vlan8
ip address 10.1.8.2/24
!
interface dnlink
!
interface uplink
!
ip dhcp pool Faculty
default-router 10.1.8.1
network 10.1.8.0/24
address range 10.1.8.20 10.1.8.100
ip dhcp pool Admins
default-router 10.1.1.1
network 10.1.1.0/24
address range 10.1.1.60 10.1.1.100
ip dhcp pool Students
default-router 10.1.24.1
network 10.1.24.0/24
address range 10.1.24.20 10.1.24.100
!
service dhcp