37-70
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 37 Configuring QoS
Configuring Standard QoS
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
class cm-2
Switch(config-pmap-c)#
service-policy port-plcmap-1
Switch(config-pmap-c)#
set dscp 10
Switch(config-pmap)#
exit
Switch(config-pmap)#
class cm-3
Switch(config-pmap-c)#
service-policy port-plcmap-2
Switch(config-pmap-c)#
set dscp 20
Switch(config-pmap)#
exit
Switch(config-pmap)#
class cm-4
Switch(config-pmap-c)#
trust dscp
Switch(config-pmap)#
exit
Switch(config)#
interface vlan 10
Switch(config-if)#
Switch(config-if)#
service input vlan-plcmap
Switch(config-if)#
exit
Switch(config)#
exit
Switch#
This example shows how to configure a class map to match IP DSCP and IPv6:
Switch(config)#
class-map cm-1
Switch(config-cmap)#
match ip dscp 10
Switch(config-cmap)#
match protocol ipv6
Switch(config-cmap)#
exit
Switch(config)#
class-map cm-2
Switch(config-cmap)#
match ip dscp 20
Switch(config-cmap)#
match protocol ip
Switch(config-cmap)#
exit
Switch(config)#
policy-map pm1
Switch(config-pmap)#
class cm-1
Switch(config-pmap-c)#
set dscp 4
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
class cm-2
Switch(config-pmap-c)#
set dscp 6
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
exit
Switch(config)#
interface G1/0/1
Switch(config-if)#
service-policy input pm1
This example shows how to configure default traffic class to a policy map:
Switch#
configure terminal
Switch(config)#
class-map cm-3
Switch(config-cmap)#
match ip dscp 30
Switch(config-cmap)#
match protocol ipv6
Switch(config-cmap)#
exit
Switch(config)#
class-map cm-4
Switch(config-cmap)#
match ip dscp 40
Switch(config-cmap)#
match protocol ip
Switch(config-cmap)#
exit
Switch(config)#
policy-map pm3
Switch(config-pmap)#
class class-default
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
class cm-3
Switch(config-pmap-c)
set dscp 4
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
class cm-4
Switch(config-pmap-c)#
trust cos
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
exit
Содержание Catalyst 3750-E Series
Страница 48: ...Contents xlviii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...
Страница 52: ...lii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 Preface ...
Страница 1414: ...Index IN 58 Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...