Cisco Cisco Gigabit Ethernet Switch Module (CGESM) for HP Technical References
2-248
Cisco Gigabit Ethernet Switch Module for the HP p-Class BladeSystem Command Reference Guide
380265-002
Chapter 2 CGESM Switch Cisco IOS Commands
service-policy
service-policy
Use the service-policy interface configuration command on the switch stack or on a standalone switch
to apply a policy map defined by the policy-map command to the input of a physical port or a switch
virtual interface (SVI). Use the no form of this command to remove the policy map and port association.
to apply a policy map defined by the policy-map command to the input of a physical port or a switch
virtual interface (SVI). Use the no form of this command to remove the policy map and port association.
service-policy input policy-map-name
no service-policy input policy-map-name
Syntax Description
Note
Though visible in the command-line help strings, the history keyword is not supported, and you should
ignore the statistics that it gathers. The output keyword is also not supported.
ignore the statistics that it gathers. The output keyword is also not supported.
Defaults
No policy maps are attached to the port.
Command Modes
Interface configuration
Command History
Usage Guidelines
Only one policy map per ingress port is supported.
Policy maps can be configured on physical ports or on SVIs. When VLAN-based quality of service
(QoS) is disabled by using the no mls qos vlan-based interface configuration command on a physical
port, you can configure a port-based policy map on the port. If VLAN-based QoS is enabled by using
the mls qos vlan-based interface configuration command on a physical port, the switch removes the
previously configured port-based policy map. After a hierarchical policy map is configured and applied
on an SVI, the interface-level policy map takes effect on the interface.
(QoS) is disabled by using the no mls qos vlan-based interface configuration command on a physical
port, you can configure a port-based policy map on the port. If VLAN-based QoS is enabled by using
the mls qos vlan-based interface configuration command on a physical port, the switch removes the
previously configured port-based policy map. After a hierarchical policy map is configured and applied
on an SVI, the interface-level policy map takes effect on the interface.
In software releases earlier than Cisco IOS Release 12.2(25)SE, you can apply a policy map only to the
incoming traffic on a physical port. In Cisco IOS Release 12.2(25)SE or later, you can apply a policy
map to incoming traffic on a physical port or on an SVI. In Cisco IOS Release 12.2(25)SED or later, you
can configure different interface-level policy maps for each class defined in the VLAN-level policy map.
For more information about hierarchical policy maps, see the “Configuring QoS” chapter in the software
configuration guide for this release.
incoming traffic on a physical port. In Cisco IOS Release 12.2(25)SE or later, you can apply a policy
map to incoming traffic on a physical port or on an SVI. In Cisco IOS Release 12.2(25)SED or later, you
can configure different interface-level policy maps for each class defined in the VLAN-level policy map.
For more information about hierarchical policy maps, see the “Configuring QoS” chapter in the software
configuration guide for this release.
input policy-map-name
Apply the specified policy map to the input of a physical port or an SVI.
Release
Modification
12.2(25)SED
Hierarchical policy-maps can now be applied to an SVI.
12.2(25)SE1
This command was introduced.