22-21
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter22 Configuring Quality of Service
Configuring IP QoS on Enhanced Gigabit Ethernet and Enhanced ATM Router Module Interfaces

Configuring Buffer-Groups

Buffer groups are global resources that can be configured to be shared among output traffic classes. Four
possible buffer groups are available.
Note Configuring the discard-limit and the mark-limit using the buffer-group command is optional and not a
necessary step in defining a service policy. If the buffer-group is not configured, default values for
discard-limit and mark-limit apply.
Attaching a Service Policy to an Interface
Use the service-policy interface configuration command to attach a service policy to an interface and to
specify the direction of the policy application (either on packets coming into the interface or packets
leaving the interface).
Use the no form of the command to detach a service policy from an interface. The service-policy
command syntax is:
service-policy {input | output} policy-map-name
no service-policy {input | output} policy-map-name
Although you can assign the same service policy to multiple interfaces, ea ch interface can have only one
service policy attached at the input and only one service policy attached at the output.
Example
Switch(config)# interface gigabitethernet 1/0/1
Switch(config-if)# service-policy output out-policy
Switch(config-if)# interface gigabitethernet 0/0/1.15
Command Purpose
buffer-group buffer-group-number discard-limit
discard-limit-range mark-limit mark-limit-range
Specifies the threshold buffer group parameters
buffer-group-number is an integer identifying the
group (range 0-3)
discard-limit range is the maximum queue length
in bytes, beyond which the packet will be
tail-dropped
mark-limit range is the point in the queue (in
bytes), after which packets in the queue will have
the EFCI bit set.
Command Purpose
Switch(config-if) # service-policy output
policy-map-name
Attaches the output service policy to the interface
Switch(config-if) # service-policy input
policy-map-name
Attaches the input service policy to the interface