+ All Categories
Home > Documents > Bcmsn30s07 Voice Over Ip

Bcmsn30s07 Voice Over Ip

Date post: 02-Apr-2018
Category:
Upload: agung-budi
View: 216 times
Download: 0 times
Share this document with a friend
31
7/27/2019 Bcmsn30s07 Voice Over Ip http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 1/31 Configuring Campus Switches to Support Voice Planning for Implementation of Voice in a Campus Network
Transcript
Page 1: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 1/31

Configuring Campus Switches to Support Voice

Planning for Implementation of Voice in aCampus Network

Page 2: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 2/31

Benefits of a Converged Network

• More efficient use of bandwidth and equipment

• Lower transmission costs

• Consolidated network expenses

• Increased revenue from new services

• Service innovation

• Access to new communications devices

• Flexible new pricing structures

Page 3: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 3/31

Describing VoIP Network Components

Page 4: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 4/31

Characteristics of Voice and Data

Page 5: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 5/31

Describing VoIP Call Flow

Page 6: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 6/31

Auxiliary VLANs

• Voice VLANs

• 802.1p/Q

• PortFast

• A highly

availablenetwork

Page 7: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 7/31

QoS Basics

Page 8: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 8/31

High Availability for VoIP

• Traditional telephony networks claim 99.999 percent uptime.

• Data networks must consider reliability and availabilityrequirements when incorporating voice.

• Methods to improve reliability and availability include:

 – Redundant hardware

 – Redundant links

 – UPS

 – Proactive network management

Page 9: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 9/31

Page 10: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 10/31

Summary

• Converged networks reduce costs and increase productivity.

• VoIP equipment consists of a VoIP phone and a networkinfrastructure capable of supporting VoIP.

• Auxiliary VLANs provide the ability to apply QoS to voice

traffic without affecting the flow of data from the client PC.• To ensure high quality VoIP, implementation of QoS is

required.

• High-availability networks must be created to avoid networkcongestion and overcome a lack of redundancy and poor 

engineering.

• For ease of implementation, most VoIP phones get power through the same cable on which data is sent. This is called“inline power.” Cisco supports 802.3af and its proprietarystandard.

Page 11: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 11/31

Configuring Campus Switches to Support Voice

Accommodating Voice Traffic on CampusSwitches

Page 12: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 12/31

QoS and Voice Traffic in the Campus Model

Page 13: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 13/31

LAN-Based Classification and Marking

Page 14: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 14/31

Layer 2 Marking: 802.1p, CoS

• 802.1p User Priority field is alsocalled class of service (CoS).

•Different types of traffic areassigned different CoS values.

• CoS 6 and 7 are reserved for network use.

Page 15: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 15/31

Layer 3 Marking:IP Precedence, DSCP

• IPv4

 – Three most significant bits of ToS byte are called IP precedence.

 – Other bits are unused.

• DiffServ

 – Six most significant bits of ToS byte are called DiffServ Code Point(DSCP).

 – DSCP is backward compatible with IP precedence.

 – Remaining two bits are used for flow control.

Page 16: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 16/31

Classification Tools: Trust Boundaries

• A device is “trusted” if it correctly classifies packets. 

• For scalability, classification should be done as close to the edge

as possible.

• The outermost trusted devices represent the“trust boundary.” 

and are optimal; is acceptable (if the access switchcannot perform classification).

1 2 3

Page 17: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 17/31

Configuring a Switch for Attachment of aCisco IP Phone

• Voice traffic tagged for voice VLAN

• Data VLAN traffic from PC can be

 – Untrusted

 – Trusted

 – Set to a specific value

Page 18: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 18/31

Basic Switch Commands to SupportAttachment of a Cisco IP Phone

Configure voice VLAN

• switchport voice vlan 110

Configure trust and CoS options

mls qos trust cos• mls qos trust device cisco-phone

• mls qos extend trust

• switchport priority extend cos cos_value

Verify configuration• show interfaces fa 0/4 switchport

• show mls qos interface fa 0/4

Page 19: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 19/31

Configuration Example

Switch(config)# mls qos

Switch(config)# interface fastethernet 0/4Switch(config-if)# switchport voice vlan 110

Switch(config-if)# switchport access vlan 10

Switch(config-if)# mls qos trust cos

Switch(config-if)# mls qos trust device cisco-phoneSwitch(config-if)# ctrl-ZSwitch# show interfaces fastethernet 0/4

Switch# show mls qos interface fastethernet 0/4FastEthernet0/4trust state: trust cos

trust mode: trust cosCOS override: disdefault COS: 0 pass-through: nonetrust device: cisco-phone

Page 20: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 20/31

Cisco AutoQoS

One command per interface to enable and configure QoS

Page 21: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 21/31

Cisco AutoQoS (Cont.)

• Application classification

 – Automatically discoversapplications and providesappropriate QoS treatment

• Policy generation

 – Automatically generates initial and

ongoing QoS policies• Configuration

 – Provides high-level businessknobs, and multi-device/domainautomation for QoS

• Monitoring and reporting

 – Generates intelligent, automaticalerts and summary reports

• Consistency

 – Enables automatic, seamlessinteroperability among all QoSfeatures and parameters acrossa network topology –LAN, MAN, andWAN

Page 22: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 22/31

Configuring Cisco AutoQoS

• Single command at the interface level configures interfaceand global QoS.

 – Support for Cisco IP Phone and Cisco IP Communicator.

• Support for Cisco IP Communicator currently exists

only on the Cisco Catalyst 6500. – Trust boundary is disabled when Cisco IP Phone is

moved.

 – Buffer allocation and egress queuing are dependent oninterface type (Gigabit Ethernet/Fast Ethernet).

• Supported on static, dynamic-access, voice VLAN access,and trunk ports.

• CDP must be enabled for Cisco AutoQoS to functionproperly.

Page 23: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 23/31

Configuring Cisco AutoQoS:Cisco Catalyst OS

Console>(enable)set qos autoqos

QoS is enabled 

.........

 All ingress and egress QoS scheduling parameters configured on all

 ports.CoS to DSCP, DSCP to COS, IP Precedence to DSCP and policed 

dscp maps configured.

Global QoS configured, port specific autoqos recommended:

set port qos <mod/port> autoqos trust <cos|dscp> 

set port qos <mod/port> autoqos voip <ciscoipphone|ciscosoftphone> 

set qos autoqos

Console> (enable)

• Global configuration command.

• All the global QoS settings are applied to all ports in the switch.

• Prompt displays the CLI for the port-based automatic QoScommands currently supported.

Page 24: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 24/31

Configuring Cisco AutoQoS:Cisco Catalyst OS (Cont.)

• trust dscp and trust cos are automatic QoS keywords used for ports requiring a “trust all” type of solution.

• trust dscp should be used only on ports that connect to other switches or known servers because the port will be trustingall inbound traffic marking Layer 3 (DSCP).

• trust cos should only be used on ports connecting other switches or known servers because the port trusts all

inbound traffic marking in Layer 2 (CoS).• The trusted boundary feature is disabled and no QoS

policing is configured on these types of ports.

set port qos <mod/port> autoqos trust [cos|dscp]

Console> (enable)

Page 25: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 25/31

Configuring Cisco AutoQoS:Cisco Catalyst OS (Cont.)

set port qos <mod/port> autoqos voip [ciscosoftphone |

ciscoipphone] [trust]

Console> (enable)

ciscosoftphone

• The trusted boundary feature must be disabled for Cisco IP Communicator ports.

• QoS settings must be configured to trust the Layer 3 markings of the traffic thatenters the port.

• Only available on Cisco Catalyst 6500.

ciscoipphone

• The port is set up to use trust-cos as well as to enable the trusted boundary

feature.• Combined with the global automatic QoS command, all settings are configured

on the switch to properly handle the signaling and voice bearer and PC dataentering and leaving the port.

• CDP must be enabled for the ciscoipphone, QoS configuration.

Note: IP Communicator is a softphone, which is an application running on a PC

emulating a handset.

Page 26: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 26/31

Configuring Cisco AutoQoS: Native OS

auto qos voip trust

Switch(config-if)#

• The uplink interface is connected to a trusted switch or router,and the VoIP classification in the ingress packet is trusted.

auto qos voip cisco-phone

Switch(config-if)#

• Automatically enables the trusted boundary feature, which usesthe CDP to detect the presence or absence of a Cisco IP Phone.

If the interface is connected to a Cisco IP Phone, the QoS labelsof incoming packets are trusted only when the Cisco IP Phone isdetected.

Page 27: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 27/31

Monitoring Cisco AutoQoS

show auto qos [interface interface-id ]

Switch#

Switch#show auto qos

Initial configuration applied by AutoQoS:

 wrr-queue bandwidth 20 1 80 0

no wrr-queue cos-map

 wrr-queue cos 1 0 1 2 4

 wrr-queue cos 3 3 6 7 wrr-queue cos 4 5

 mls qos map cos-dscp 0 8 16 26 32 46 48 56

!

interface FastEthernet0/3

 mls qos trust device cisco-phone

 mls qos trust cos

• Displays the Cisco AutoQoS configuration that was initially applied

• Does not display any user changes to the configuration that might be

in effect

Page 28: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 28/31

Automation with Cisco AutoQoS

DiffServFunction

Cisco IOS/CatalystSoftware QoS Feature

Behavior 

Classification NBARDSCP, Port

Classifies VoIP based on packetattributes or port trust

Marking Class-based marking Sets Layer 3/Layer 2 attributes tocategorize packets into a class

CongestionManagement

Percentage-basedLLQ, WRR

Provides EF treatment to voiceand best-effort treatment to data

Page 29: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 29/31

Summary

• QoS can reduce latency in a campus network when VoIP isconfigured.

• QoS trust boundaries allow for LAN-based classification andmarking.

• LAN-based classification and marking can be accomplished bya Cisco Catalyst workgroup switch.

• Configuration is necessary to implement trust boundaries whenVoIP is incorporated.

• Specific commands are required when configuring QoS trustboundaries on a Cisco Catalyst switch.

• Cisco AutoQoS is a simple way to implement a trust boundaryfor VoIP.

• Configuration of Cisco AutoQoS is simple and supported onCisco Catalyst switches.

Page 30: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 30/31

Module Summary

• Proper planning must take into account all aspects of network engineering when configuring a switch for VoIP.

• Using switch-based QoS policies and procedures in a VoIPnetwork will ensure quality and reduce congestion.

Page 31: Bcmsn30s07 Voice Over Ip

7/27/2019 Bcmsn30s07 Voice Over Ip

http://slidepdf.com/reader/full/bcmsn30s07-voice-over-ip 31/31


Recommended