Cisco Cisco IOS Software Release 12.2(27)SBC

다운로드
페이지 50
 
      QoS: Percentage-Based Shaping
How to Configure QoS: Percentage-Based Shaping
5
Cisco IOS Release: Multiple releases (see the Feature History table)
DETAILED STEPS
Attaching the Policy Map to an Interface
After a policy map is created, the next step is to attach the policy map to an interface. Policy maps can 
be attached to either the input or output direction of the interface. 
Note
Depending on the needs of your network, you may need to attach the policy map to a subinterface, an 
ATM PVC, a Frame Relay DLCI, or other type of interface.
To attach the policy map to an interface, perform the following steps.
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode. 
Enter your password if prompted.
Step 2
configure
 terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
policy-map
 policy-name
Example:
Router(config)# policy-map policy1
Specifies the name of the policy map to be created. 
Enters policy-map configuration mode.
Enter policy map name.
Step 4
class 
{class-name 
|
 class-default}
Example:
Router(config-pmap)# class class1
Specifies the class so that you can configure or 
modify its policy. Enters policy-map class 
configuration mode.
Enter the class name or specify the default 
class (class-default).
Step 5
shape
 {average | peakpercent percentage 
[sustained-burst-in-msec ms] [be excess-burst-in-msec 
ms
] [bc committed-burst-in-msec ms]
Example:
Router(config-pmap-c)# shape average percent 25 20 ms 
be 300 ms bc 400 ms
Configures either average or peak rate traffic 
shaping on the basis of the specified bandwidth 
percentage and the optional burst sizes.
Enter the bandwidth percentage and optional 
burst sizes.
Step 6
exit
Example:
Router(config-pmap-c)# exit
Exits policy-map class configuration mode.