I've got a customer that had deployed QoS on a 7201 to guarantee bandwidth for VoIP with a single GE with dot1q subinterfaces:
class-map match-any COS1
match ip dscp cs5 ef
match access-group name COS1-TRAFFIC
!
!
policy-map COS
class COS1
priority 1536
policy-map SHAPE_COS
class class-default
shape average 20000000
service-policy COS
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
media-type rj45
negotiation auto
!
interface GigabitEthernet0/1.2009
description <insert>
bandwidth 10000000
encapsulation dot1Q 2009
ip address <insert>
ip tcp adjust-mss 1436
delay 5
no snmp trap link-status
service-policy output SHAPE_COS
!
interface GigabitEthernet0/1.2012
description <insert>
bandwidth 10000000
encapsulation dot1Q 2012
ip address <insert>
ip tcp adjust-mss 1436
delay 5
no snmp trap link-status
The 7201 has been replaced with an ASR1002:
System image file is "bootflash:/asr1000rp1-adventerprisek9.02.06.01.122-33.XNF1.bin"
It has 2 GE in a port-channel with numerous subinterfaces. I've read many docs on MQC QoS, QoS with port-channel subinterfaces and release notes. I'm not really clear what I need to do so that I can replicate the above configuration. I've read about QoS fragments and aggregation, but I don't quite understand what it is and why it's needed, however I've been able to come up with what I think will work, but I'm not sure if I need to apply QoS to the individual subinterfaces, the port-channel, the port-channel members or a combination of the three. Here is what I have so far:
class-map match-all BEST_EFFORT
match any
class-map match-all VOICE
match ip dscp ef
!
policy-map DSCP_QOS_MEMBERS_POL
class VOICE
priority percent 10
class BEST_EFFORT service-fragment BE
shape average percent 90
policy-map DSCP_QOS_POL
class VOICE
priority percent 10
class class-default fragment BE
shape average percent 90
!
!interface Port-channel1
bandwidth 2000000
no ip address
no negotiation auto
!
interface Port-channel1.101
bandwidth 20000
encapsulation dot1Q 101
ip address 100.1.13.254 255.255.255.0
service-policy output DSCP_QOS_POL
!
interface GigabitEthernet0/0/0
no ip address
negotiation auto
service-policy output DSCP_QOS_MEMBERS_POL
channel-group 1 mode active
!
interface GigabitEthernet0/0/1
no ip address
negotiation auto
service-policy output DSCP_QOS_MEMBERS_POL
channel-group 1 mode active
Any assistance will be greatly appreciated!!