You are on page 1of 5

Layer 2 QoS using Multiple VLANs on a Cajun P130 Workgroup Ethernet Switch with an AvayaTM IP600 Internet Protocol

Communication Server and Avaya IP Telephones with attached PCs - Issue 1.2

Abstract
This document presents a sample configuration using a P130 switch to support two VLANs, one for an IP Telephone (including the 4606, 4612 and 4624) and the other for the PC attached to the telephone. The support of multiple VLANs on the P130 switch is important for customers who put VoIP traffic and regular data traffic on separate VLANs.

JZ/KP; Reviewed: WCH/JK 4/5/02

Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved.

1 of 5 multivlan.doc

2002 Avaya Inc. All Rights Reserved. Avaya and the Avaya Logo are trademarks of Avaya Inc. All trademarks identified by and are registered trademarks or trademarks, respectively, of Avaya Inc. All other trademarks are the property of their respective owners. The information provided in these Application Notes is subject to change without notice. The configurations, technical data, and recommendations provided in these Application Notes are believed to be accurate and dependable, but are presented without express or implied warranty. Users are responsible for their application of any products specified in these Application Notes.

Please e-mail any questions or comments pertaining to these Application Notes along with the full title and filename, located in the lower right corner, directly to the Avaya Solution & Interoperability Test Lab at interoplabnotes@list.avaya.com

JZ/KP; Reviewed: WCH/JK 4/5/02

Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved.

2 of 5 multivlan.doc

1. Introduction
The network diagram, in figure 1 below, shows a sample configuration used to put VoIP traffic and regular data traffic on different VLANs. The Avaya IP Telephone and the Avaya IP600 Server in the diagram are connected to the P130 switch using VLAN 92. The PC is connected directly to the IP telephone using native VLAN 1.
8 0 2 .1 p /Q tr u n k P880 D H C P R e la y /A g e n t DHCP SERVER 1 9 2 .1 6 .1 0 .3 6

IP In te r fa c e s: V L A N 1 : 1 9 2 .1 6 .1 0 .1 / 2 4 V L A N 9 2 : 1 9 2 .1 6 .5 .1 / 2 4

VLAN = 1 IP 6 0 0 V L A N = 92

P130

1 /1 0 VLAN = 1

PC IP P h o n e V L A N = 92 DHCP

Figure 1: Sample multiple VLANs configuration on P130 Switch

2. Software Versions
This configuration was based on the following software versions: Hardware Component Avaya Cajun P130 Workgroup Ethernet Switch Avaya Cajun P880 MultiService Switch Avaya IP600 Internet Protocol Communication Server IP telephones Software Version 2.0.11 B5.1.5 9.5 1.5

3. P130 configuration
The following steps show how to configure port # 1/10 on the P130 to support VLAN 92 for an IP telephone and native VLAN 1 for the PC attached to it.

Use set port vlan command to set the port VLAN=1 on port 1/10, the PC will use the port VLAN to request its IP address from DHCP servers.
P130(super)# set port vlan 1 1/10

JZ/KP; Reviewed: WCH/JK 4/5/02

Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved.

3 of 5 multivlan.doc

Use set port vlan-binding-mode command to bind port 1/10 to static. The reason to use static for VLAN binding mode is because port 1/10 only needs to support two VLANs and the traffic from the other VLANs should be blocked.
P130(super)# set port vlan-binding-mode 1/10 static

Use set port static-vlan to support VLAN=92 on port 1/10 in addition to the port VLAN=1 configured in the first step.
P130(super)# set port static-vlan 1/10 92

Configure the port 1/1 (used in this configuration) connected to the P880 on the P130 to VLAN 1, enable 802.1p/Q trunk and configure vlan-binding-mode to bind-to-configured on the port by the following commands:
P130(super)# set port vlan 1 1/1 P130(super)# set trunk 1/1 dot1q P130(super)# set port vlan-binding-mode 1/1 bind-to-configured

4. IP Telephone Configuration
Press mute 767 # on the IP telephone to enable 802.1p/Q and enter VLAN ID=92, then save the configuration and reset the telephone. The IP telephone will request its IP address from DHCP servers based on the new VLAN ID=92. Press mute 2337 # to verify its new IP address.

5. P880 Switch Configuration


The diagram shows that the P880 switch is used as a gateway for VLAN 1 and VLAN 92. The DHCP server is on VLAN = 1, which is different from the IP telephone VLAN = 92. DHCP relay needs to be configured on the P880 switch in order to use the DHCP server for the IP telephone. Use the following steps to configure DHCP Relay on the P880 switch. The same configuration can be used for the P550, P580 and P882 switches.

Select Global Configuration from the routing ! IP ! configuration group on the web agent window, the IP Global Configuration dialog box opens, enable BOOTP/DHCP Relay/Agent. Select BOOTP/DHCP Servers from routing ! IP ! configuration group on the web agent window, the IP BOOTP/DHCP Servers dialog box opens. Select CREATE, the add BOOTP/DHCP Server dialog box opens. Enter the BOOTP/DHCP Server IP: 192.16.10.36 (used in this configuration) in the IP field, click CREATE to save your changes. Select the IP interface 192.16.5.1 (for the IP telephones in this configuration) from routing ! IP! configuration ! Interfaces, enable BOOTP/DHCP Relay Gateway and click Apply to save your changes.

JZ/KP; Reviewed: WCH/JK 4/5/02

Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved.

4 of 5 multivlan.doc

Configure the port 2/1 (used in this configuration) connected to the P130 on the P880 to VLAN 1 (default VLAN), enable 802.1p/Q trunk and configure VLAN Binding to Bind to all on the port by the following steps: Select port 2/1 from Modules & Ports ! Switch Port and configure the following fields: Port VLAN = default Trunk Mode = IEEE-802-1Q Frame Tags = Use Vlan Binding = Bind to All Leave the rest of the fields to the default values.

6. DHCP server configuration for the IP telephone


Create a local scope for the network 192.16.5.0/24 (for IP telephones) and create the related Option Configuration for the IP telephones on the DHCP server. Refer to the 4600 Series IP Telephone LAN Administrators Guide for more details. Below were the option values for this configuration:
Option 3 for default gateway: 192.16.5.1 Option 176 for IP telephones: MCIPADD=192.16.5.23,MCPORT=1719,TFTPSRVR=192.16.10.36,L2Q=1,L2QVLAN=92

(MCIPADD: CLAN IP, MCPORT: Registration Port, TFTPSRVR: IP of the TFTP server, L2=1: 802.1Q on, L2QVLAN: 802.1Q VLAN identifier) The following parameters could also be configured in option 176 to support Quality of Service:
DSCPAUD, DSCPSIG, L2QAUD and L2QSIG.

(DSCPAU: Layer 3 DSCP for Audio, DSCPSIG: Layer 3 DSCP for Signal, L2QAUD: Layer 2 priority for Audio, L2QSIG: Layer 2 priority for Signal)

7. How to Verify Connectivity


To verify the connectivity, make sure the IP telephone can make phone calls and the PC can connect to the network.

JZ/KP; Reviewed: WCH/JK 4/5/02

Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved.

5 of 5 multivlan.doc

You might also like