+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
161
Switch(config)#access-list 1 permit 192.168.1.0 0.0.0.255
Switch(config)#class-map c1
Switch(Config-ClassMap-c1)#match access-group 1
Switch(Config-ClassMap-c1)#exit
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#set ip precedence 5
Switch(Config-PolicyMap-p1-Class-c1)#exit
Switch(Config-PolicyMap-p1)#exit
Switch(config)#interface ethernet 1/1
Switch(Config-If-Ethernet1/1)#service-policy input p1
QoS configuration in Switch2:
Switch#config
Switch(config)#interface ethernet 1/1
Switch(Config-If-Ethernet1/1)#mls qos trust cos
19.4 QoS Troubleshooting
trust cos and EXP can be used with other trust or Policy Map.
trust dscp can be used with other trust or Policy Map. This configuration takes effect to IPv4
and IPv6 packets.
trust exp, trust dscp and trust cos may be configured at the same time, the priority is:
EXP>DSCP>COS.
If the dynamic VLAN (mac vlan/voice vlan/ip subnet vlan/protocol vlan) is configured, then the
packet COS value equals COS value of the dynamic VLAN.
Policy map can only be bound to ingress direction, egress is not supported yet.
At present, it is not recommended to synchronously use policy map on VLAN and VLAN’s port.
Содержание QSW-2800 series
Страница 189: ...7 495 797 3311 www qtech ru 18 1 175...
Страница 414: ...7 495 797 3311 www qtech ru 18 1 400...