Command Reference, Cisco Ios Xe Everest 16.5.1A (Catalyst 3650 Switches - Cisco Catalyst 3650 series Command Reference Manual

Cisco ios xe everest 16.5.1a
Hide thumbs Also See for Catalyst 3650 series:
Table of Contents

Advertisement

policy-map
Only one policy map per ingress port is supported. You can apply the same policy map to multiple physical
ports.
You can apply a nonhierarchical policy maps to physical ports. A nonhierarchical policy map is the same as
the port-based policy maps in the device.
A hierarchical policy map has two levels in the format of a parent-child policy. The parent policy cannot be
modified but the child policy (port-child policy) can be modified to suit the QoS configuration.
In VLAN-based QoS, a service policy is applied to an SVI interface. All physical interfaces belonging to a
VLAN policy map then need to be configured to refer to the VLAN-based policy maps instead of the port-based
policy map.
Not all MQC QoS combinations are supported for wired ports. For information about these restrictions,
Note
see chapters "Restrictions for QoS on Wired Targets" in the QoS configuration guide.
Examples
This example shows how to create a policy map called policy1. When attached to the ingress port, it matches
all the incoming traffic defined in class1, sets the IP DSCP to 10, and polices the traffic at an average rate of
1 Mb/s and bursts at 20 KB. Traffic less than the profile is sent.
Device(config)# policy-map policy1
Device(config-pmap)# class class1
Device(config-pmap-c)# set dscp 10
Device(config-pmap-c)# police 1000000 20000 conform-action transmit
Device(config-pmap-c)# exit
This example show you how to configure hierarchical polices:
Switch# configure terminal
Device(config)# class-map c1
Device(config-cmap)# exit
Device(config)# class-map c2
Device(config-cmap)# exit
Device(config)# policy-map child
Device(config-pmap)# class c1
Device(config-pmap-c)# priority level 1
Device(config-pmap-c)# police rate percent 20 conform-action transmit exceed action drop
Device(config-pmap-c-police)# exit
Device(config-pmap-c)# exit
Device(config-pmap)# class c2
Device(config-pmap-c)# bandwidth 20000
Device(config-pmap-c)# exit
Device(config-pmap)# class class-default
Device(config-pmap-c)# bandwidth 20000
Device(config-pmap-c)# exit
Device(config-pmap)# exit
Device(config)# policy-map parent
Device(config-pmap)# class class-default
Device(config-pmap-c)# shape average 1000000
Device(config-pmap-c)# service-policy child
Deviceconfig-pmap-c)# end
This example shows how to delete a policy map:
Device(config)# no policy-map policymap2

Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)

652

Advertisement

Table of Contents
loading

Table of Contents