三、在接口上应用策略(设备可能仅支持input方向)
interface gigabitEthernet0/2
service-policy input p2p
service-policy output p2p
如果实施基于VLAN的QoS配置,需要在二层接口配置mls qos vlan-based
四、验证策略实施情况
sh mls qos
sh mls qos ip gigabitEthernet 0/2
sh mls ip detail #进行微流策略统计
sh int g0/2 rate-limit
show policy-map interface g0/2
show ip nbar unclassified-port-stats
show ip nbar protocol stats byte-count
show ip nbar port-map | include custom
注:以上配置适用于cisco6509sup720平台,可用IOS版本12.1以上。