The sample configuration below provides a basic QoS configuration template for VoIP applications on AOS voice products. This template will configure a strict priority queue for RTP traffic. By default, AOS voice products will tag generated RTP with DSCP 46. The configuration below reflects this default behavior. In the example below, the AOS voice product is connected to an Ethernet LAN behind a T1 router (1.536 Mbps). A traffic-shape rate must be specified on the Ethernet interface with a value in bits-per-second (see blue value) that represents the egress network bandwidth limit. The configuration below can be pasted directly to the unit at the privileged (enable) prompt of the command line interface. For information on how to access the command line and enable prompt, see Accessing the Command Line Interface in AOS
!
configure terminal
!
! QOS MAP CONFIGURATION
!
qos map VoIP 10
match dscp 46
priority unlimited
!
! APPLY QOS MAP TO WAN INTERFACE
!
interface eth 0/1
traffic-shape rate 1536000
qos-policy out VoIP
!
exit
exit
write
!