37-35
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service Configuring QoS on Supervisor Engines II-Plus, II+10GE, IV, V, V-10GE, 4924, 4948, and 4948-10GE

Verifying Policy-Map Configuration

To verify policy-map configuration, perform this task:
This example shows how to verify the configuration:
Switch# show policy-map ipp5-policy
show policy ipp5-policy
Policy Map ipp5-policy
class ipp5
set ip precedence 6
dbl
police 2000000000 2000000 conform-action transmit exceed-action
policed-dscp-transmit
Switch#
Attaching a Policy Map to an Interface
To attach a policy map to an interface, perform this task:
Note You cannot enable marking commands on an interface until IP routing is enabled globally. If IP routing
is disabled globally and you try to configure the service policy on an interface, the configuration is
accepted but it does not take effect. You are prompted with this message:
Set command will not take effect since CEF is disabled. Please enable IP routing and CEF
globally.
To enable IP routing globally, enter the ip routing and ip cef global configurat ion commands. After y ou
do this, the marking commands take effect.
Command Purpose
Step 1 Switch(config-pmap-c)# end Exits policy-map class configuration mode.
Note Enter additional class commands to create
additional classes in the policy map.
Step 2 Switch# show policy-map policy_name Verifies the configuration.
Command Purpose
Step 1 Switch(config)# interface {vlan vlan_ID |
{fastethernet | gigabitethernet} slot/interface |
Port-channel number}
Selects the interface to configure.
Step 2 Switch(config-if)# [no] service-policy input
policy_map_name Attaches a policy map to the input direction of the
interface. Use the no keyword to detach a policy map
from an interface.
Step 3 Switch(config-if)# end Exits configuration mode.
Step 4 Switch# show policy-map interface {vlan vlan_ID |
{fastethernet | gigabitethernet} slot/interface} Verifies the configuration.