QoS CLI Examples

Version 2

    Related: [video] - Configuring QoS for VoIP in AOS


    T1 PPP

    !

    qos map VOIP 10

      match dscp 46 26

      priority 100

    !

    interface t1 1/1

      tdm-group 1 timeslots 1-24 speed 64

      no shutdown

    !

    interface ppp 1

      ip address 65.162.109.202 255.255.255.252

      qos-policy out VOIP

      no shutdown

      cross-connect 1 t1 1/1 1 ppp 1

    !

     

     

    T1 HDLC

    !

    qos map VOIP 10

      match dscp 46 26

      priority 100

    !

    interface t1 1/1

      tdm-group 1 timeslots 1-24 speed 64

      no shutdown

    !

    interface hdlc 1

      ip address 65.162.109.202 255.255.255.252

      qos-policy out VOIP

      no shutdown

      cross-connect 1 t1 1/1 1 hdlc 1

    !

     

     

    T1 Frame Relay

    !

    qos map VOIP 10

      match dscp 46 26

      priority 100

    !

    interface t1 1/1

      tdm-group 1 timeslots 1-24 speed 64

      no shutdown

    !

    interface fr 1 point-to-point

      frame-relay lmi-type ansi

      qos-policy out VOIP

      no shutdown

      cross-connect 1 t1 1/1 1 frame-relay 1

    !

    interface fr 1.16 point-to-point

      frame-relay interface-dlci 16

      ip address 65.162.109.202 255.255.255.252

    !

     

     

    Ethernet WAN

    !

    qos map VOIP 10

      match dscp 46 26

      priority 100

    !

    interface eth 0/1

      ip address 65.162.109.202 255.255.255.252

      traffic-shape rate 512000

      qos-policy out VOIP 

      no shutdown

    !

     

    VLAN WAN

    !

    qos map VOIP 10

      match dscp 46 26

      priority 100

    !

    interface vlan 20

      ip address 65.162.109.202 255.255.255.252

      traffic-shape rate 512000

      qos-policy out VOIP 

      no shutdown

    !

    interface switchport 0/1

      no shutdown

      switchport access vlan 20

    !

     

     

    PPPoE over ADSL

    NOTE: The qos-map is applied to the atm 1.1 sub-interface, not the ppp 1 interface.

    !

    qos map VOIP 10

      match dscp 46 26

      priority 100

    !

    interface adsl 1/1

      no shutdown

    !

    interface atm 1 point-to-point

      no shutdown

      cross-connect 2 adsl 1/1 atm 1

    !

    interface atm 1.1 point-to-point

      no shutdown

      pvc 0/35

      no ip address

      fair-queue

      qos-policy out VOIP

    !

    interface ppp 1

      ip address negotiated

      no fair-queue

      no shutdown

      cross-connect 1 atm 1.1 ppp 1 pppoe-client

    !