Service-Policy - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands

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 particular interface. Use the no form of this command to remove
the policy map and interface association.
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
policy-map-name
Defaults
No policy maps are attached to the interface.
Command Modes
Interface configuration
Command History
Release
12.1(6)EA2
Usage Guidelines
Only one policy map per ingress interface is supported.
Service policy maps cannot be defined on egress interfaces.
Note
For more information about configuring access control lists (ACLs), see the "Configuring Network
Security with ACLs" chapter in the software configuration guide for this release.
Examples
This example shows how to apply plcmap1 to an ingress interface:
Switch(config)# interface gigabitethernet0/17
Switch(config-if)# service-policy input plcmap1
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
policy-map
show policy-map
0L-10102-01
service-policy input policy-map-name
no service-policy input policy-map-name
Modification
This command was introduced.
Apply the specified policy map to the input of an interface.
Description
Creates or modifies a policy map that can be attached to multiple
interfaces to specify a service policy.
Displays quality of service (QoS) policy maps.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
service-policy
2-265

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents