Step 1 |
enable
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Router# configure terminal
|
Enters global configuration mode.
|
Step 3 |
class-map {match-any |
match-all}
class-map-name
Router(config)# class-map match-any Blue_VRF
|
Creates a class map and enters class map configuration mode.
|
Step 4 |
match vlan
vlan-id-number
Router(config-cmap)# match vlan 101
|
Matches traffic on the basis of the range of VLAN identification numbers specified.
|
Step 5 |
exit
Router(config-cmap)# exit
|
Returns to global configuration mode.
|
Step 6 |
policy-map
policy-map-name
Router(config)# policy-map Shared_QoS
|
Creates a policy map that can be attached to an interface and enters policy-map configuration mode.
|
Step 7 |
class
class-map-name
Router(config-pmap)# class Blue_VRF
|
Specify the name of the class whose policy you want to create and enters policy-map class configuration mode.
|
Step 8 |
bandwidth
percent
percent
Router(config-pmap-c)# bandwidth percent 30
|
Specifies the bandwidth allocated for a class belonging to a policy map.
|
Step 9 |
exit
Router(config-pmap-c)# exit
|
Returns to policy-map configuration mode.
|
Step 10 |
exit
Router(config-pmap)# exit
|
Returns to global configuration mode.
|
Step 11 |
policy-map
policy-map-name
Router(config)# policy-map COS-OUT-SHAPED
|
Creates a policy map that can be attached to an interface and enters policy-map configuration mode.
|
Step 12 |
class
class-map-name
Router(config-pmap)# class FROM_WAN
|
Specify the name of the class whose policy you want to create and enters policy-map class configuration mode.
|
Step 13 |
shape {average |
peak}
cir
Router(config-pmap-c)# shape average 9000000000
|
Specifies the average rate traffic shaping.
|
Step 14 |
service-policy {input |
output}
policy-map-name
Router(config-pmap-c)# service-policy Shared_QoS
|
Specifies the name of the predefined policy map to be used as a QoS policy.
|
Step 15 |
exit
Router(config-pmap-c)# exit
|
Returns to policy-map configuration mode.
|
Step 16 |
exit
Router(config-pmap)# exit
|
Returns to global configuration mode.
|
Step 17 |
interface
type
number
[name-tag ]
Router(config)# interface FastEthernet 0/0.1
|
Configures an interface type and enters interface configuration mode.
|
Step 18 |
service-policy {input |
output}
policy-map-name
Router(config-if)# service-policy output COS-OUT-SHAPED
|
Attaches a policy map to an input interface, a virtual circuit (VC), an output interface, or a VC that will be used as the
service policy for the interface.
|
Step 19 |
end
|
(Optional) Exits interface configuration mode and returns to privileged EXEC mode.
|