技术水平再NB也不管用,主要是得学会灵活运用~~

思科3560g限速

mls qos

class-map match-all output-class
match ip dscp 0

policy-map output-policy-300M
class output-class
police 300000000 1000000 exceed-action drop

interface FastEthernet ?/?

service-policy input output-policy-300M

注意红字部分,网上的都是output,但是我改成了input才能用,因为这是在被限速的端口上应用的

« 上一篇 | 下一篇 »

发表评论

评论内容 (必填):