1-69
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring QoS
Configuring Standard QoS
To delete an existing policy map, use the
no policy-map
policy-map-name
global configuration
command. To delete an existing class map, use the
no class
class-map-name
policy-map configuration
command.
To return to the untrusted state in a policy map, use the
no trust
policy-map configuration command. To
remove an assigned DSCP or IP precedence value, use the
no set
{
dscp
new-dscp
|
ip precedence
new-precedence
} policy-map configuration command.
To remove an existing policer in an interface-level policy map, use the
no police
rate-bps burst-byte
[
exceed-action
{
drop
|
policed-dscp-transmit
}] policy-map configuration command. To remove the
hierarchical policy map and port associations, use the
no service-policy input
policy-map-name
interface configuration command.
This example shows how to create a hierarchical policy map:
Switch>
enable
Switch#
configure
terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
access-list 101 permit ip any any
Switch(config)#
class-map cm-1
Switch(config-cmap)#
match access 101
Switch(config-cmap)#
exit
Switch(config)#
exit
Switch#
Switch#
This example shows how to attach the new map to an SVI:
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
class-map cm-interface-1
Switch(config-cmap)#
match input gigabitethernet3/0/1 - gigabitethernet3/0/2
Switch(config-cmap)#
exit
Switch(config)#
policy-map port-plcmap
Switch(config-pmap)#
class cm-interface-1
Switch(config-pmap-c)#
police 900000 9000 exc policed-dscp-transmit
Switch(config-pmap-c)#
exit
Switch(config-pmap)#
exit
Switch(config)#
policy-map vlan-plcmap
Switch(config-pmap)#
class cm-1
Switch(config-pmap-c)#
set dscp 7
Switch(config-pmap-c)#
service-policy port-plcmap-1
Step 24
service-policy input
policy-map-name
Specify the VLAN-level policy-map name, and apply it to the SVI.
Repeat the previous step and this command to apply the policy map to
other SVIs.
If the hierarchical VLAN-level policy map has more than one
interface-level policy map, all class maps must be configured to the
same VLAN-level policy map specified in the
service-policy
policy-map-name
command.
Step 25
end
Return to privileged EXEC mode.
Step 26
show policy-map
[
policy-map-name
[
class
class-map-name
]]
or
show mls qos vlan-based
Verify your entries.
Step 27
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Содержание Catalyst 3560-X Series
Страница 12: ...Contents 10 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 13: ...Contents 11 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 14: ...Contents 12 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 15: ...Contents 13 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 16: ...Contents 14 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 17: ...Contents 15 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 18: ...Contents 16 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 19: ...Contents 17 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 20: ...Contents 18 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 21: ...Contents 19 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 22: ...Contents 20 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 23: ...Contents 21 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 24: ...Contents 22 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 25: ...Contents 23 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 26: ...Contents 24 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 27: ...Contents 25 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 28: ...Contents 26 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 29: ...Contents 27 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 30: ...Contents 28 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 31: ...Contents 29 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 32: ...Contents 30 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 33: ...Contents 31 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 34: ...Contents 32 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 35: ...Contents 33 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 36: ...Contents 34 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 37: ...Contents 35 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 38: ...Contents 36 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Страница 42: ...56 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 Preface ...
Страница 1416: ...1 36 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 Chapter 1 Troubleshooting Troubleshooting Tables ...
Страница 1538: ...Index IN 58 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...