Configuring Differentiated Services For Voip; Using The Cli To Configure Diffserv Voip Support - Ubiquiti EdgeSwitch ES-24-250W Administration Manual

User interface for poe switches
Hide thumbs Also See for EdgeSwitch ES-24-250W:
Table of Contents

Advertisement

EdgeSwitch
Administration Guide
8. Set the 802.1X mode for port 0/1 to Force Authorized.
interface 0/1
dot1x port-control force-authorized
exit

Configuring Differentiated Services for VoIP

One of the most valuable uses of DiffServ is to support Voice over IP (VoIP). VoIP traffic is inherently
time-sensitive: for a network to provide acceptable service, a guaranteed transmission rate is vital. This
example shows one way to provide the necessary quality of service: how to set up a class for UDP traffic, have
that traffic marked on the inbound side, and then expedite the traffic on the outbound side. The configuration
script is for Router 1 in the accompanying diagram: a similar script should be applied to Router 2.
Layer 3 Switch operating as Router 1
24V
UniFi VoIP Phone

Using the CLI to Configure DiffServ VoIP Support

1. Enter Global Config mode. Set queue 5 on all ports to use strict priority mode. This queue shall be used for
all VoIP packets. Activate DiffServ for the switch.
(UBNT EdgeSwitch) #config
cos-queue strict 5
diffserv
2. Create a DiffServ classifier named 'class_voip' and define a single match criterion to detect UDP packets.
The class type match-all indicates that all match criteria defined for the class must be satisfied in order for
a packet to be considered a match.
class-map match-all class_voip
match protocol udp
exit
Ubiquiti Networks, Inc.
Internet
Port 0/2
1:28
1:28
TUE, MAY 20
Calculator
Calculator
Calendar
Calendar
Gallery
Gallery
Sound Recorder
Sound Recorder
Hangouts
Hangouts
Gmail
Gmail
Drive
Drive
Settings
Settings
DiffServ VoIP Example Network Diagram
Configuration Examples
Layer 3 Switch operating as Router 2
24V
UniFi VoIP Phone
1:28
1:28
TUE, MAY 20
Calculator
Calculator
Calendar
Calendar
Gallery
Gallery
Sound Recorder
Sound Recorder
Hangouts
Hangouts
Gmail
Gmail
Drive
Drive
Settings
Settings
271

Advertisement

Table of Contents
loading

Table of Contents