Cisco switch acts as speed limit
Cisco switch Speed limit essay:
1 2960 must be at least a lanbase switch. The IOS version of lanlite does not support writing class-map.
2 mls qos must be enabled on the switch
3 do in the direction of input
4 the restricted address may not be in the same subnet as the switch management IP
You cannot apply more than one list in 5 class-map. If there are more than two, writing service-policy commands on the interface will be automatically dropped by remove.
Specific template writing method:
Access-list 190 permit ip any host *
Class-map match-all 222
Match access-group 190
Policy-map 222
Class 222
Police 1000000 15000 exceed-action drop # # the minimum speed limit is 1000000
Trust dscp
Interface f0/1
Mls qos trust cos
Service-policy input 222