Command:  

service-policy output


Mode:

Router(config-if)#

Router(config-map-class)#


Syntax:

service-policy {input | output} policy-map-name

no service-policy {input | output} policy-map-name


Syntax Description:

Input

Attaches the specified policy map to the input interface or input VC.

output

Attaches the specified policy map to the output interface or output VC.

policy-map-name

The name of a service policy map (created using the policy-map command) to be attached.

Command Description:

To attach a policy map to an input interface or virtual circuit (VC), or an output interface or VC, to be used as the service policy for that interface or VC, use the service-policy interface configuration command. To remove a service policy from an input or output interface or input or output VC, use the no form of this command.


Example:

The following example shows how to attache the service policy map called policy9 to data-link connection identifier (DLCI) 100 on output serial interface 1 and enables LLQ for Frame Relay:

interface Serial 1/0.1 point-to-point

frame-relay interface-dlci 100

class fragment

!

map-class frame-relay fragment

service-policy output policy9

The following example attaches the service policy map called policy9 to input serial interface 1:

interface Serial 1

service-policy input policy9

The following example attaches the service policy map called policy9 to the input PVC called cisco:

pvc cisco 0/34
service-policy input policy9

vbr-nt 5000 3000 500
precedence 4-7

The following example attaches the policy called policy9 to output serial interface 1 to specify the service policy for the interface and enable CBWFQ on it:

interface serial 1

service-policy output policy9

The following example attaches the service policy map called policy9 to the output PVC called cisco:

pvc cisco 0/5
service-policy output policy9
vbr-nt 4000 2000 500
precedence 2-3


Misconceptions:

None


Related commands:

None

� Cisco Systems, Inc. 2001, 2002
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)