All pastes #2063958 Raw Edit

Unnamed

public text v1 · immutable
#2063958 ·published 2011-05-18 23:34 UTC
rendered paste body
# Setup the custom nbar portmap
ip nbar custom alt_http tcp 8080
ip nbar custom globalcatalog tcp 3268 3269
ip nbar custom sccm tcp 2701 2702 2703


class-map NBAR_LAN_Platinum
        match ip dscp ef
        match protocol rtp audio
        match protocol rtcp
class-map NBAR_LAN_Gold
        match ip dscp cs3
        match ip dscp af31
        match protocol ldap
        match protocol exchange
        match protocol citrix
        match protocol globalcatalog
        match protocol sccm
class-map NBAR_LAN_Silver
        match ip dscp cs2
        match ip dscp af21
        match protocol alt_http
        match protocol http
        match protocol secure-http
exit
policy-map Parent_NBAR_WAN_Shape_Out
        class class-default
                shape average 30000000
                service-policy Child_NBAR_WAN_Out


policy-map Child_NBAR_WAN_Out

        class NBAR_LAN_Platinum
                priority 5000
                set ip dscp ef
        class NBAR_LAN_Gold
                bandwidth remaining percent 66
                random-detect dscp-based
                set ip dscp cs4
        class NBAR_LAN_Silver
                bandwidth remaining percent 21
                random-detect dscp-based
                set ip dscp cs3
        class class-default
                bandwidth remaining percent 13
                random-detect dscp-based
                fair-queue
@
!