Configuration QOS

Create Access-Lists

ip access-list extended outpolacl-MGMT
remark | Management traffic
permit udp any 10.10.10.0 0.0.0.255 eq snmp
permit udp any 10.10.10.0 0.0.0.255 eq snmptrap
permit tcp any any eq tacacs

ip access-list extended outpolacl-FILE-PREPROD

remark Filetransfer PreProduction
permit tcp any host 192.168.0.1 eq ftp 22
permit tcp host 192.168.0.1 any eq ftp 22

Map ACL’s with groups

class-map match-any outpol-MGMT
match access-group name outpolacl-MGMT
class-map match-any outpol-FILE-PROD
match access-group name outpolacl-FILE-PROD

Define speeds

policy-map outpol-all
class outpol-FILE-PROD
shape average percent 95
class outpol-MGMT
shape average percent 5
class class-default

policy-map outpol-shape-256
class class-default
shape average 256000
service-policy outpol-all

policy-map outpol-shape-512
class class-default
shape average 512000
service-policy outpol-all

policy-map outpol-shape-1024
class class-default
shape average 1024000
service-policy outpol-all

policy-map outpol-shape-2048
class class-default
shape average 2048000
service-policy outpol-all

Apply Speed to interface

interface Tunnel1
service-policy output outpol-shape-512
bandwidth 512000
interface Tunnel2
service-policy output outpol-shape-512
bandwidth 512000

Troubleshooting

Clear all statistics
Clear counters
Clear access-lists counters

Traffic in the ACL’s?

Show access-lists
Show access-lists | include matches

Shaping?

Show policy-map interface