Planning For Implementation of Voice in A Campus Network
Planning For Implementation of Voice in A Campus Network
Planning For Implementation of Voice in A Campus Network
• Voice VLANs
• 802.1p/Q
• PortFast
• A highly
available
network
QoS Basics
High Availability for VoIP
Note: There are several power levels defined for VoIP, ranging
from 4.0w to 15.4w, depending on the VoIP phone used.
Summary
• 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.
Classification Tools: Trust Boundaries
• Application classification
– Automatically discovers
applications and provides
appropriate QoS treatment
• Policy generation
– Automatically generates initial and
ongoing QoS policies
• Configuration
– Provides high-level business
knobs, and multi-device/domain
automation for QoS
• Monitoring and reporting
– Generates intelligent, automatic
alerts and summary reports
• Consistency
– Enables automatic, seamless
interoperability among all QoS
features and parameters across
a network topology–LAN, MAN, and
WAN
Configuring Cisco AutoQoS
Console> (enable)
set qos autoqos
• 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 QoS
commands currently supported.
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>
Configuring Cisco AutoQoS:
Cisco Catalyst OS (Cont.)
Console> (enable)
set port qos <mod/port> autoqos trust [cos|dscp]
• 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 trusting
all 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.
Configuring Cisco AutoQoS:
Cisco Catalyst OS (Cont.)
Console> (enable)
set port qos <mod/port> autoqos voip [ciscosoftphone |
ciscoipphone] [trust]
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 that
enters 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 data
entering 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.
Configuring Cisco AutoQoS: Native OS
Switch(config-if)#
auto qos voip trust
Switch#
show auto qos [interface interface-id]