Cisco Cisco IOS Software Release 12.2(27)SBC

Page de 17
QoS - Hierarchical Queuing for Ethernet DSLAMs
  Configuring QoS - Hierarchical Queuing for Ethernet DSLAMs
10
Cisco IOS Release 12.2(31)SB
Example 
Router> enable 
Router# configure terminal
Router(config-pmap-c)# policy-map subint_1
Router(config-pmap)# class class-default
Router(config-pmap-c)# shape average 10000000
Router(config-pmap-c)# exit 
Router(config-pmap)# exit 
Router(config)# interface g3/1/1.1
Router(config-subif)# encapsulation dot1q 1 second-dot1q 10
Router(config-subif)# service-policy output subint_1
Router(config-subif)# end 
Displaying Policy Map Information
 lists the show commands to display policy map information. 
Step 9
encapsulation dot1q
 outer-vlan-id 
[second-dot1q inner-vlan-id] 
Example:
Router(config-subif)# encapsulation dot1q 100
Enables IEEE 802.1Q encapsulation of traffic on the 
subinterface. 
The second-dot1q keyword supports the IEEE 802.1 QinQ 
VLAN Tag Termination feature to configure an inner 
VLAN ID.
outer-vlan-id—The outer VLAN identifier. The range 
is from 1 to 4095. 
inner-vlan-id—The inner VLAN identifier. The range 
is from 1 to 4095. 
Step 10
service-policy output
 policy-map-name
Example:
Router(config-subif)# service-policy output 
subint_1 
Attaches the service policy to the subinterface.
policy-map-name—Specifies the name of the 
previously configured policy map. 
Note
You must specify the output keyword to apply the 
service policy to outbound traffic on the 
subinterface. 
Command or Action
Purpose
Table 1
show policy-map Commands
Field
Displays
show policy-map
Configuration of all classes for a specified service policy or all classes for 
all existing policy maps. 
show policy-map session Policy maps in effect for subscriber sessions. 
show policy-map 
subinterface
Statistics for policy maps enabled on a subinterface.