兩臺ws-c3750x做的堆疊,啟用了mls qos:
!
mls qos
!
配置了三條ACL100、101、102
class-map match-any to-hi
match access-group 100
class-map match-any to-low
match access-group 102
class-map match-any to-med
match access-group 101
!
policy-map in-qos
class to-hi
police 480000000 80000 exceed-action policed-dscp-transmit
class to-med
police 480000000 80000 exceed-action drop
trust dscp
class to-low
police 100000000 8000 exceed-action drop
trust dscp
class class-default
police 720000000 80000 exceed-action drop
trust dscp
并應用到應用到Gi2/0/12口上
interface GigabitEthernet2/0/12
description To_Sangfor_ETH0
switchport access vlan 71
switchport mode access
service-policy input in-qos
!
show policy-map interface gi2/0/12結果:
GigabitEthernet2/0/12
Service-policy input: in-qos
Class-map: to-hi (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 100
0 packets, 0 bytes
5 minute rate 0 bps
Class-map: to-med (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 101
0 packets, 0 bytes
5 minute rate 0 bps
Class-map: to-low (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 102
0 packets, 0 bytes
5 minute rate 0 bps
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
是哪里配置的不對?
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/35311.html
標籤:交換及路由技術
