![Cisco Catalyst 2350 Скачать руководство пользователя страница 235](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583235.webp)
2-211
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Cisco IOS Commands
service-policy
service-policy
Use the
service-policy
interface configuration command 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
Note
Though visible in the command-line help strings, the
output
keyword is not supported.
Syntax Description
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.
You can apply a policy map to incoming traffic on a physical port or on an SVI. 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.
Classification using a port trust state (for example,
mls qos trust
[
cos
|
dscp
|
ip-precedence
] and a
policy map (for example,
service-policy input
policy-map-name
) are mutually exclusive. The last one
configured overwrites the previous configuration.
input
policy-map-name
Apply the specified policy map to the input of a physical port or an SVI.
Release
Modification
12.2(46)EY
This command was introduced.
Содержание Catalyst 2350
Страница 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...
Страница 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...
Страница 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...
Страница 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...
Страница 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...