Thanks for that.
After reading the policing section, it seemed I could keep things simple and just limit traffic from (and perhaps to) VLAN2 to a specific bandwidth rather than trying to assign priorities. I thought it might be worth just trying to get this working first.
So I now have the following config on the router:
class-map match-all to_VLAN2
match access-group 116
class-map match-all from_VLAN2
match access-group 115
!
!
policy-map downld_VLAN2
class to_VLAN2
police 128000 conform-action transmit exceed-action drop
policy-map upld_VLAN2
class from_VLAN2
police 64000 conform-action transmit exceed-action drop
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 0/38
ubr 240
encapsulation aal5mux ppp dialer
dialer pool-member 1
service-policy input downld_VLAN2
service-policy output upld_VLAN2
!
dsl operating-mode auto
!
!
access-list 115 permit ip 172.17.0.0 0.0.0.255 any
access-list 116 permit ip any 172.17.0.0 0.0.0.255
Testing the bandwidth from VLAN2 still clearly shows that VLAN2 can consume the full bandwidth of the line, when I thought this config should drop any traffic exceeding 64kbps up? I'm using an online bandwidth testing tool and whilst I know these things aren't particularly accurate, I ran it three times before applying the policy and three times after and both sets showed the same upload rate of about 210 to 220kbps
If I run "sh policy-map int" I get the following output, which seems to show that nothing is being matched by the policies - I've triple checked the IP addresses in the access list:
ATM0: VC 0/38 -
Service-policy input: downld_VLAN2
Class-map: to_VLAN2 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 116
police:
cir 128000 bps, bc 4000 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Service-policy output: upld_VLAN2
Class-map: from_VLAN2 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 115
police:
cir 64000 bps, bc 2000 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
Class-map: class-default (match-any)
231 packets, 47395 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
So do you have any further suggestions?