Policy-map commands, Policy-map commands -84, Policy‐map commands – Enterasys Networks X-Pedition XSR CLI User Manual

Page 480: Service-policy, Policy-map commands policy-map

Advertising
background image

Policy-Map Commands

12-84 Configuring Quality of Service

service-policy

This command attaches a policy map to an output or input interface. You can attach a single 
policy map to one or more interfaces.

Syntax

service-policy [input | output] policy-map-name

Syntax of the “no” Form

The no form of the command removes a policy map from the interface:

no service-policy [input | output]

Mode

Interface configuration: 

XSR(config-if<xx>)#

Example

The following example associates policy map ACMEpolicy with Serial 1/0:

XSR(config)#interface serial 1/0
XSR(config-if<S1/0>)#service-policy output ACMEpolicy

Policy-Map Commands

policy-map

This command creates or modifies a policy map that can be attached to one or more interfaces to 
specify a service policy. Sub‐commands associated with this command are:

bandwidth

 ‐ Specifies the bandwidth allocated for a class belonging to a policy map. Go to 

page 12‐86

 for the command definition.

class

 ‐ Specifies the criteria for classifying traffic. Go to 

page 12‐87

 for the command 

definition.

police

 ‐ Configures traffic policing. Go to 

page 12‐89

 for the command definition.

priority

 ‐ Prioritizes a class of traffic belonging to a policy map. Go to 

page 12‐90

 for the 

command definition.

queue-limit

 ‐ Specifies the peak number of packets the queue can hold for a class policy 

configured in a policy map. Refer to 

page 12‐91

 for the command definition.

random-detect

 (RED) ‐ Enables Random Early Detect on an interface. Refer to 

page 12‐92

 for 

the command definition.

random-detect

 (WRED) ‐ Enables Weighted Random Early Detect on an interface. Refer to 

page 12‐93

 for the command definition.

random-detect dscp

 ‐ Specifies the DSCP value. Refer to 

page 12‐93

 for the command 

definition.

policy-map-name

 Attaches the specified policy map onto the output port.

Advertising