Administrator Guide

Table Of Contents
Layer 2 Switching Commands 728
Default Configuration
This command has no default configuration.
Command Mode
Policy-Class-Map Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example shows how to redirect incoming packets to port
Gi1/0/1.
console(config-policy-classmap)#redirect gi1/0/1
service-policy
Use the service-policy command in either Global Configuration mode (for all
system interfaces) or Interface Configuration mode (for a specific interface)
to attach a policy to an interface. To return to the system default, use the no
form of this command.
NOTE: This command is not available on the N1500 Series switches.
Syntax
service-policy {in|out}
policymapname
no service-policy {in|out}
policymapname
policymapname
—Specifies the DiffServ policy name as a unique case-
sensitive alphanumeric string. (Range: 1–31 alphanumeric characters.)
in
—Apply the policy on ingress.
out
—Apply the policy on egress.
Default Configuration
This command has no default configuration.
2CSNXXX_SWUM204.book Page 728 Monday, January 25, 2016 1:25 PM