我的场景在使用类映射和策略映射限制 GNS3 中的 ubuntu PC 带宽时遇到问题。这是我在 GNS3 中的拓扑:

R1 是带有 c3725-adventerprisek9-mz.124-25d.bin 映像的 cisco 3725 路由器,这是我的配置:
访问列表
ip access-list extended UBUNTU_DW
permit ip any host 10.0.0.51
ip access-list extended UNUNTU_UP
permit ip host 10.0.0.51 any
类别和政策地图
class-map match-all UBUNTU_DW
match access-group name UBUNTU_DW
class-map match-all UBUNTU_UP
match access-group name UBUNTU_UP
policy-map UP
class UBUNTU_UP
police cir 32000 bc 4000 be 4000
conform-action transmit
exceed-action drop
violate-action drop
policy-map DW
class UBUNTU_DW
police cir 32000 bc 4000 be 4000
conform-action transmit
exceed-action drop
violate-action drop
接口 FastEthernet0/1
interface FastEthernet0/1
ip address 192.168.10.254 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
service-policy input DW
service-policy output UP
问题是 ubuntu 的 32kbps 限制不起作用。
R1#sh policy-map interface fastEthernet 0/1
FastEthernet0/1
Service-policy input: DW
Class-map: UBUNTU_DW (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name UBUNTU_DW
police:
cir 32000 bps, bc 4000 bytes, be 4000 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps, violate 0 bps
Class-map: class-default (match-any)
905 packets, 812409 bytes
5 minute offered rate 27000 bps, drop rate 0 bps
Match: any
Service-policy output: UP
Class-map: UBUNTU_UP (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name UBUNTU_UP
police:
cir 32000 bps, bc 4000 bytes, be 4000 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps, violate 0 bps
Class-map: class-default (match-any)
979 packets, 154180 bytes
5 minute offered rate 7000 bps, drop rate 0 bps
Match: any
有没有错误的配置?如何应用此政策?