EasyManuals Logo

Cisco 3845 - Security Bundle Router Software Guide

Cisco 3845 - Security Bundle Router
956 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #536 background imageLoading...
Page #536 background image
27-48
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 27 Configuring QoS
Configuring QoS
Switch(config-pmap)# class classout3
Switch(config-pmap-c)# shape average 10000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy output out-policy
Switch(config-if)# exit
Configuring Port Shaping
Port shaping is applied to all traffic leaving an interface. It uses a policy map with only class default
when the maximum bandwidth for the port is specified by using the shape average command. A child
policy can be attached to the class-default in a hierarchical policy map format to specify class-based and
VLAN-based actions.
Beginning in privileged EXEC mode, follow these steps to use port shaping to configure the maximum
permitted average rate for a class of traffic:
After you create the policy map, attach it to an interface or an EFP. See the Attaching a Service Policy
to an Interface or EFP” section on page 27-56.
Use the no form of the appropriate command to delete an existing hierarchical policy map, to delete a
port shaping configuration, or to remove the policy map from the hierarchical policy map.
This example shows how to configure port shaping by configuring a hierarchical policy map that shapes
a port to 90 Mb/s, allocated according to the out-policy policy map configured in the previous example.
Switch(config)# policy-map out-policy-parent
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# shape average 90000000
Switch(config-pmap-c)# service-policy out-policy
Switch(config-pmap-c)# exit
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
policy-map policy-map-name Create a hierarchical policy map by entering the hierarchical
policy map name, and enter policy-map configuration mode for
the parent policy.
Step 3
class class-default Enter a policy-map class configuration mode for the default class.
Step 4
shape average {target bps | percent value} Specify the average class-based shaping rate.
For target bps, specify the average bit rate in bits per second.
The range is from 1000 to 10000000000 (10 Gigabits).
Enter percent value to set the percentage of interface
bandwidth for peak information rate. The range is 0 to 100
percent. The percentage is based on the port operational link
speed. Setting the percent to 0 disables shaping.
Step 5
service-policy policy-map-name Specify the child policy-map to be used in the hierarchical policy
map if required.
Step 6
end Return to privileged EXEC mode.
Step 7
show policy-map [policy-map-name [class
class-map-name]]
Verify your entries.
Step 8
copy running-config startup-config (Optional) Save your entries in the configuration file.

Table of Contents

Other manuals for Cisco 3845 - Security Bundle Router

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 3845 - Security Bundle Router and is the answer not in the manual?

Cisco 3845 - Security Bundle Router Specifications

General IconGeneral
BrandCisco
Model3845 - Security Bundle Router
CategorySwitch
LanguageEnglish

Related product manuals