You are on page 1of 17

Implementing Quality of Service (QoS) on Avaya S8700 Media Server/Avaya G600 Media Gateway Configurations over ATM and

Frame Relay Networks with Cisco Switches and Routers Issue 1.0

Abstract
These Application Notes present a sample configuration to implement QoS on Avaya S8700 Media Server/G600 Media Gateway configurations with Cisco switches and routers. Topics covered include setting up end-to-end Voice over IP (VoIP) QoS for both Layer 2 (802.1p) and Layer 3 (DiffServ) using Frame-Relay and ATM networks.

FS;SZ Reviewed: WCH/JK 9/11/02

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

1 of 17 QoS-S8700.doc

1. Introduction
IP networks were originally designed to carry data on a best-effort delivery basis, which meant that all traffic had equal priority and an equal chance of being delivered in a timely manner. There was also an equal chance of traffic being dropped when congestion occurred. To carry voice in this kind of network, Quality of Service (QoS) has to be implemented throughout the entire network. For voice traffic to be handled in a manner that meets its real time requirements, it must be identified or labeled (tagging). There are two common classification techniques to tag voice packets in an IP network: 1. Layer 2 schemes such as 802.1p. 2. Layer 3 schemes such as IP precedence or Differentiated Services (DiffServ). The Avaya S8700 Media Server, Avaya G600 Media Gateway and Avaya IP Telephones support both classifications. Switches and routers can be configured to give such labeled traffic a higher priority than other data traffic arriving in their output queues. The network diagram in Figure 1 shows the network topology used to verify these Application Notes. An active S8700 Media Server controls two G600 Media Gateways in the 10.1.1.0 and 10.2.2.0 networks. The gateways will hereafter be referred to as Port Networks PN1 and PN2, respectively. Two WAN links (Frame-relay and ATM) are shown connecting PN2 to the servers and PN1. Only one link was active at a time during verification. These Application Notes focus only on QoS related configurations. Please refer to standard product documentation for detailed information on how to administer Avaya S8700 Media Servers and Avaya G600 Gateways. To achieve end-to-end QoS in this network environment, the following components have to be configured: IP Server Interface (IPSI) boards S8700 Media Servers MEDPRO and C-LAN boards Switches and Routers

Sections 3 through 8 will show detailed steps of these configurations.

FS;SZ Reviewed: WCH/JK 9/11/02

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

2 of 17 QoS-S8700.doc

Cisco 7206-A

OC-3/UNI

Cisco 7206-B ATM Network


OC-3 /UNI

i1 00 Avaya S8700 Media Server S e ria lL in k Server 2


1 .5 MB

Dl c

D lc

i 11

Server 1 Frame Relay Network Cat. 2900 Cat. 6500


IPSI C-LAN MEDPRO G600 PN1 IPSI C-LAN MEDPRO G600 PN2

IP Softphone 2 IP Phone 1 IP Phone 2 IP Softphone 1

10.1.1.0 Subnet
Avaya 6402 Telephone 1

10.2.2.0 Subnet
Avaya 6402 Telephone 2

Figure 1: Sample Avaya S8700 Media Server/G600 Media Gateway Configuration with Cisco Network Infrastructure

2. Software and Hardware Validated


This configuration was based on the following software versions: Hardware Component Avaya S8700 Media Servers IPSI C-LAN (DP) MEDPRO Avaya 4624 IP Telephone Cisco 7206 Router Catalyst 6509 Switch Catalyst 2924 XL Switch Software Version R011rl00.1.060.4 with Patch 13 HW32 FW045 FW005 HW03 FW035 R1.6 IOS 12.2(1) Cat. IOS 6.2(3) Cat. IOS 12.0(5.2)XU

FS;SZ Reviewed: WCH/JK 9/11/02

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

3 of 17 QoS-S8700.doc

3. IPSI QoS configuration


The following procedures show how to configure IPSI QoS and VLAN tagging.

There are two Ethernet ports on each IPSI card; the upper one is the service port with the pre-configured IP address 192.11.13.6/255.255.255.252 and the lower one is the network control port. The network control port can be configured through the service port. Configure a laptops IP address to 192.11.13.5/255.255.255.252 and connect its Ethernet interface to the service port with a crossover Ethernet cable. Telnet to the service port IP address 192.11.13.6 and type ipsilogin at the IPSI prompt. Log in to the IPSI with the default login and password. Another way to get into IPSI remotely is to use telnet commands from S8700 Media Servers CLI console. telnetenable p IPSIs IP address telnet IPSIs IP address Figure 2 shows how to configure the network control port QoS and VLAN Tagging. After issuing the configuration commands, reset the IPSI and log in again to verify that the settings are in effect. Figure 3 shows the new (and now current) QoS settings after the reset. Use this procedure for both PN1 and PN 2. Please note that the VLAN ID is set to 0 by default and cannot be changed.

TN2312 IPSI IP Admin Utility Copyright Avaya Inc, 2000, 2001, All Rights Reserved [IPSI]: ipsilogin Login: craft Password: [IPADMIN]: set diffserv 46 [IPADMIN]: set user priority 6 [IPADMIN]: set VLAN tagging on [IPADMIN]: reset

Figure 2: IPSI QoS and VLAN Tagging Configuration

FS;SZ Reviewed: WCH/JK 9/11/02

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

4 of 17 QoS-S8700.doc

[IPADMIN]: show qos QoS values currently in use: VLAN tagging : on VLAN id : 0 VLAN user priority : 6 Diffserv value : 46 QoS values to be used after next reset: VLAN tagging : on VLAN id : 0 VLAN user priority : 6 Diffserv value : 46

Figure 3: Display IPSI Configuration (second login sequence not shown)

4. Avaya S8700 Media Server QoS Configuration


There are two steps involved in configuring QoS on the servers to support communication with the IPSIs. Configuration must be done via the web interface to enable 802.1p/Q tagging, and also via the System Access Terminal (SAT) interface to specify the appropriate priorities at Layer 2 and 3. Remember to save translations after completing the administration commands described in this section below.

4.1. Web interface


The following steps must be repeated for each of the two redundant servers. Launch an Internet browser and type the active servers IP address in the URL field. Select the Configure Server option and check Enable VLAN 802.1q priority tagging, as shown in Figure 4. Continue on through the configuration steps, finishing at the Update System step. Repeat these steps for other server.

FS;SZ Reviewed: WCH/JK 9/11/02

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

5 of 17 QoS-S8700.doc

Figure 4: Configure S8700 Media Server 802.1Q Priority Tagging

4.2. SAT Interface


Log into the active S8700 Media Server and start the SAT with the command sat, supplying the proper login/password. Use the command change ipserver-interface X (X is the cabinet number) to set the 802.1p and DiffServ value, as shown in Figure 5. Please note that the check box Enable VLAN 802.1q priority tagging in Figure 4 only globally enables tagging on the S8700 Media server. The command change ipserver-interface 1 in Figure 5 will set the 802.1p and DiffServ values on tagged traffic to this IPSI. VLAN ID is set to 0 by default and cannot be changed. The command must be executed for both PN1 and PN2.
change ipserver-interface 1 IP SERVER INTERFACE (IPSI) ADMINISTRATION - PORT NETWORK 1 Socket Encryption? y Primary IPSI -----------Location: 1A02 QoS Parameters -------------Call Control 802.1p: 6 Call Control DiffServ: 46 Page 1 of 1

Host: 10.1.1.9 DHCP ID: ipsi-A01a

Figure 5: SAT Command for S8700 Media Server QoS to IPSI


FS;SZ Reviewed: WCH/JK 9/11/02 Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved. 6 of 17 QoS-S8700.doc

4.3. Verification Step


After administering the corresponding switch ports (see Section 6), use the commands status port-network X, list sys-link and list ipservice-interfaces to verify that the PN is up (X refers to cabinet number or IP interface number). Use the command list config all to verify that the system has recognized the IPSI boards and displays all of the boards currently in the PNs.

5. C-LAN, MEDPRO and IP Telephone Configuration


Use the SAT command change ip-network-region X to configure VLAN, 802.1p, and DiffServ values for the C-LAN and MEDPRO. Note that IP network regions 1 and 2 are created for PN1 and PN2 with the same IP Codec set (1), and that communication is allowed between these two network regions (As shown in Figures 6 and 7).

change ip-network-region 1 IP Network Region Region: 1 Name: Audio Parameters Codec Set: 1 UDP Port Range Min: 2048 Max: 65535 DiffServ/TOS Parameters Call Control PHB Value: 46 VoIP Media PHB Value: 46 BBE PHB Value: 34 802.1p/Q Enabled? y Call control 802.1p priority: 6 VoIP Media 802.1p priority: 6 802.1Q VLAN: 60

Page

1 of

Direct IP-IP Audio Connections? y IP Audio Hairpinning? y RTCP Enabled? y RTCP Monitor Server Parameters Use Default Server Parameters? y

Resource Reservation Parameters RSVP Enabled? n

Figure 6: Configuring QoS for C-LAN and MEDPRO (screen 1) Note: 1. In order for the IP Telephone to receive all 802.1p priority values configured from the ipnetwork-region form, the IP Telephone must be configured as 802.1Q enable mode. This can be done via DHCP, TFTP scripts, or manually. See the 4600 Series IP Telephone LAN Administrators Guide for details on DHCP/TFTP. Follow these steps to manually configure IP Telephone: From the IP Telephone, press hold and then ADDR followed by #. Select 802.1Q=y and save configuration.
FS;SZ Reviewed: WCH/JK 9/11/02 Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved. 7 of 17 QoS-S8700.doc

2. Call Control PHB and Call Control 802.1p priority values apply to both C-LAN and IP Telephone. These values will override any values administered for the IP Telephone via DHCP, TFTP, or locally at the phone. 3. VoIP Media PHB and VoIP Media 802.1p priority values apply to both MEDPRO and IP Telephone. These values will override any values administered for the IP Telephone via DHCP, TFTP, or locally at the phone. 4. 802.1Q VLAN value applies to C-LAN and MEDPRO. 5. BBE PHB value is reserved for RSVP protocol support.

change ip-network-region 1

Page

2 of

Inter Network Region Connection Management

Region

(Group Of 32) 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

001-032 1 1 033-064 065-096 097-128 129-160 161-192 193-224 225-250

Figure 7: Configuring QoS for C-LAN and MEDPRO (screen 2)

6. Cisco Catalyst Switches QoS Configuration


6.1. Cisco Catalyst 6509 Switch1
A Catalyst 6500 switch is used to interconnect subnet 10.1.1.0 in the sample configuration. Since this switch has a Super II switching engine with a Policy Feature Card, it can provide layer 2 QoS (802.1p) on its switching engine. It is important to note that the switching engine uses its internal DSCP value to mark each packet as it leaves the switchs egress port. The internal DSCP value is derived from the incoming Class of Service (CoS) value if the switch port is set to Trust-CoS. Otherwise, it will use its port default CoS value when the switch port is set to Untrusted. By default, all switch ports are set to Untrusted and CoS = 0. Please refer to Appendix A for the default QoS setting and CoS-DSCP mapping used by the Catalyst 6500 switch. Also, please be aware that since VLAN 0 is not a user configurable VLAN on a Catalyst
1

Information in this section was derived from lab experience and product documentation available from Cisco. FS;SZ Reviewed: Solution & Interoperability Test Lab Application Notes 8 of 17 WCH/JK 9/11/02 2002 Avaya Inc. All Rights Reserved. QoS-S8700.doc

switch, the switch will use its port native VLAN to carry traffic from the IPSI and S8700 server. In this configuration, both data and voice share the same VLAN 60. Note that only QoS related commands are displayed. Log into the Catalyst switch console and get into enable mode.
-- Layer 2 QoS (802.1p) configuration -Cat6500(enable)set qos enable Cat6500(enable)set qos acl ip layer2-qos trust-cos ip any any Cat6500(enable)set qos acl ip layer3-qos trust-dscp ip any any Cat6500(enable)commit qos acl all Cat6500(enable)set VLAN 60 8/1-46 Cat6500(enable)set spant portfast 8/1-7 enable (disable spanning-tree on port 8/1-7) Cat6500(enable)set Cat6500(enable)set Cat6500(enable)set Cat6500(enable)set Cat6500(enable)set Cat6500(enable)set Cat6500(enable)set trunk 8/1 dot1q on (set 802.1q on port to server 1) trunk 8/2 dot1q on (set 802.1q on port to server 2) trunk 8/3 dot1q on (set 802.1q on port to IPSI) trunk 8/4 dot1q on (set 802.1q on port to C-LAN) trunk 8/5 dot1q on (set 802.1q on port to MEDPRO) trunk 8/6 dot1q on (set 802.1q on port to IP Phone) port qos 8/1-6 trust trust-cos (set ports 8/1-6 trust incoming cos)

Cat6500(enable)set qos acl map layer2-qos 8/1-6 (attach acl to switch ports 8/1-6) Cat6500(enable)set qos acl map layer3-qos 8/8 (attach acl to switch port to Router 7206-A) Cat6500(enable)set port qos 8/7 cos 6 (assign CoS = 6 to traffic from IP Softphone provided that IP Softphone does not have a 802.1Q capable NIC) (set port not trust CoS value from PC and using port default CoS IP Softphone.)

Cat6500(enable)set port qos 8/7 trust untrust

Figure 8: Catalyst 6500 QoS Configuration

6.2. Cisco Catalyst 2924 Switch2


Catalyst 2900 XL series switches support two queues per port on the 10/100 Ethernet interfaces. Port priority value or CoS value 0-3 maps to a low priority queue (queue1) on the egress port and port priority value or CoS value 4-7 maps to the high priority queue (queue 2). The switch will honor the incoming CoS value in the 802.1Q tag when the switch ports are configured in 802.1Q trunking mode. Priority scheduling is applied between the queues, which will assure that the high priority queue is always serviced before scheduling the low priority traffic. These features enable prioritized mission critical traffic, such as VoIP, over other regular traffic. The low priority queues will experience tail drop during congestion when there is traffic in the high priority queue, which means that the low priority traffic will be dropped first.

Information in this section was derived from lab experience and product documentation available from Cisco. FS;SZ Reviewed: Solution & Interoperability Test Lab Application Notes 9 of 17 WCH/JK 9/11/02 2002 Avaya Inc. All Rights Reserved. QoS-S8700.doc

The Catalyst 2900 switch handles VLAN 0 traffic like the Catalyst 6500 switch. It uses its port native VLAN to carry traffic from VLAN 0. Figure 9 is a configuration for Cisco Catalyst 2924 switch.
interface FastEthernet0/1 description Router 7200 duplex full speed 100 switchport access vlan 70 spanning-tree portfast ! interface FastEthernet0/2 description C-LAN speed 100 duplex full switchport mode trunk switchport trunk encapsulation dot1q (set port on 802.1q Trunking mode) switchport trunk native vlan 70 (set native VLAN on port) spanning-tree portfast (disable spanning-tree on port) interface FastEthernet0/3 description MEDPRO Interface speed 100 duplex full switchport mode trunk (set port on 802.1q Trunking mode) switchport trunk encapsulation dot1q (set trunking enca 802.1q) switchport trunk native vlan 70 (set native VLAN on port) spanning-tree portfast (disable spanning-tree on port) ! interface FastEthernet0/4 description IPSI port duplex full speed 100 switchport trunk encapsulation dot1q switchport trunk native vlan 70 switchport mode trunk spanning-tree portfast interface FastEthernet0/5 description IP-phone port speed 100 switchport trunk encapsulation dot1q switchport trunk native vlan 70 switchport mode trunk spanning-tree portfast switchport priority default 0 (Using this command if a PC is attached on IP phones secondary port. Switch will apply CoS value 0 to untagged traffic from PC) interface FastEthernet0/6 description IP-Softphone port duplex full speed 100 switchport access vlan 70 (Assuming IP-Softphone PC does not use 802.1Q capable NIC.) switchport mode access FS;SZ Reviewed: WCH/JK 9/11/02 Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved. 10 of 17 QoS-S8700.doc

spanning-tree portfast switchport priority default 6 (Set switch port CoS = 6)

Figure 9: Cisco Catalyst 2924 Switch QoS Configuration

7. Cisco 7206 Router


Provisioning network bandwidth is a key step in carrying VoIP traffic through the WAN. The bandwidth consumed by VoIP streams is calculated by adding the packet payload and all headers (in bits), then multiplying by the packet rate per second (default of 50 packets per second). Figure 10 details the bandwidth per VoIP flow at a default packet rate of 50 packets per second (pps) without Layer 2 header overhead and compression schemes.

CODEC

Sampling Rate 20 ms 20 ms

G.711 G.729

Voice Payload in Bytes 160 20

Packets per Second 50 50

Bandwidth per Conversation 80 kbps 24 kbps

Figure 10: VoIP Bandwidth Consumption without Layer 2 Header A more accurate method for calculating bandwidth is to include the Layer 2 headers in the bandwidth calculations, as shown in Figure 11. CODEC Ethernet 14 Bytes of Header 85.6 kbps 29.6 kbps PPP 6 Bytes of Header 82.4 kbps 26.4 kbps ATM 53-Byte Cells with a 48Byte Payload 106 kbps 42.4 kbps Frame-Relay 4 Bytes of Header 81.6 kbps 25.6 kbps

G.711 at 50 pps G.729 at 50 pps

Figure 11: VoIP Bandwidth Consumption with Layer 2 Header In the following configuration, the bandwidth requirements are set based on carrying 10 G.711 calls crossing Frame Relay and ATM networks. Two Cisco 7206 routers are used to perform layer 3 QoS (DiffServ) functions in this testing. But they can also be used to provide layer 2 (802.1p) QoS service if a sub-interface is configured with either ISL or 802.1.Q encapsulation. Note that the layer 2 feature on the Cisco 7206 routers is not covered in these Application Notes. The routers will handle VLAN 0 the same way as the Catalyst 6509 switch does. Since configurations are identical on both routers, only the Cisco 7206-A router configuration is presented here.

FS;SZ Reviewed: WCH/JK 9/11/02

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

11 of 17 QoS-S8700.doc

7.1. Frame-Relay Network


Router(config)# class-map voip-frame Router(config-cmap)# match ip dscp 48 (match traffic from MEDPRO) Router(config-cmap)# exit Router(config)# class-map signal Router(config-cmap)# match ip dscp 48 (match signaling traffic) Router(config-cmap)# exit ----- Important Note: As packets leave the Catalyst 6509 Switch, the switch uses its internal mapping table ----- to re-write IP DSCP value 48 into packets based on the packets incoming CoS value 6. Please refer to ----- Appendix A for this mapping. This is why that match ip dscp 48 is configured on Cisco 7206-A router ----- instead of using match ip dscp 46. But on Cisco7206-B router configuration, these two match ip dscp ----- statements should use value 46 because the Catalyst 2924 switch does not do internal mapping. All ----- ip packets will keep their dscp value assigned by ip-network-region form. Router(config)# policy-map voice Router(config-pmap)# class voip-frame Router(config-pmap-c)# priority 820 (Max. 820 k set for 10 G.711 calls from Fig. 12) Router(config-pmap)# class signal Router(config-pmap-c)# priority 200 Router(config)# interface FastEthernet3/0 (interface to Catalyst 6500 switch) Router(config-if)# ip address 10.1.1.1 255.255.255.0 Router(config-if)# speed 100 Router(config-if)# full-duplex Router(config)# map-class Router(config-map-class)# Router(config-map-class)# Router(config-map-class)# Router(config-map-class)# Router(config-map-class)# Router(config-map-class)# frame-relay frame-voice no frame-relay adaptive-shaping frame-relay cir 1500000 (set 1.5 Mb cir for pvc) frame-relay bc 15000 (set Bc of 1.5 kb) frame-relay be 0 frame-relay mincir 1500000 service-policy output voip-frame (attach policy voice)

---- Map class voice sets up a CIR of 1500000 bps and a committed burst rate (Bc) of 15000 bits. ---- This configuration means that the router will send 15000 bits every 15000/1500000 (10 ms) and ---- queue any excess bursts. The minimum CIR is set to the same value as CIR, and adaptive shaping ---- is disabled. The default frame relay excess burst (Be) value 0 is used here to prevent any bursting ---- over CIR. This is the recommended configuration for traffic shaping when carrying VoIP. Router(config)# interface Serial3/0 (interface to frame-relay switch) Router(config-if)# no ip address Router(config-if)# encapsulation frame-relay Router(config-if)# no fair-queue Router(config-if)# frame-relay traffic-shaping (enable frame-relay traffic shaping) Router(config)# interface Serial3/0.1 point-to-point Router(config-if)# ip address 200.1.1.2 255.255.255.0 Router(config-if)# frame-relay interface-dlci 100 Router(config-if-dlci)# class frame-voice (apply policy to pvc dlci 100)

Figure 12: QoS Configuration for Frame Relay


FS;SZ Reviewed: WCH/JK 9/11/02 Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved. 12 of 17 QoS-S8700.doc

7.2. ATM Network


There are two ways to implement QoS on an ATM network. One is to have data and voice share the same permanent virtual circuit (PVC). The other is to create a PVC bundle that includes two PVCs, one for data and one for voice. The latter is a better choice because the voice is carried by a separate PVC. Depending on the customers network configuration, it might be difficult to create a separate PVC for voice, so both configurations are presented. This configuration below is for Cisco 7206-A router. (Note: OC-3 ATM interfaces are used on both 7206 routers.)

7.2.1. One PVC for both data and voice


Router(config)# class-map voip-atm Router(config-cmap)# match ip dscp 48 (match traffic from MEDPR. Note that Catalyst switch 6509 changes DSCP value to 48 according to incoming CoS 6) Router(config-cmap)# exit Router(config)# class-map signal Router(config-cmap)# match ip dscp 48 (match signaling traffic. Note that Catalyst switch 6509 changes DSCP value to 48 according to incoming CoS 6) Router(config-cmap)# exit Router(config)# policy-map voice-atm Router(config-pmap)# class voip-atm Router(config-pmap-c)# priority 1100 Router(config-pmap)# class signal Router(config-pmap-c)# priority 200

(Max. 1100 k set for 10 G.711 calls from Fig. 12)

Router(config)# interface ATM2/0 Router(config-if)# no ip address Router(config-if)# no atm ilmi-keepalive ! Router(config)# interface ATM2/0.1 point-to-point Router(config-subif)# ip address 101.1.1.1 255.255.255.0 Router(config-subif)# pvc data-voice 80/80 Router(config-if-atm-vc)# encapsulation aal5snap Router(config-if-atm-vc)# vbr-nrt 4096 2048 32 (set vbr-nrt QoS and specifies output peak cell rate, output sustainable cell rate, and output maximum burst cell size for PVC) Router(config-if-atm-vc)# service-policy output voice-atm (apply policy to pvc 80/80)

Figure 13: QoS Configuration for ATM Shared PVC

7.2.2. Separate PVC for data and voice in PVC Bundle


--- class and policy created in section 7.2.1 will be reused here --Router(config)# interface ATM2/0 Router(config-if)# no ip address Router(config-if)# no atm ilmi-keepalive ! Router(config)# interface ATM2/0.1 point-to-point FS;SZ Reviewed: WCH/JK 9/11/02 Solution & Interoperability Test Lab Application Notes 2002 Avaya Inc. All Rights Reserved. 13 of 17 QoS-S8700.doc

Router(config-subif)# ip address 101.1.1.1 255.255.255.0 Router(config-subif)# bundle voice-data (creating a pvc bundle) Router(config-if-atm-bund)# protocol IP 101.1.1.2 broadcast Router(config-if-atm-bund)# encapsulation aal5snap Router(config-if-atm-bund)# pvc-bundle voice 20/20 (creating a pvc for voice) Router(config-if-atm-memb)# vbr-nrt 4096 2048 32 Router(config-if-atm-memb)# service-policy output voice-atm Router(config-if-atm-memb)# precedence 5-7 (classify this pvc carries traffic with ip precedence 5-7 or DSCP 40-63) Router(config-if-atm-bund)# pvc-bundle data 20/70 (creating a pvc for data) Router(config-if-atm-memb)# vbr-nrt 4096 2048 32 Router(config-if-atm-memb)# precedence 0-4 (classify this pvc carries traffic with ip precedence 0-4 or DSCP 0-39)

Figure 14: QoS Configuration for ATM Separate PVCs in a Bundle

8. Conclusion
QoS is a proven method of improving the quality of voice in IP networks. These Application Notes have shown how to implement QoS using the Avaya S8700 Media Server, Avaya G600 Media Gateways, and Avaya IP telephones in a Cisco-based data network infrastructure. Layer 2 (802.1p) and Layer 3 (DiffServ) QoS schemes should be implemented in switched and routed networks respectively to ensure good voice quality. In addition, special provisioning must also be used on different WAN topologies, such as frame-relay or ATM networks. Be aware that an incompatibility was discovered with the Catalyst 4000 switch during the testing. The Catalyst 4000 switch did not correctly support VLAN 0, which is used by the Avaya S8700 Media Server and IP Server Interface (IPSI) to carry tagged signaling traffic. We verified this with a Catalyst 4006 switch equipped with a Super II engine loaded with Cat. IOS 6.1(1) and a 34 port switching module ( WS-X4232-GB-RJ).

9. References
1. 4600 Series IP Telephone LAN Administrators Guide

FS;SZ Reviewed: WCH/JK 9/11/02

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

14 of 17 QoS-S8700.doc

Appendix A QoS Default Configuration


Default Value Disabled NoteWith QoS enabled and all other QoS parameters at default values, QoS sets Layer 3 DSCP to zero and Layer 2 CoS to zero in all traffic transmitted from the switch. 0 CoS 0 = DSCP 0 CoS 1 = DSCP 8 CoS 2 = DSCP 16 CoS 3 = DSCP 24 CoS 4 = DSCP 32 CoS 5 = DSCP 40 CoS 6 = DSCP 48 CoS 7 = DSCP 56 DSCP 0-7 = CoS 0 DSCP 8-15 = CoS 1 DSCP 16-23 = CoS 2 DSCP 24-31 = CoS 3 DSCP 32-39 = CoS 4 DSCP 40-47 = CoS 5 DSCP 48-55 = CoS 6 DSCP 56-63 = CoS 7 Supports per-port classification and marking, sets DSCP to 0 in traffic from untrusted ports, no policing Port-based Port-based Untrusted Low-priority queue threshold 1: 80%

QoS enable state

Port CoS value CoS to internal DSCP map (internal DSCP set from CoS values)

Internal DSCP to egress CoS map (Egress CoS set from internal DSCP values)

Default ACLs With QoS enabled RuntimePort-based or VLAN-based ConfigPort-based or VLAN-based Port trust state Transmit queue drop threshold percentages

Low-priority queue threshold 2: 100% High-priority queue threshold 1: 80% High-priority queue threshold 2: 100%

Transmit queue lowpriority/high-priority ratio


FS;SZ Reviewed: WCH/JK 9/11/02

4:255

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

15 of 17 QoS-S8700.doc

Standard transmit queue size ratio CoS value/drop threshold mapping

Default Value Low priority: 80%


High priority: 20% Receive queue 1/drop threshold 1 and transmit queue 1/drop threshold 1: CoS 0 and 1 Receive queue 1/drop threshold 2 and transmit queue 1/drop threshold 2: CoS 2 and 3 Receive queue 1/drop threshold 3 and transmit queue 2/drop threshold 1: CoS 4 and 5 Receive queue 1/drop threshold 4 and transmit queue 2/drop threshold 2: CoS 6 and 7

On 1p1q4t and 1p2q2t ports, QoS maps CoS 5 to the strict priority queues. FS;SZ Reviewed: Solution & Interoperability Test Lab Application Notes WCH/JK 9/11/02 2002 Avaya Inc. All Rights Reserved.

16 of 17 QoS-S8700.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 title and filename, located in the lower right corner, directly to the Avaya Solution & Interoperability Test Lab at interoplabnotes@list.avaya.com

FS;SZ Reviewed: WCH/JK 9/11/02

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

17 of 17 QoS-S8700.doc