千家论坛_弱电智能化技术与工程讨论(建筑智能,家居智能,人工智能)

电话交换机(PABX)
收藏本版 (3) |订阅

电话交换机(PABX) 今日: 2023 |主题: 11205|排名: 45 

发新帖
打印 上一主题 下一主题

Avaya IPPBX and Cisco QoS...

[复制链接]
vmarge 发布于: 2009-5-22 11:02 688 次浏览 0 位用户参与讨论
跳转到指定楼层
 

Combined Avaya and Cisco QoS Strategy


Goals:

  1. Provide the highest level of “Voice Quality” and “Data Access for Applications” possible using the current network infrastructure.

  2. Utilize Verizon TLS (Transparent LAN Service) as the core WAN provider in place of older T1 technology where possible to combine Voice and Data traffic into a single high speed cost effective link.

  3. Prioritize traffic to benefit “Voice Quality” by reducing latency and reserving bandwidth correctly.

  4. Provide a “Better than Best Effort” (BBE) switching and routing mechanism for applications deemed as mission critical and high priority.



Solution:


Utilize CoS (Class of Service) to mark key voice and data traffic and QoS (Quality of Service) to ensure that specially marked traffic is given the correct priority as an end-to-end (LAN and WAN) solution enterprise wide.


In brief:

·         Use Layer 2 device (Switches) queues and priorities to move (and mark if needed) traffic based on an agreed upon traffic priority.

·         Use Layer 3 device (Routers) queues and priorities to not only move (and mark if needed) traffic based on an agreed upon traffic priority, but also reserve bandwidth as desired.

·         Set VoIP equipment to correctly mark voice traffic with DSCP / COS.


     Overview of Four Queues:

·         Queue 4 = Voice Traffic – Real-time conversations

·         Queue 3 = Control Traffic – Network, Inter-Network and Voice

·         Queue 2 = Priority Application Traffic – Video, Citrix, 3270 etc. (BBE)

·         Queue 1 = Everything Else! 


End to End Solution
Relies on “Pre-set and Agreed Upon” standards

COS

DSCP

Traffic

5

46

Voice Traffic – RTP

3, 6, 7

26, 48, 56

Control Traffic

4

34

Priority Application Traffic (BBE)

0, 1, 2 (Unmarked)

0 (Unmarked)

All “Other” Traffic


Marking Traffic:

  • Configure VoIP devices to correctly mark traffic
    - Phones will get instructions from DHCP and the Call Manager
    - PBX Gear (Med Pro, VoIP, IPSI2, S8300, S8700) will be pre-set
  • Configure switch ports to mark ports and specific traffic as desired
    - Port specific priorities
    - Policy Map via set ip dscp

Layer 2 Devices (Switches)


  • Use WRR (Weighted Round-Robin) and 4 queues (where possible) to prioritize marked traffic
  • Place a higher weight on RTP Voice Traffic

Layer 3 Devices (Routers)


  • Place RTP Voice Traffic in the “Expedite” Queue
  • Use WRR and Fair Queuing for other traffic classes to prioritize marked traffic
  • Reserve bandwidth specifically for key traffic classes

Setting the Avaya gear to mark DSCP and COS as desired


Part I. IP Network Regions – This sets most hardware system wide

list ip-network-region qos
       change ip-network-region 1 (Repeat this command for each region)


Part II. IPServer-Interface commands – This sets S8700 to IPSI control markings

       change ipserver-interface 1 (Repeat this command for each port network 1-5)


Part III. QoS on each IPSI – This sets IPSI to S8700 control markings

       Telnet to each IPSI – Requires non-customer login ID!

[IPADMIN]: show qos

QoS values currently in use:

    VLAN tagging           :      off

    VLAN id            :      0

    VLAN user priority:      6

    Diffserv value       :      26


Avaya Voice Network – Known Protocols List


QOS Avaya Voice Network Protocols

COS

DSCP

Port

Protocol

Conversation

Function

3

26 AF31

1039

TCP

Media Gateway to CLAN

H.248 Media Gateway Control if encrypted

3

26 AF31

1720

TCP

VoIP Phone to CLAN

H.323 / H.225 Call Signaling

3

26 AF31

2945

TCP

Media Gateway to CLAN

H.248 Media Gateway Control

3

26 AF31

5010

TCP

S8700 to IPSI

CCMS Port Network Control

3

26 AF31

5012

TCP

S8700 to IPSI

IPSI License Communication

3

26 AF31

1719

UDP

S8300 to CLAN

H.323 / H.225 RAS Registration

3

26 AF31

5005

UDP

RTCP

Network Management







5

46 EF

2048-3028

UDP

VoIP/MedPro to VoIP/MedPro

RTP Voice

5

46 EF


ICMP

VoIP/MedPro

Avaya Network Management







0

0

20

TCP

FTP Data

Software Code Updates

0

0

21

TCP

FTP Control

Software Code Updates

0

0

22

TCP

SSH

Network Management

0

0

23

TCP

Telnet

Network Management

0

0

80

TCP

HTTP

Network Management

0

0

443

TCP

HTTPS

Network Management

0

0

5023

TCP

Telnet

Network Management

0

0

69

UDP

TFTP

Firmware Code Updates

0

0

123

UDP

NTP

Network Time Synchronization

0

0

161

UDP

SNMP

Network Management

0

0

162

UDP

SNMP

Network Management

0

0


ICMP

PING

Network Management




Example Cisco Device Configurations


Cisco 2950, Cisco 3560 and Avaya G700 - Use 802.1q Trunks

G700 to Cisco 2950

Avaya G700 Port 1/1

telnet G700

configure

set vlan 827

set trunk 1/1 dot1q

set port vlan 827 1/1

set port vlan-binding-mode 1/1 bind-to-configured


Cisco 2950 Fa0/2

telnet 2950

configure terminal

interface FastEthernet0/2

 switchport access vlan 827

 switchport trunk native vlan 827

 switchport mode trunk

 spanning-tree portfast


              Cisco 2950 to Cisco 3560

                     Cisco 2950 Fa0/1 connecting to Cisco 3560 Fa0/5

telnet 2950

configure terminal

interface FastEthernet0/1

 switchport access vlan 827

                    switchport trunk native vlan 827

                    switchport mode trunk

                    spanning-tree portfast


Cisco 3560 Fa0/5 connecting to Cisco 2950 Fa0/1

telnet 3560

configure terminal

interface FastEthernet0/5

 switchport access vlan 827

 switchport trunk encapsulation dot1q

 switchport trunk native vlan 827

 switchport mode trunk

 switchport nonegotiate

 spanning-tree portfast   


Cisco 2950 QoS – Device Ports


telnet 2950

configure terminal

int range fa0/1 , fa0/2 , fa0/12

auto qos voip trust

mls qos trust dscp

exit

wrr-queue bandwidth 20 20 10 60

wrr-queue cos-map 1 0 1 2                

wrr-queue cos-map 2 4

wrr-queue cos-map 3 3 6 7

wrr-queue cos-map 4 5

end

wr


Cisco 2950

 

QoS – Policy Maps


! Access List

ip access-list extended 103

remark ********  VoIP Control Traffic  *********

 permit tcp any any eq 1039

 permit tcp any any eq 1720

 permit tcp any any eq 2945

 permit tcp any any eq 5010

 permit tcp any any eq 5012

 permit udp any any eq 1719

 permit udp any any eq 5005

exit


! Class Map

class-map match-all CM3-VoIP-Control

  description ********  VoIP Control Class Map  *********

  match access-group 103

exit


! Policy Map

policy-map QOS-VoIP-Control-Policy

 description *****  QOS VoIP Control Policy  *****

  class CM3-VoIP-Control

    set ip dscp 26

exit

exit


! Interface Mapping

interface FastEthernet0/17

 service-policy input QOS-VoIP-Control-Policy

end




Cisco 3560 – QoS Policy Map


! Access Lists

ip access-list extended 103

remark ********  VoIP Control Traffic  *********

 permit ip any any dscp af31

 permit ip any any dscp 26

 permit tcp any any eq 1039

 permit tcp any any eq 1720

 permit tcp any any eq 2945

 permit tcp any any eq 5010

 permit tcp any any eq 5012

 permit udp any any eq 1719

 permit udp any any eq 5005

 permit ip any any precedence 3


ip access-list extended 104

remark ****  Priority Applications Traffic  ****

 permit ip any any dscp 34

 permit ip any any precedence 4


ip access-list extended 105

remark **********  VoIP RTP Traffic  ***********

 permit ip any any dscp ef

 permit ip any any dscp 46

 permit udp any any range 2048 3028

 permit ip any any precedence 5


! Class Maps

class-map match-all CM3-VoIP-Control

  description ********  VoIP Control Class Map  *********

  match access-group 103

exit


class-map match-all CM4-Priority-Apps

  description ***** Priority-Applications Class Map *****

  match access-group 104

exit


class-map match-all CM5-VoIP-RTP

  description *******  VoIP RTP Voice Class Map  ********

  match access-group 105

exit





! Policy Map

policy-map QOS-QoS-Policy

 description ***** QOS QoS Policy *****


  class CM3-VoIP-Control

    set ip dscp 26

exit


  class CM4-Priority-Apps

    set ip dscp 34

exit


  class CM5-VoIP-RTP

    set ip dscp 46

end


! Interface

interface FastEthernet0/2

 service-policy input QOS-QoS-Policy



! Typical Interface – (Just the commands you need to type, not every option shown)

interface FastEthernet0/1

 description Connected to S8700a Port1

 switchport mode access

 service-policy input QOS-QoS-Policy

 duplex full

 speed 100

 auto qos voip trust

 no cdp enable

 spanning-tree portfast

 

Combined Avaya and Cisco QoS Strategy


Goals:

  1. Provide the highest level of “Voice Quality” and “Data Access for Applications” possible using the current network infrastructure.

  2. Utilize Verizon TLS (Transparent LAN Service) as the core WAN provider in place of older T1 technology where possible to combine Voice and Data traffic into a single high speed cost effective link.

  3. Prioritize traffic to benefit “Voice Quality” by reducing latency and reserving bandwidth correctly.

  4. Provide a “Better than Best Effort” (BBE) switching and routing mechanism for applications deemed as mission critical and high priority.



Solution:


Utilize CoS (Class of Service) to mark key voice and data traffic and QoS (Quality of Service) to ensure that specially marked traffic is given the correct priority as an end-to-end (LAN and WAN) solution enterprise wide.


In brief:

·         Use Layer 2 device (Switches) queues and priorities to move (and mark if needed) traffic based on an agreed upon traffic priority.

·         Use Layer 3 device (Routers) queues and priorities to not only move (and mark if needed) traffic based on an agreed upon traffic priority, but also reserve bandwidth as desired.

·         Set VoIP equipment to correctly mark voice traffic with DSCP / COS.


     Overview of Four Queues:

·         Queue 4 = Voice Traffic – Real-time conversations

·         Queue 3 = Control Traffic – Network, Inter-Network and Voice

·         Queue 2 = Priority Application Traffic – Video, Citrix, 3270 etc. (BBE)

·         Queue 1 = Everything Else! 


End to End Solution
Relies on “Pre-set and Agreed Upon” standards

COS

DSCP

Traffic

5

46

Voice Traffic – RTP

3, 6, 7

26, 48, 56

Control Traffic

4

34

Priority Application Traffic (BBE)

0, 1, 2 (Unmarked)

0 (Unmarked)

All “Other” Traffic


Marking Traffic:

  • Configure VoIP devices to correctly mark traffic
    - Phones will get instructions from DHCP and the Call Manager
    - PBX Gear (Med Pro, VoIP, IPSI2, S8300, S8700) will be pre-set
  • Configure switch ports to mark ports and specific traffic as desired
    - Port specific priorities
    - Policy Map via set ip dscp

Layer 2 Devices (Switches)


  • Use WRR (Weighted Round-Robin) and 4 queues (where possible) to prioritize marked traffic
  • Place a higher weight on RTP Voice Traffic

Layer 3 Devices (Routers)


  • Place RTP Voice Traffic in the “Expedite” Queue
  • Use WRR and Fair Queuing for other traffic classes to prioritize marked traffic
  • Reserve bandwidth specifically for key traffic classes

Setting the Avaya gear to mark DSCP and COS as desired


Part I. IP Network Regions – This sets most hardware system wide

list ip-network-region qos
       change ip-network-region 1 (Repeat this command for each region)


Part II. IPServer-Interface commands – This sets S8700 to IPSI control markings

       change ipserver-interface 1 (Repeat this command for each port network 1-5)


Part III. QoS on each IPSI – This sets IPSI to S8700 control markings

       Telnet to each IPSI – Requires non-customer login ID!

[IPADMIN]: show qos

QoS values currently in use:

    VLAN tagging           :      off

    VLAN id            :      0

    VLAN user priority:      6

    Diffserv value       :      26


Avaya Voice Network – Known Protocols List


QOS Avaya Voice Network Protocols

COS

DSCP

Port

Protocol

Conversation

Function

3

26 AF31

1039

TCP

Media Gateway to CLAN

H.248 Media Gateway Control if encrypted

3

26 AF31

1720

TCP

VoIP Phone to CLAN

H.323 / H.225 Call Signaling

3

26 AF31

2945

TCP

Media Gateway to CLAN

H.248 Media Gateway Control

3

26 AF31

5010

TCP

S8700 to IPSI

CCMS Port Network Control

3

26 AF31

5012

TCP

S8700 to IPSI

IPSI License Communication

3

26 AF31

1719

UDP

S8300 to CLAN

H.323 / H.225 RAS Registration

3

26 AF31

5005

UDP

RTCP

Network Management







5

46 EF

2048-3028

UDP

VoIP/MedPro to VoIP/MedPro

RTP Voice

5

46 EF


ICMP

VoIP/MedPro

Avaya Network Management







0

0

20

TCP

FTP Data

Software Code Updates

0

0

21

TCP

FTP Control

Software Code Updates

0

0

22

TCP

SSH

Network Management

0

0

23

TCP

Telnet

Network Management

0

0

80

TCP

HTTP

Network Management

0

0

443

TCP

HTTPS

Network Management

0

0

5023

TCP

Telnet

Network Management

0

0

69

UDP

TFTP

Firmware Code Updates

0

0

123

UDP

NTP

Network Time Synchronization

0

0

161

UDP

SNMP

Network Management

0

0

162

UDP

SNMP

Network Management

0

0


ICMP

PING

Network Management




Example Cisco Device Configurations


Cisco 2950, Cisco 3560 and Avaya G700 - Use 802.1q Trunks

G700 to Cisco 2950

Avaya G700 Port 1/1

telnet G700

configure

set vlan 827

set trunk 1/1 dot1q

set port vlan 827 1/1

set port vlan-binding-mode 1/1 bind-to-configured


Cisco 2950 Fa0/2

telnet 2950

configure terminal

interface FastEthernet0/2

 switchport access vlan 827

 switchport trunk native vlan 827

 switchport mode trunk

 spanning-tree portfast


              Cisco 2950 to Cisco 3560

                     Cisco 2950 Fa0/1 connecting to Cisco 3560 Fa0/5

telnet 2950

configure terminal

interface FastEthernet0/1

 switchport access vlan 827

                    switchport trunk native vlan 827

                    switchport mode trunk

                    spanning-tree portfast


Cisco 3560 Fa0/5 connecting to Cisco 2950 Fa0/1

telnet 3560

configure terminal

interface FastEthernet0/5

 switchport access vlan 827

 switchport trunk encapsulation dot1q

 switchport trunk native vlan 827

 switchport mode trunk

 switchport nonegotiate

 spanning-tree portfast   


Cisco 2950 QoS – Device Ports


telnet 2950

configure terminal

int range fa0/1 , fa0/2 , fa0/12

auto qos voip trust

mls qos trust dscp

exit

wrr-queue bandwidth 20 20 10 60

wrr-queue cos-map 1 0 1 2                

wrr-queue cos-map 2 4

wrr-queue cos-map 3 3 6 7

wrr-queue cos-map 4 5

end

wr


Cisco 2950

 

QoS – Policy Maps


! Access List

ip access-list extended 103

remark ********  VoIP Control Traffic  *********

 permit tcp any any eq 1039

 permit tcp any any eq 1720

 permit tcp any any eq 2945

 permit tcp any any eq 5010

 permit tcp any any eq 5012

 permit udp any any eq 1719

 permit udp any any eq 5005

exit


! Class Map

class-map match-all CM3-VoIP-Control

  description ********  VoIP Control Class Map  *********

  match access-group 103

exit


! Policy Map

policy-map QOS-VoIP-Control-Policy

 description *****  QOS VoIP Control Policy  *****

  class CM3-VoIP-Control

    set ip dscp 26

exit

exit


! Interface Mapping

interface FastEthernet0/17

 service-policy input QOS-VoIP-Control-Policy

end




Cisco 3560 – QoS Policy Map


! Access Lists

ip access-list extended 103

remark ********  VoIP Control Traffic  *********

 permit ip any any dscp af31

 permit ip any any dscp 26

 permit tcp any any eq 1039

 permit tcp any any eq 1720

 permit tcp any any eq 2945

 permit tcp any any eq 5010

 permit tcp any any eq 5012

 permit udp any any eq 1719

 permit udp any any eq 5005

 permit ip any any precedence 3


ip access-list extended 104

remark ****  Priority Applications Traffic  ****

 permit ip any any dscp 34

 permit ip any any precedence 4


ip access-list extended 105

remark **********  VoIP RTP Traffic  ***********

 permit ip any any dscp ef

 permit ip any any dscp 46

 permit udp any any range 2048 3028

 permit ip any any precedence 5


! Class Maps

class-map match-all CM3-VoIP-Control

  description ********  VoIP Control Class Map  *********

  match access-group 103

exit


class-map match-all CM4-Priority-Apps

  description ***** Priority-Applications Class Map *****

  match access-group 104

exit


class-map match-all CM5-VoIP-RTP

  description *******  VoIP RTP Voice Class Map  ********

  match access-group 105

exit





! Policy Map

policy-map QOS-QoS-Policy

 description ***** QOS QoS Policy *****


  class CM3-VoIP-Control

    set ip dscp 26

exit


  class CM4-Priority-Apps

    set ip dscp 34

exit


  class CM5-VoIP-RTP

    set ip dscp 46

end


! Interface

interface FastEthernet0/2

 service-policy input QOS-QoS-Policy



! Typical Interface – (Just the commands you need to type, not every option shown)

interface FastEthernet0/1

 description Connected to S8700a Port1

 switchport mode access

 service-policy input QOS-QoS-Policy

 duplex full

 speed 100

 auto qos voip trust

 no cdp enable

 spanning-tree portfast

[此贴子已经被作者于2009-5-22 11:05:34编辑过]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆 千家通行证登陆

本版积分规则

千家智客微信号
千家智客微信
玩物说商城
玩物说商城