Cisco Cisco IOS Software Release 12.2(27)SBC
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
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.
subinterface.
The second-dot1q keyword supports the IEEE 802.1 QinQ
VLAN Tag Termination feature to configure an inner
VLAN ID.
VLAN Tag Termination feature to configure an inner
VLAN ID.
•
outer-vlan-id—The outer VLAN identifier. The range
is from 1 to 4095.
is from 1 to 4095.
•
inner-vlan-id—The inner VLAN identifier. The range
is from 1 to 4095.
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.
previously configured policy map.
Note
You must specify the output keyword to apply the
service policy to outbound traffic on the
subinterface.
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.
all existing policy maps.
show policy-map session Policy maps in effect for subscriber sessions.
show policy-map
subinterface
subinterface
Statistics for policy maps enabled on a subinterface.